Playing sound through Notifications/System instead of Media.

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Playing sound through Notifications/System instead of Media.

Post by Googie85 » Sat Jul 07, 2018 5:24 am

Hi Guys,

As the topic describes I am trying to play sounds through the notifications and system channels instead of Media.

Thanks for your help,

Googie.

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Playing sound through Notifications/System instead of Media.

Post by bogs » Sat Jul 07, 2018 2:03 pm

Heya Googie,

Not sure I understand exactly what your trying to accomplish. Do you mean you want to send a message that will trip an OS's mail notification sound, for instance? Or the error sound?
Image

Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Re: Playing sound through Notifications/System instead of Media.

Post by Googie85 » Sun Jul 08, 2018 12:57 am

I am trying to use text to speach on either Notifications or System channels...

Googie.


Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Re: Playing sound through Notifications/System instead of Media.

Post by Googie85 » Sun Jul 08, 2018 5:37 am

Thanks for your reply!! I understand the revspeak, I am just trying to use the notification or system sounds channels.

Many thanks,

Googie.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Playing sound through Notifications/System instead of Media.

Post by shaosean » Sun Jul 08, 2018 3:49 pm

Googie85 wrote:
Sun Jul 08, 2018 5:37 am
the notification or system sounds channels.
I think this is the part that is throwing everyone off.. What do you mean by this? Can you point out an example or something from another programming language that shows what you mean?

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Playing sound through Notifications/System instead of Media.

Post by bogs » Sun Jul 08, 2018 4:27 pm

I think this is what Googie is talking about. Link is Windows specific, but pretty much all OSes share a similar kind of setup.
Selection_004.png
System sounds...
The problem is, those are set to queue specific sounds in relation to an event, such as receiving mail, it isn't going to work with text to speech as it looks in a specific location for the sound event that is paired to play. Worse yet (if your looking to play a particular sound), it is highly dependent on the users setup as to which sound is going to come out.

Of course, it is quite possible I am just not getting what they are asking either :|
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7214
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Playing sound through Notifications/System instead of Media.

Post by jacque » Sun Jul 08, 2018 5:31 pm

We do need more clarification. My guess is that he wants the app to announce something using system-wide sound channels. I don't think we can do that in Android unless the user has turned on a system setting that speaks everything on screen.

But a usage example would help a lot. There may be other ways to achieve the goal.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Android Deployment”