Pan Left and Right Audio Revisited

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
xfratboy
Posts: 97
Joined: Fri Mar 05, 2010 9:09 pm

Pan Left and Right Audio Revisited

Post by xfratboy »

I'm wondering if there are any nice and easy ways to gain more control over the output of an audio file? I'm trying to write a little app that will allow for panning audio to the left or right, similar to something like Audacity but way more basic and simple.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Pan Left and Right Audio Revisited

Post by richmond62 »

That presupposes your audio file has 2 channels (left and right), or you are able to play
2 sound files simultaneously.

As far as I understand, Livecode cannot play 2 sound files simultaneously.

And, I don't think LiveCode can access different channels saved in a sound file.
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Pan Left and Right Audio Revisited

Post by Klaus »

Hi xfratboy,

since 9.01 we have a new property of players -> audiopan
But this is currently macOS only.


Best

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

Re: Pan Left and Right Audio Revisited

Post by jacque »

We have sound channels on mobile too but that probably doesn't help here.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
xfratboy
Posts: 97
Joined: Fri Mar 05, 2010 9:09 pm

Re: Pan Left and Right Audio Revisited

Post by xfratboy »

Thanks for the feedback. I didn't know there was a pan feature available for MAC now. Thats great! So.....on PC/Windows builds, is there a way to do it using a browser object and Javascript? If so, maybe a basic example or code recommendation/guide? I read somewhere that java could manipulate the audio channels. I'm guessing to run java I'd need to do that from within a browser? I'm probably making no sense.
Post Reply