Volume in music

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jorgecaballero
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 32
Joined: Mon Nov 26, 2012 6:07 pm

Volume in music

Post by jorgecaballero » Sat Jun 07, 2014 3:03 pm

Volume in music

In my APP use different music on each card with the following code:

put specialfolderpath("engine") & "/music1.mp3" into tSound
play tSound looping

I want to manipulate the overall volume of the entire application, the user changes the volume for the whole stack.
They can also mute the entire application.

Any way to do this?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Volume in music

Post by jacque » Sat Jun 07, 2014 8:40 pm

See the playLoudness property in the dictionary.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply