[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 561: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 617: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
Forum • Demo for Swarm Panning
Page 1 of 1

Demo for Swarm Panning

Posted: Tue Feb 06, 2018 4:39 pm
by forum
The Swarm can't pan.

But, panning is basically implemented by taking the pan direction (0 meaning left, pi/2 meaning right) and multiplying the volume of a mono signal * cos( pan ) to give the volume for the left channel and * sin( pan ) to give the volume for the right channel.

If you have TWO Swarms, configured identically, one panned full left and one panned full right... making the same output... then the sound will "sound" mono and centered. But if you have the volume of the sidebands simply depend on cos() and sin()... you can have individual waves "sound" like they're in the left channel, right channel, or anywhere in between.

Such panning can't be dynamic. You couldn't do it on an LFO for instance. However you can get the exact effect of having individual waves panned around if you want. It will only take twice the CPU.

This needs a demo.