I have made a little patch to do panning, but it is a linear pan which leaves a great big hole between the two speakers. I remember a few years back at IRCAM a demo of using a table with a handdrawn sort of logarithmic? curve to get a nice pan (in Max), but I am feeling a little clueless and helpless right now, and any help is appreciated. Below is a list of the things I have tried so far.
Searching the pure-data.org site comes up with nothing. I cannot find a LADSPA plugin either.
I have tried the pan~ in johannes zmolnig's "HOWTO write an External" http://iem.kug.ac.at/pd/externals-HOWTO/node6.html but it mixes two input's to one output, and seems to be linear also. I want one in to two outs.
vbap in the externals collection from sourceforge isn't compiling for me
on debian unstable linux :
I keep getting errors like this:
1: warnings being treated as errors
vbap.c: In function vbap': vbap.c:137: warning:
winner_set' might be used uninitialized in this
function
If I initialise these variables to zero, I keep getting more uninitailised variable errors, once I have initialised them all
Error 2 in define_loudpeakers.c with no line number... nothing.
I tried removing some of the warning flags in the makefile, but this is a bit above my head.
the precompiled vbap.pd_linux is loaded by pd but there is no precompiled define_loudspeakers.pd_linux so I can not use the object.
<rant> couldn't somebody put pan or spacialize or something with the vbap name somewhere. I mean there is not even a readme saying what vbap does</rant>
I have also tried audience~ but I don't need a gui and the install script from the makefile doesn't put the images speaker.gif and wander.gif in a place where the audience~ object can find them. I have tried moving the images around from pd/externs/audience~/ to pd/externs to pd/bin but I always get couldn't open "speaker.gif": no such file or directory
Thanks for any pointers,
Take a look at pan~ and pansig~ in motex.
At 06:30 PM 02/03/2003 -0500, Marco Scoffier wrote:
I have tried the pan~ in johannes zmolnig's "HOWTO write an External" http://iem.kug.ac.at/pd/externals-HOWTO/node6.html but it mixes two input's to one output, and seems to be linear also. I want one in to two outs.
. . David McCallum . Music wants to be free . http://mentalfloss.ca/sintheta/ .
It was discussed earlier: http://iem.kug.ac.at/mailinglists/pd-list/2003-January/001902.html -- Marc
Le dim 02/03/2003 à 18:30, Marco Scoffier a écrit :
I have made a little patch to do panning, but it is a linear pan which leaves a great big hole between the two speakers. I remember a few years back at IRCAM a demo of using a table with a handdrawn sort of logarithmic? curve to get a nice pan (in Max), but I am feeling a little clueless and helpless right now, and any help is appreciated. Below is a list of the things I have tried so far.
Searching the pure-data.org site comes up with nothing. I cannot find a LADSPA plugin either.
I have tried the pan~ in johannes zmolnig's "HOWTO write an External" http://iem.kug.ac.at/pd/externals-HOWTO/node6.html but it mixes two input's to one output, and seems to be linear also. I want one in to two outs.
vbap in the externals collection from sourceforge isn't compiling for me on debian unstable linux : I keep getting errors like this: 1: warnings being treated as errors vbap.c: In function
vbap': vbap.c:137: warning:
winner_set' might be used uninitialized in this functionIf I initialise these variables to zero, I keep getting more uninitailised variable errors, once I have initialised them all
Error 2 in define_loudpeakers.c with no line number... nothing.
I tried removing some of the warning flags in the makefile, but this is a bit above my head.
the precompiled vbap.pd_linux is loaded by pd but there is no precompiled define_loudspeakers.pd_linux so I can not use the object.
<rant> couldn't somebody put pan or spacialize or something with the vbap name somewhere. I mean there is not even a readme saying what vbap does</rant>
I have also tried audience~ but I don't need a gui and the install script from the makefile doesn't put the images speaker.gif and wander.gif in a place where the audience~ object can find them. I have tried moving the images around from pd/externs/audience~/ to pd/externs to pd/bin but I always get couldn't open "speaker.gif": no such file or directory
Thanks for any pointers,
--Marco
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
On Sun, Mar 02, 2003 at 07:03:25PM -0500, Marc Lavall?e wrote:
It was discussed earlier: http://iem.kug.ac.at/mailinglists/pd-list/2003-January/001902.html
Crossfade, that's the word I should search on
Thanks,
--Marco
Thanks to everyone who replied.
I modified the code to pan~ from the motex externals to implement the algorithm by Michael Gogins found here: http://www.csounds.com/ezine/autumn1999/beginners/ (thanks steven)
It makes a powerful wrap around your head kind of pan which is just what I was looking for :)
I only changed two lines in the source code but if you want to play around with it I put the code up here: http://metm.org/pd/pan_gogins~.tgz
Thanks again,
--Marco
Hallo, Marco Scoffier hat gesagt: // Marco Scoffier wrote:
I only changed two lines in the source code but if you want to play around with it I put the code up here: http://metm.org/pd/pan_gogins~.tgz
Sounds cool, even slightly better than the sqrt version I'm often using as a graph-on-parent abstraction (as attached).
But your code seems to have a small bug: if the degree is turned fully left or right (-45 or 45), I can hear both sides then.
Frank Barknecht _ ______footils.org__
On Mon, Mar 03, 2003 at 11:32:41PM +0100, Frank Barknecht wrote:
Hallo, Marco Scoffier hat gesagt: // Marco Scoffier wrote:
I only changed two lines in the source code but if you want to play around with it I put the code up here: http://metm.org/pd/pan_gogins~.tgz
Sounds cool, even slightly better than the sqrt version I'm often using as a graph-on-parent abstraction (as attached).
But your code seems to have a small bug: if the degree is turned fully left or right (-45 or 45), I can hear both sides then.
I think that there is always some sound out of both speakers. It is a feature ! If you look at the graph at: http://www.csounds.com/ezine/autumn1999/beginners/ under the section advanced panning, you see the little red and blue lines don't go to zero (or -1 in the case of the graph).
I could try to modify it to go further than -45 to 45, but I am not sure
this would work. I am certainly not an expert at these things.
Just collected a bunch of cool tips.
--Marco
Hallo, Marco Scoffier hat gesagt: // Marco Scoffier wrote:
I think that there is always some sound out of both speakers. It is a feature ! If you look at the graph at: http://www.csounds.com/ezine/autumn1999/beginners/ under the section advanced panning, you see the little red and blue lines don't go to zero (or -1 in the case of the graph).
Yes, you're right, I'm wrong ;)
Frank Barknecht _ ______footils.org__