dpotop
Posts: 55
Joined: Mon Nov 24, 2014 2:14 pm

Sonic Pi : balance between left and right to create a rotating impression

Wed Feb 07, 2018 1:18 pm

Hello,

I'd like to create the impression of sound source rotating around me. To do this, I need to control how the sound is transmitted to the left and right channels of my amplifier. I do not want to do this globally by controlling the output volume, because I want just one buffer to do this. How can I do it ?

Best,
Dumitru
dpotop

scotty101
Posts: 3226
Joined: Fri Jun 08, 2012 6:03 pm

Re: Sonic Pi : balance between left and right to create a rotating impression

Wed Feb 07, 2018 1:42 pm

The following link suggests the 'pan' keyword can be use to change the left right balance.

https://gist.github.com/jwinder/e59be201082cca694df9

Interesting that I couldn't find an online document listing the sonic pi syntax.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter


Return to “Other programming languages”