Playing Sound question

William Prothero prothero at earthednet.org
Thu Sep 15 20:30:23 EDT 2016


I made a test stack with 3 players. BUT, I can’t find a property to set the volume level of the players. Is there a way to set the play volume?
Bill


> On Sep 15, 2016, at 5:11 PM, William Prothero <prothero at earthednet.org> wrote:
> 
> Folks:
> I have an app that I am building for mobile. In previous versions of LC, I used the 
> mobilePlaySoundOnChannel
> command and its associated control commands. I play an mp3 file.
> This no longer works on LC8.1 (at least on the simulator) in the latest iOS version.
> 
> I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I’ve created 3 players and each plays one of the sounds. 
> 
> So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it’s very confusing which ones apply to the new avFoundation player.
> 
> Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don’t work in the simulator?
> 
> Best,
> Bill
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> prothero at earthednet.org
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list