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 » Thu Nov 29, 2018 10:09 pm

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: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Pan Left and Right Audio Revisited

Post by richmond62 » Fri Nov 30, 2018 8:53 am

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: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Pan Left and Right Audio Revisited

Post by Klaus » Fri Nov 30, 2018 11:07 am

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: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Pan Left and Right Audio Revisited

Post by jacque » Fri Nov 30, 2018 5:57 pm

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 » Tue Dec 04, 2018 4:28 pm

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

Return to “Getting Started with LiveCode - Complete Beginners”