Page 1 of 1
Pan Left and Right Audio Revisited
Posted: Thu Nov 29, 2018 10:09 pm
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.
Re: Pan Left and Right Audio Revisited
Posted: Fri Nov 30, 2018 8:53 am
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.
Re: Pan Left and Right Audio Revisited
Posted: Fri Nov 30, 2018 11:07 am
by Klaus
Hi xfratboy,
since 9.01 we have a new property of players -> audiopan
But this is currently macOS only.
Best
Klaus
Re: Pan Left and Right Audio Revisited
Posted: Fri Nov 30, 2018 5:57 pm
by jacque
We have sound channels on mobile too but that probably doesn't help here.
Re: Pan Left and Right Audio Revisited
Posted: Tue Dec 04, 2018 4:28 pm
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.