# Sounds and Alerts

**URL:** <https://forum.sambapos.com/t/sounds-and-alerts/5595>\
**Category:** V4 Request\
**Created:** [May 27, 2015, 3:30pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595 "2015-05-27T15:30:01Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![melroyg](https://forum.sambapos.com/user_avatar/forum.sambapos.com/melroyg/32/8782_2.png) [@melroyg](https://forum.sambapos.com/u/melroyg)\
**Post date:** [May 27, 2015, 3:30pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/1 "2015-05-27T15:30:01Z")

</div>

Hi guys, can someone please write a tutorial on how to get sound prompts for new orders and updated orders on every terminal and a second option to specific terminals.

This could be used across different business environments, but will most likely be of benefit to restaurants and bars.

Thank you

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 3:47pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/2 "2015-05-27T15:47:22Z")

</div>

Hmm interesting idea. I would think it may be possible using Start Process and a midi file of some kind…

However a better solution would be a buzzer linked to a kitchen printer and a tutorial was already written for this here:

> [@\[OFF TOPIC\] Buzzer or Bell for printer](http://forum.sambapos.com/t/off-topic-buzzer-or-bell-for-printer/1752/2):
>
> I think you can find something like this. [http://www.eposperipherals.co.uk/melody-box-bixolon-rmb100/](http://www.eposperipherals.co.uk/melody-box-bixolon-rmb100/) More suggestions will come but for fun I’m copying @spanky’s nice DIY project from V2 forums here. [http://forum2.sambapos.org/index.php/topic,748.msg3904.html](http://forum2.sambapos.org/index.php/topic,748.msg3904.html) This guide will explain how to create a simple buzzer with little money. First of all, buy a buzzer for intercom, available at any electronics store. The model and the voltage does not matter, in my case I used one of Ulmet the cost…

---

<div class="post-metadata">

**Author:** ![melroyg](https://forum.sambapos.com/user_avatar/forum.sambapos.com/melroyg/32/8782_2.png) [@melroyg](https://forum.sambapos.com/u/melroyg)\
**Post date:** [May 27, 2015, 3:53pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/3 "2015-05-27T15:53:51Z")

</div>

Hi kendash, we don’t utilize a physical printer in our kitchen, only the kitchen display.

How about using the computers internal buzzer?

There also might be a way to start a generic windows notification sound, this way no matter which version of windows you’re running, sambapos simply uses the set system notification sound.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 3:56pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/4 "2015-05-27T15:56:09Z")

</div>

Right now I think Start Process and some sort of batch file to play a sound file and then close would be best. There are not currently ways to access the internal pc speaker. Nor can the software access the notification sound. But Start process can execute batch files that can do just about anything you need.

---

<div class="post-metadata">

**Author:** ![melroyg](https://forum.sambapos.com/user_avatar/forum.sambapos.com/melroyg/32/8782_2.png) [@melroyg](https://forum.sambapos.com/u/melroyg)\
**Post date:** [May 27, 2015, 3:59pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/5 "2015-05-27T15:59:08Z")

</div>

So the question is, how do we utilize system sounds across all windows versions. Once we know this, we can setup the process.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 3:59pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/6 "2015-05-27T15:59:43Z")

</div>

Yep just need to write a .bat file to play specific system sound. SambaPOS can execute that .bat file with Start Process action.

PS: here is location for sounds - `c:\windows\media\`

So the bat file should use a program of choice to play the specific file of choice. You could use mediaplayer.

---

<div class="post-metadata">

**Author:** ![melroyg](https://forum.sambapos.com/user_avatar/forum.sambapos.com/melroyg/32/8782_2.png) [@melroyg](https://forum.sambapos.com/u/melroyg)\
**Post date:** [May 27, 2015, 4:11pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/7 "2015-05-27T16:11:42Z")

</div>

The problem is, windows media for sounds is in different locations, depending on the version of windows the user is using.

How about this:  
[http://blogs.msdn.com/b/csharpfaq/archive/2006/03/27/562557.aspx](http://blogs.msdn.com/b/csharpfaq/archive/2006/03/27/562557.aspx)

This is what we could use. It’s generic, as it doesn’t rely on a specific file or file location. It just uses what ever the system sounds are. So if the user has their pc setup with a specific theme and sound theme, it will play the notification from that theme.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 4:13pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/8 "2015-05-27T16:13:39Z")

</div>

In v5 this would be possible. V4 does not support the same scripting ability. V4 we must use start process for something like this.

---

<div class="post-metadata">

**Author:** ![melroyg](https://forum.sambapos.com/user_avatar/forum.sambapos.com/melroyg/32/8782_2.png) [@melroyg](https://forum.sambapos.com/u/melroyg)\
**Post date:** [May 27, 2015, 4:17pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/9 "2015-05-27T16:17:15Z")

</div>

It might have to go on to the wish list for V5 as a standard option / feature. 🙂

Maybe when new ticket is submitted / edited, all terminals play the system motivation sound automatically.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 4:18pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/10 "2015-05-27T16:18:49Z")

</div>

By design standard options are usually avoided and what we are given is flexibility to design our own system for our specific need. I am not saying the ability would be skipped but the use of Standard Option might be interpreted differently. What makes SambaPOS so attractive and unique is actually the Lack of Standard Options making it much more powerful than the typical POS that only gives you standard options.

For example I do not want sounds played with orders. It would mean nothing to my kitchen flow as we receive orders so fast it would be pointless.

I am not saying your idea is bad… its a great idea and many would use it. I just wanted to clarify something about SambaPOS that many people may not understand.

The power of SambaPOS and what makes it so much better than the other POS systems is not the free price imo… its the design. The design is unique it lets you customize it for your specific business need. So many of the Standard Features that most POS come with are available but you must configure it. What is left is the ability to configure it to do whatever you need even sometimes oddball setups that make no sense… you can do those with SambaPOS.

V5 when released will have a feature called Configuration Tasks. It will be an online repository of configurations that you can simply press a button and it will walk you through a configuration for your system and put a custom version of that configuration on your system. You will not need to know how to setup rules etc it will do it for you. Let me demonstrate.

## Lets say I want to setup Fast Payment Buttons but I am confused of how to setup actions and rules etc…V5 will have a configuration task for that.

 ![](https://forum.sambapos.com/uploads/default/original/3X/4/4/44770f8ed4036c6e6551488089eeab13537712a5.png) 

## You would click on the task of choice and it will prompt you for specific information it might need to set it up. This example It asked for payment type for the Fast Payment Button.

 ![](https://forum.sambapos.com/uploads/default/original/3X/0/a/0a177aa640d6b8cefb760beb4571691e9f82ad69.png) 

If you run the task again and choose same payment type it will ask if you want to remove it. Clicking Yes will remove all actions and rules etc.

 ![](https://forum.sambapos.com/uploads/default/original/3X/0/c/0c5bbcf563691a57924a2d44d161b08ce6d2ece9.png) 

More comming…

---

<div class="post-metadata">

**Author:** ![melroyg](https://forum.sambapos.com/user_avatar/forum.sambapos.com/melroyg/32/8782_2.png) [@melroyg](https://forum.sambapos.com/u/melroyg)\
**Post date:** [May 27, 2015, 4:27pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/11 "2015-05-27T16:27:02Z")

</div>

I agree with samba’s dynamic flexibility, but an easy option to set these features up would be very valuable.

In our kitchen if you’re not paying attention to the screen, it’s very easy to miss updates to orders or new orders. The environment is fast paced and it would be reassuring to know that the pc can provide an audio warning to get our attention to new or updated orders, which in turn will help us be better organized.

But yes, I do agree with you about samba being the way it is.

\*\*Update. Sorry kendash I was typing at the same time you were. Really like that feature. Exactly what we need for new users like myself.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 4:30pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/12 "2015-05-27T16:30:08Z")

</div>

The example of Configuration Tasks I gave you above is a simple one. We can in fact create these for just about anything. For example I made one that automates the design of Ticket Templates. It uses prompts to design a template without ever needing to manually edit the template.

I am working on one that will install a time clock into your system without you ever needing to know how to edit rules or actions. So I hope you can see how powerful this tool will be. It will be the answer for the many people wanting easy setup options for the various tutorials expecially the more advanced ones.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 4:32pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/13 "2015-05-27T16:32:47Z")

</div>

> [@melroyg](#):
>
> I agree with samba’s dynamic flexibility, but an easy option to set these features up would be very valuable.

My point is @emre recognized your need as your not the only one that has requested these sort of things. However he wanted to preserve the configuration ability of the POS. So Configuration Tasks was a great step towards this. Obviously it wont be the only one.

Anytime we start hard coding features simply for the sake of ease of use… we lose configuration ability… But I am pretty sure he is on to the right path with Configuration tasks and various other methods he is currently working on.

Another great feature of the Configuration Tasks when v5 releases will be the fact that users can create and or edit them as well. Users can deposit their own Tasks into a repository and share them.

---

<div class="post-metadata">

**Author:** ![melroyg](https://forum.sambapos.com/user_avatar/forum.sambapos.com/melroyg/32/8782_2.png) [@melroyg](https://forum.sambapos.com/u/melroyg)\
**Post date:** [May 27, 2015, 4:44pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/14 "2015-05-27T16:44:37Z")

</div>

I really hope there is one of those “easy setup” options for GST tax. That took me over a week to learn and setup on my system.

It would also be great if a brand new install came with a more detailed and whole package. Example: During the installation process a dilogue box could ask the user “are you installing a main server terminal or secondary remote client”. If the user selected server terminal, the installation would do all the setup of database and provide a text file with the server and database details. If the user selected client, the instalation software would automatically search / probe the network for the samba server and connect to it automatically and self configure it’s self.

Imagine how easy this would be for any new device to connect to the server. Just download samba and let it work it’s magic and find and connect to the server automatically.

I apologize in advance. I know this is completely off topic, but a really cool idea.

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [May 27, 2015, 4:55pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/15 "2015-05-27T16:55:09Z")

</div>

> [@melroyg](#):
>
> It would also be great if a brand new install came with a more detailed and whole package. Example: During the installation process a dilogue box could ask the user “are you installing a main server terminal or secondary remote client”. If the user selected server terminal, the installation would do all the setup of database and provide a text file with the server and database details. If the user selected client, the instalation software would automatically search / probe the network for the samba server and connect to it automatically and self configure it’s self.

I like that idea, personally I was surprised there wasn’t a tick box for add to startup menu, know its easy to do manually but that could be a nice little addition to the installer.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 27, 2015, 5:49pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/16 "2015-05-27T17:49:40Z")

</div>

> [@melroyg](#):
>
> I really hope there is one of those “easy setup” options for GST tax. That took me over a week to learn and setup on my system.

The amount of configuration tasks available will really depend on how many people in the community contribute + how many are provided from developers. Obviously the more contribution from community the faster and larger it will grow.

> [@melroyg](#):
>
> I really hope there is one of those “easy setup” options for GST tax. That took me over a week to learn and setup on my system.

I promise after that week you were a lot more familiar with the system and that will save costs and headache later down road if you can troubleshoot your own system vs paying a professional.

* * *

I like the idea of the more detailed setup options obviously the easier it is to use the better. I just would hope ease of use does not limit configuration flexibility. Setting up a MS SQL Database can be very technical and many people want control over that.

**PS: This has been discussed before here:**

> [@Improve SambaPOS installation for multi computer environments](http://forum.sambapos.com/t/improve-sambapos-installation-for-multi-computer-environments/3574):
>
> @emre, I think we can improve SambaPOS installation and help new people setup SambaPOS on multi computer environments much faster. Network Installation. Server Computer: Install SambaPOS with MS SQL Express 2014 as one product. Installation should configure MS SQL Express 2014 with DB name, User Name and Password. Installation should create a shared folder from where client computers can install SambaPOS. Client Computers: Open server shared folder \SERVER\Client Install Client Installa…

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [May 28, 2015, 1:16pm UTC](https://forum.sambapos.com/t/sounds-and-alerts/5595/17 "2015-05-28T13:16:43Z")

</div>

Put this in a BAT file named **beep.bat**

```auto
powershell -c echo `a
exit

```

Use Start Process Action to fire the BAT file:

![](https://forum.sambapos.com/uploads/default/original/3X/a/a/aa99d2a0248ab3fca397f9bb15dfdd0437a3db71.png)

* * *

Other ways to play sound using BAT files:

> <https://superuser.com/questions/101974/play-a-sound-maybe-wav-from-windows-line-command>
