Hi,
I'm trying to build a virtual mixer in pd for telematic music. Telematic music is a genre of music where the musicians collaborate live but are situated in different locations (cities), over the internet.
My mixer should be able to take in remote channels coming in through Jack and route to the local sound system and also, through some interface be able to take in local inputs and send out via Jack to the remote system.
The questions I have are:
set of faders to control either signals going to and coming from Jack or going to and coming from my local interface? if so, how do I achieve this? 2. If I need to be able to route sound over the internet via Jack and to and from my local system via an interface, how do I make pd use both Jack and the local interface (for example the coremidi on a mac) at the same time? This sort of ties in with the first question.
My time to do all of this is really short and I am very new to pd. Any help with this would really, really be appreciated!
Thanks, Rishabh
Hi
In answer to question 1, and if I'm understanding correctly, yes you can have more than one adc~ in the patch or specify the input channels in a particular adc~. eg an object with "adc~ 1 2 3 4 5 6 7" will receive 7 input channels numbered 1-7. These can receive their signals via jack routing.
In regard to switching between inputs, you might consider polygate~ from motex in pd-extended. This allows you to cross-fade between up to 10 inputs. You can set a cross-fade time in milliseconds and choose between linear or equal-power fading. If you need to switch between more than 10 inputs, just use more polygate~ objects - and you'll need two at least anyway for a stereo mix.
cheers,
Iain
On Sat, 2012-04-07 at 13:57 -0400, Rishabh Natarajan wrote:
Hi,
I'm trying to build a virtual mixer in pd for telematic music. Telematic music is a genre of music where the musicians collaborate live but are situated in different locations (cities), over the internet.
My mixer should be able to take in remote channels coming in through Jack and route to the local sound system and also, through some interface be able to take in local inputs and send out via Jack to the remote system.
The questions I have are:
- can I have 2 adc~ objects in one patch? So that I can switch the
same set of faders to control either signals going to and coming from Jack or going to and coming from my local interface? if so, how do I achieve this? 2. If I need to be able to route sound over the internet via Jack and to and from my local system via an interface, how do I make pd use both Jack and the local interface (for example the coremidi on a mac) at the same time? This sort of ties in with the first question.
My time to do all of this is really short and I am very new to pd. Any help with this would really, really be appreciated!
Thanks, Rishabh _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Iain,
I just read a little while back that you can indeed use multiple adcs~ in one patch, but no where is it explained for my particular case. I don't want multiple adcs~ to route some channels here and some other channels some where else. I need to be able to switch between 2 interfaces within the same patch, so that I can use the same set of sliders to mix sound, separately, either coming in from the internet via Jacktrip or locally via my local interface.
What I would then do is, the output of the adc~ receiving audio channels from Jacktrip over the internet will be routed to the dac~ to the local sound, while the adc~ receiving audio channels from my local setup, should be routed to some dac~ that will send the audio over Jacktrip to the remote location.
I'm not quite sure what you mean by crossfade. I just want to switch the sliders in my patch to either control sound coming via jacktrip or to control sound coming via my local interface, i.e. sound coming in from the internet or sound coming in from local musicians.It has nothing to do with timing between signals, just a switch between the incoming sets of audio. The idea is to use the same set of 8 sliders to manage 8 channels either coming in from Jacktrip or coming in from the local interface. I think the term 'fader' is misleading; when I say fader I mean the sliders that one finds on a mixer. I hope that makes my problem a little more clear :)
Regards, Rishabh
On Sat, Apr 7, 2012 at 4:24 PM, Iain Mott mott@reverberant.com wrote:
Hi
In answer to question 1, and if I'm understanding correctly, yes you can have more than one adc~ in the patch or specify the input channels in a particular adc~. eg an object with "adc~ 1 2 3 4 5 6 7" will receive 7 input channels numbered 1-7. These can receive their signals via jack routing.
In regard to switching between inputs, you might consider polygate~ from motex in pd-extended. This allows you to cross-fade between up to 10 inputs. You can set a cross-fade time in milliseconds and choose between linear or equal-power fading. If you need to switch between more than 10 inputs, just use more polygate~ objects - and you'll need two at least anyway for a stereo mix.
cheers,
Iain
On Sat, 2012-04-07 at 13:57 -0400, Rishabh Natarajan wrote:
Hi,
I'm trying to build a virtual mixer in pd for telematic music. Telematic music is a genre of music where the musicians collaborate live but are situated in different locations (cities), over the internet.
My mixer should be able to take in remote channels coming in through Jack and route to the local sound system and also, through some interface be able to take in local inputs and send out via Jack to the remote system.
The questions I have are:
- can I have 2 adc~ objects in one patch? So that I can switch the
same set of faders to control either signals going to and coming from Jack or going to and coming from my local interface? if so, how do I achieve this? 2. If I need to be able to route sound over the internet via Jack and to and from my local system via an interface, how do I make pd use both Jack and the local interface (for example the coremidi on a mac) at the same time? This sort of ties in with the first question.
My time to do all of this is really short and I am very new to pd. Any help with this would really, really be appreciated!
Thanks, Rishabh _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
On 08/04/12 04:43, Rishabh Natarajan wrote:
What I would then do is, the output of the adc~ receiving audio channels from Jacktrip over the internet will be routed to the dac~ to the local sound, while the adc~ receiving audio channels from my local setup, should be routed to some dac~ that will send the audio over Jacktrip to the remote location.
rather than try to use 2 different audio interfaces in pd you should be putting both the local hardware and the internet connections into jack, so that they are then patched (within jack) to different jack inputs to pd, then use 2 adc~ corresponding to the different channel numbers of the two interfaces.
Simon
Hi Rishabh,
If you switch between two input signals without some kind of cross-fade (fading one signal out while the other is faded in) you will most likely experience an audible click.
To mix between two groups of 8 inputs you can use 8 polygate~ objects with the arguments of each one set for example as "2 100". The 2 is the number of input channels and the 100 is the cross-fade time in msec. You can adjust the value to a much longer time if you wish. Best leave polygate~ at its default "equal power" setting (see the help file) as this offers a more even loudness (perceived amplitude) during the fade (switch), assuming the 2 inputs are of roughly equal amplitude.
I've attached an example patch - and will paste contents below.
Don't forget you'll need to launch Pd with the command line argument "-channels 16" in order to patch with jack.
Cheers and good luck
iain
#N canvas 332 91 1212 660 10; #X obj 187 -14 adc~ 1 2 3 4 5 6 7 8; #X obj 388 -15 adc~ 9 10 11 12 13 14 15 16; #X obj 257 107 polygate~ 2 100; #X obj 281 133 polygate~ 2 100; #X obj 305 159 polygate~ 2 100; #X obj 332 185 polygate~ 2 100; #X obj 350 217 polygate~ 2 100; #X obj 377 243 polygate~ 2 100; #X obj 401 269 polygate~ 2 100; #X obj 428 295 polygate~ 2 100; #X obj 269 327 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 3800 1; #X obj 199 481 r~ fader1; #X obj 192 129 s~ fader1; #X obj 202 161 s~ fader2; #X obj 224 192 s~ fader3; #X obj 235 216 s~ fader4; #X obj 277 241 s~ fader5; #X obj 297 270 s~ fader6; #X obj 337 297 s~ fader7; #X obj 399 328 s~ fader8; #X msg -121 29 ftime-epower $1; #X msg 56 27 choice $1; #X floatatom -121 5 5 0 0 0 - - -; #X text -167 -15 set cross-fade time (msec); #X text 34 -23 choose location; #N canvas 72 366 600 400 tone2 0; #X obj 235 235 outlet~; #X obj 276 197 *~ 0.2; #X obj 228 157 osc~ 600; #X connect 1 0 0 0; #X connect 2 0 1 0; #X restore 357 -56 pd tone2; #N canvas 1 66 600 400 tone1 0; #X obj 131 240 outlet~; #X obj 124 162 osc~ 500; #X obj 172 202 *~ 0.2; #X connect 1 0 2 0; #X connect 2 0 0 0; #X restore 295 -57 pd tone1; #X msg 37 2 1; #X msg 75 3 2; #X text 207 -36 location 1; #X text 431 -36 location 2; #X obj 547 596 dac~ 1 2; #X obj 255 508 *~; #X obj 269 487 line~; #X msg 269 464 $1 100; #X obj 379 328 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 365 509 *~; #X obj 379 488 line~; #X msg 379 465 $1 100; #X obj 496 330 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 482 511 *~; #X obj 496 490 line~; #X msg 496 467 $1 100; #X obj 606 331 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 592 512 *~; #X obj 606 491 line~; #X msg 606 468 $1 100; #X obj 727 334 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 713 515 *~; #X obj 727 494 line~; #X msg 727 471 $1 100; #X obj 837 335 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 823 516 *~; #X obj 837 495 line~; #X msg 837 472 $1 100; #X obj 954 337 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 940 518 *~; #X obj 954 497 line~; #X msg 954 474 $1 100; #X obj 1064 338 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 1050 519 *~; #X obj 1064 498 line~; #X msg 1064 475 $1 100; #X obj 310 483 r~ fader2; #X obj 426 484 r~ fader3; #X obj 536 485 r~ fader4; #X obj 657 488 r~ fader5; #X obj 767 489 r~ fader6; #X obj 885 491 r~ fader7; #X obj 994 492 r~ fader8; #X text 284 -76 you can use these to test; #X connect 0 0 2 0; #X connect 0 1 3 0; #X connect 0 2 4 0; #X connect 0 3 5 0; #X connect 0 4 6 0; #X connect 0 5 7 0; #X connect 0 6 8 0; #X connect 0 7 9 0; #X connect 1 0 2 1; #X connect 1 1 3 1; #X connect 1 2 4 1; #X connect 1 3 5 1; #X connect 1 4 6 1; #X connect 1 5 7 1; #X connect 1 6 8 1; #X connect 1 7 9 1; #X connect 2 0 12 0; #X connect 3 0 13 0; #X connect 4 0 14 0; #X connect 5 0 15 0; #X connect 6 0 16 0; #X connect 7 0 17 0; #X connect 8 0 18 0; #X connect 9 0 19 0; #X connect 10 0 34 0; #X connect 11 0 32 0; #X connect 20 0 2 0; #X connect 20 0 3 0; #X connect 20 0 4 0; #X connect 20 0 5 0; #X connect 20 0 6 0; #X connect 20 0 7 0; #X connect 20 0 8 0; #X connect 20 0 9 0; #X connect 21 0 2 0; #X connect 21 0 3 0; #X connect 21 0 4 0; #X connect 21 0 5 0; #X connect 21 0 6 0; #X connect 21 0 7 0; #X connect 21 0 8 0; #X connect 21 0 9 0; #X connect 22 0 20 0; #X connect 27 0 21 0; #X connect 28 0 21 0; #X connect 32 0 31 0; #X connect 32 0 31 1; #X connect 33 0 32 1; #X connect 34 0 33 0; #X connect 35 0 38 0; #X connect 36 0 31 0; #X connect 36 0 31 1; #X connect 37 0 36 1; #X connect 38 0 37 0; #X connect 39 0 42 0; #X connect 40 0 31 0; #X connect 40 0 31 1; #X connect 41 0 40 1; #X connect 42 0 41 0; #X connect 43 0 46 0; #X connect 44 0 31 0; #X connect 44 0 31 1; #X connect 45 0 44 1; #X connect 46 0 45 0; #X connect 47 0 50 0; #X connect 48 0 31 0; #X connect 48 0 31 1; #X connect 49 0 48 1; #X connect 50 0 49 0; #X connect 51 0 54 0; #X connect 52 0 31 0; #X connect 52 0 31 1; #X connect 53 0 52 1; #X connect 54 0 53 0; #X connect 55 0 58 0; #X connect 56 0 31 0; #X connect 56 0 31 1; #X connect 57 0 56 1; #X connect 58 0 57 0; #X connect 59 0 62 0; #X connect 60 0 31 0; #X connect 60 0 31 1; #X connect 61 0 60 1; #X connect 62 0 61 0; #X connect 63 0 36 0; #X connect 64 0 40 0; #X connect 65 0 44 0; #X connect 66 0 48 0; #X connect 67 0 52 0; #X connect 68 0 56 0; #X connect 69 0 60 0;
On Sat, 2012-04-07 at 16:43 -0400, Rishabh Natarajan wrote:
Hi Iain,
I just read a little while back that you can indeed use multiple adcs~ in one patch, but no where is it explained for my particular case. I don't want multiple adcs~ to route some channels here and some other channels some where else. I need to be able to switch between 2 interfaces within the same patch, so that I can use the same set of sliders to mix sound, separately, either coming in from the internet via Jacktrip or locally via my local interface.
What I would then do is, the output of the adc~ receiving audio channels from Jacktrip over the internet will be routed to the dac~ to the local sound, while the adc~ receiving audio channels from my local setup, should be routed to some dac~ that will send the audio over Jacktrip to the remote location.
I'm not quite sure what you mean by crossfade. I just want to switch the sliders in my patch to either control sound coming via jacktrip or to control sound coming via my local interface, i.e. sound coming in from the internet or sound coming in from local musicians.It has nothing to do with timing between signals, just a switch between the incoming sets of audio. The idea is to use the same set of 8 sliders to manage 8 channels either coming in from Jacktrip or coming in from the local interface. I think the term 'fader' is misleading; when I say fader I mean the sliders that one finds on a mixer. I hope that makes my problem a little more clear :)
Regards, Rishabh
On Sat, Apr 7, 2012 at 4:24 PM, Iain Mott mott@reverberant.com wrote: Hi
In answer to question 1, and if I'm understanding correctly, yes you can have more than one adc~ in the patch or specify the input channels in a particular adc~. eg an object with "adc~ 1 2 3 4 5 6 7" will receive 7 input channels numbered 1-7. These can receive their signals via jack routing. In regard to switching between inputs, you might consider polygate~ from motex in pd-extended. This allows you to cross-fade between up to 10 inputs. You can set a cross-fade time in milliseconds and choose between linear or equal-power fading. If you need to switch between more than 10 inputs, just use more polygate~ objects - and you'll need two at least anyway for a stereo mix. cheers, Iain On Sat, 2012-04-07 at 13:57 -0400, Rishabh Natarajan wrote: > Hi, > > > I'm trying to build a virtual mixer in pd for telematic music. > Telematic music is a genre of music where the musicians collaborate > live but are situated in different locations (cities), over the > internet. > > > My mixer should be able to take in remote channels coming in through > Jack and route to the local sound system and also, through some > interface be able to take in local inputs and send out via Jack to the > remote system. > > > The questions I have are: > 1. can I have 2 adc~ objects in one patch? So that I can switch the > same set of faders to control either signals going to and coming from > Jack or going to and coming from my local interface? if so, how do I > achieve this? > 2. If I need to be able to route sound over the internet via Jack and > to and from my local system via an interface, how do I make pd use > both Jack and the local interface (for example the coremidi on a mac) > at the same time? This sort of ties in with the first question. > > > My time to do all of this is really short and I am very new to pd. Any > help with this would really, really be appreciated! > > > Thanks, > Rishabh > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello,
I remember that some time ago, an elaborate project for mixing over TCP/IP was released, called XmiX. There may be a lot of tricks in it that you can use. See this announcement on Pd forum:
http://puredata.hurleur.com/sujet-5114-xmix-announce
Katja
On Sat, Apr 7, 2012 at 7:57 PM, Rishabh Natarajan < rishabh.natarajan@gmail.com> wrote:
Hi,
I'm trying to build a virtual mixer in pd for telematic music. Telematic music is a genre of music where the musicians collaborate live but are situated in different locations (cities), over the internet.
My mixer should be able to take in remote channels coming in through Jack and route to the local sound system and also, through some interface be able to take in local inputs and send out via Jack to the remote system.
The questions I have are:
- can I have 2 adc~ objects in one patch? So that I can switch the same
set of faders to control either signals going to and coming from Jack or going to and coming from my local interface? if so, how do I achieve this? 2. If I need to be able to route sound over the internet via Jack and to and from my local system via an interface, how do I make pd use both Jack and the local interface (for example the coremidi on a mac) at the same time? This sort of ties in with the first question.
My time to do all of this is really short and I am very new to pd. Any help with this would really, really be appreciated!
Thanks, Rishabh
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello Rishabh, you should be able to use jack for local and distant sound system, no need for internal drivers through pd. In both adc~ and dac~ each argument is the number of audio voice coming from/to jack eg: [adc~ 4 1 2 3] would output from left to right the inputs 4 1 2 3 from jack interface but if sound processing is just about amplitude, you don't even have to bother with pd (sorry pd-list ^^) because jack mixer would be enough for that.
for building a virtual mixer it's really easy in pd, it's just a slider with default values connected to [dbtorms] for controling the amplitude of a signal coming in [*~]'s left inlet by connecting it to right inlet after a conversion from message to audio with the help of [line~]
[adc~ 1] | |[hslider] | | |[dbtorms] | | |[pack 0 10] | | |[line~] | | [*~] | [throw~ master]
[catch~ master] | [dac 1]
this simple example is mono, use [catch~ master-left] and [catch~ master-right] for retrieving two voices coming from [pan~], all signals are mixed through [throw~] and [catch~] bus.
Colet Patrice
----- Mail original -----
De: "Rishabh Natarajan" rishabh.natarajan@gmail.com À: pd-list@iem.at Envoyé: Samedi 7 Avril 2012 19:57:20 Objet: [PD] Virtual Mixer for Telematic Music
Hi,
I'm trying to build a virtual mixer in pd for telematic music. Telematic music is a genre of music where the musicians collaborate live but are situated in different locations (cities), over the internet.
My mixer should be able to take in remote channels coming in through Jack and route to the local sound system and also, through some interface be able to take in local inputs and send out via Jack to the remote system.
The questions I have are:
- can I have 2 adc~ objects in one patch? So that I can switch the
same set of faders to control either signals going to and coming from Jack or going to and coming from my local interface? if so, how do I achieve this? 2. If I need to be able to route sound over the internet via Jack and to and from my local system via an interface, how do I make pd use both Jack and the local interface (for example the coremidi on a mac) at the same time? This sort of ties in with the first question.
My time to do all of this is really short and I am very new to pd. Any help with this would really, really be appreciated!
Thanks, Rishabh
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
@Iain: Yes, how silly of me, the crossfade is to avoid the clicks. I never thought of it that way. Hence the pleas to ignore my naivete. Thanks for sharing the patch with me. I shall go through it and I'm sure it will clear out a lot of things.
@Colet Patrice: Hey, thanks for writing to me. Well, the reason I want to do it in pd is because I wanted to be able to switch routing so that I can move sound around however and wherever I want. I want to be able to switch functionality of the same set of sliders to control all sound, in all directions. Also, I wanted to incorporate other functions like latency meters and allowing for Q'ing to headphones depending on which mix one is currently working on in the mixer, or even independent of that actually. It should be fairly functional without having too much detail, simple because I'm pressed for time!
Thanks, Rishabh
On Sun, Apr 8, 2012 at 12:44 PM, Patrice Colet colet.patrice@free.frwrote:
Hello Rishabh, you should be able to use jack for local and distant sound system, no need for internal drivers through pd. In both adc~ and dac~ each argument is the number of audio voice coming from/to jack eg: [adc~ 4 1 2 3] would output from left to right the inputs 4 1 2 3 from jack interface but if sound processing is just about amplitude, you don't even have to bother with pd (sorry pd-list ^^) because jack mixer would be enough for that.
for building a virtual mixer it's really easy in pd, it's just a slider with default values connected to [dbtorms] for controling the amplitude of a signal coming in [*~]'s left inlet by connecting it to right inlet after a conversion from message to audio with the help of [line~]
[adc~ 1] | |[hslider] | | |[dbtorms] | | |[pack 0 10] | | |[line~] | | [*~] | [throw~ master]
[catch~ master] | [dac 1]
this simple example is mono, use [catch~ master-left] and [catch~ master-right] for retrieving two voices coming from [pan~], all signals are mixed through [throw~] and [catch~] bus.
Colet Patrice
----- Mail original -----
De: "Rishabh Natarajan" rishabh.natarajan@gmail.com À: pd-list@iem.at Envoyé: Samedi 7 Avril 2012 19:57:20 Objet: [PD] Virtual Mixer for Telematic Music
Hi,
I'm trying to build a virtual mixer in pd for telematic music. Telematic music is a genre of music where the musicians collaborate live but are situated in different locations (cities), over the internet.
My mixer should be able to take in remote channels coming in through Jack and route to the local sound system and also, through some interface be able to take in local inputs and send out via Jack to the remote system.
The questions I have are:
- can I have 2 adc~ objects in one patch? So that I can switch the
same set of faders to control either signals going to and coming from Jack or going to and coming from my local interface? if so, how do I achieve this? 2. If I need to be able to route sound over the internet via Jack and to and from my local system via an interface, how do I make pd use both Jack and the local interface (for example the coremidi on a mac) at the same time? This sort of ties in with the first question.
My time to do all of this is really short and I am very new to pd. Any help with this would really, really be appreciated!
Thanks, Rishabh
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Iain,
When trying to start pd-extended from command line with the '-channels 16' argument, I get an error saying:
Error number -9998 opening portaudio stream Error message: Invalid number of channels
I can't seem to figure out why this is happening and am not able to find any sources on the internet that explain why this is happening. I had started pd once before with some other arguments, but have since closed it and opened it up again through the GUI, so I'm thinking the default flags should've undone my last command line start?
Please advise.
Thanks, Rishabh
On Sun, Apr 8, 2012 at 2:55 PM, Rishabh Natarajan < rishabh.natarajan@gmail.com> wrote:
@Iain: Yes, how silly of me, the crossfade is to avoid the clicks. I never thought of it that way. Hence the pleas to ignore my naivete. Thanks for sharing the patch with me. I shall go through it and I'm sure it will clear out a lot of things.
@Colet Patrice: Hey, thanks for writing to me. Well, the reason I want to do it in pd is because I wanted to be able to switch routing so that I can move sound around however and wherever I want. I want to be able to switch functionality of the same set of sliders to control all sound, in all directions. Also, I wanted to incorporate other functions like latency meters and allowing for Q'ing to headphones depending on which mix one is currently working on in the mixer, or even independent of that actually. It should be fairly functional without having too much detail, simple because I'm pressed for time!
Thanks, Rishabh
On Sun, Apr 8, 2012 at 12:44 PM, Patrice Colet colet.patrice@free.frwrote:
Hello Rishabh, you should be able to use jack for local and distant sound system, no need for internal drivers through pd. In both adc~ and dac~ each argument is the number of audio voice coming from/to jack eg: [adc~ 4 1 2 3] would output from left to right the inputs 4 1 2 3 from jack interface but if sound processing is just about amplitude, you don't even have to bother with pd (sorry pd-list ^^) because jack mixer would be enough for that.
for building a virtual mixer it's really easy in pd, it's just a slider with default values connected to [dbtorms] for controling the amplitude of a signal coming in [*~]'s left inlet by connecting it to right inlet after a conversion from message to audio with the help of [line~]
[adc~ 1] | |[hslider] | | |[dbtorms] | | |[pack 0 10] | | |[line~] | | [*~] | [throw~ master]
[catch~ master] | [dac 1]
this simple example is mono, use [catch~ master-left] and [catch~ master-right] for retrieving two voices coming from [pan~], all signals are mixed through [throw~] and [catch~] bus.
Colet Patrice
----- Mail original -----
De: "Rishabh Natarajan" rishabh.natarajan@gmail.com À: pd-list@iem.at Envoyé: Samedi 7 Avril 2012 19:57:20 Objet: [PD] Virtual Mixer for Telematic Music
Hi,
I'm trying to build a virtual mixer in pd for telematic music. Telematic music is a genre of music where the musicians collaborate live but are situated in different locations (cities), over the internet.
My mixer should be able to take in remote channels coming in through Jack and route to the local sound system and also, through some interface be able to take in local inputs and send out via Jack to the remote system.
The questions I have are:
- can I have 2 adc~ objects in one patch? So that I can switch the
same set of faders to control either signals going to and coming from Jack or going to and coming from my local interface? if so, how do I achieve this? 2. If I need to be able to route sound over the internet via Jack and to and from my local system via an interface, how do I make pd use both Jack and the local interface (for example the coremidi on a mac) at the same time? This sort of ties in with the first question.
My time to do all of this is really short and I am very new to pd. Any help with this would really, really be appreciated!
Thanks, Rishabh
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
you'll also need to add to the line: -jack also be sure that jack is running. cheers, Iain
On Sun, 2012-04-08 at 15:31 -0400, Rishabh Natarajan wrote:
Hi Iain,
When trying to start pd-extended from command line with the '-channels 16' argument, I get an error saying:
Error number -9998 opening portaudio stream Error message: Invalid number of channels
I can't seem to figure out why this is happening and am not able to find any sources on the internet that explain why this is happening. I had started pd once before with some other arguments, but have since closed it and opened it up again through the GUI, so I'm thinking the default flags should've undone my last command line start?
Please advise.
Thanks, Rishabh
On Sun, Apr 8, 2012 at 2:55 PM, Rishabh Natarajan rishabh.natarajan@gmail.com wrote: @Iain: Yes, how silly of me, the crossfade is to avoid the clicks. I never thought of it that way. Hence the pleas to ignore my naivete. Thanks for sharing the patch with me. I shall go through it and I'm sure it will clear out a lot of things.
@Colet Patrice: Hey, thanks for writing to me. Well, the reason I want to do it in pd is because I wanted to be able to switch routing so that I can move sound around however and wherever I want. I want to be able to switch functionality of the same set of sliders to control all sound, in all directions. Also, I wanted to incorporate other functions like latency meters and allowing for Q'ing to headphones depending on which mix one is currently working on in the mixer, or even independent of that actually. It should be fairly functional without having too much detail, simple because I'm pressed for time! Thanks, Rishabh On Sun, Apr 8, 2012 at 12:44 PM, Patrice Colet <colet.patrice@free.fr> wrote: Hello Rishabh, you should be able to use jack for local and distant sound system, no need for internal drivers through pd. In both adc~ and dac~ each argument is the number of audio voice coming from/to jack eg: [adc~ 4 1 2 3] would output from left to right the inputs 4 1 2 3 from jack interface but if sound processing is just about amplitude, you don't even have to bother with pd (sorry pd-list ^^) because jack mixer would be enough for that. for building a virtual mixer it's really easy in pd, it's just a slider with default values connected to [dbtorms] for controling the amplitude of a signal coming in [*~]'s left inlet by connecting it to right inlet after a conversion from message to audio with the help of [line~] [adc~ 1] | |[hslider] | | |[dbtorms] | | |[pack 0 10] | | |[line~] | | [*~] | [throw~ master] [catch~ master] | [dac 1] this simple example is mono, use [catch~ master-left] and [catch~ master-right] for retrieving two voices coming from [pan~], all signals are mixed through [throw~] and [catch~] bus. Colet Patrice ----- Mail original ----- > De: "Rishabh Natarajan" <rishabh.natarajan@gmail.com> > À: pd-list@iem.at > Envoyé: Samedi 7 Avril 2012 19:57:20 > Objet: [PD] Virtual Mixer for Telematic Music > > Hi, > > I'm trying to build a virtual mixer in pd for telematic music. > Telematic > music is a genre of music where the musicians collaborate live but > are > situated in different locations (cities), over the internet. > > My mixer should be able to take in remote channels coming in through > Jack > and route to the local sound system and also, through some interface > be > able to take in local inputs and send out via Jack to the remote > system. > > The questions I have are: > 1. can I have 2 adc~ objects in one patch? So that I can switch the > same > set of faders to control either signals going to and coming from Jack > or > going to and coming from my local interface? if so, how do I achieve > this? > 2. If I need to be able to route sound over the internet via Jack and > to > and from my local system via an interface, how do I make pd use both > Jack > and the local interface (for example the coremidi on a mac) at the > same > time? This sort of ties in with the first question. > > My time to do all of this is really short and I am very new to pd. > Any help > with this would really, really be appreciated! > > Thanks, > Rishabh > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list >
Hi Rishabh,
On Sun, Apr 8, 2012 at 3:31 PM, Rishabh Natarajan rishabh.natarajan@gmail.com wrote:
Error message: Invalid number of channels
This is actually a (almost) very informative error message. You want pd use more channels than are physically or virtually available on your system. You should probably provide some more info about your setup: how many audio interfaces, what kind, how many I/O, do you use jack or not etc. I don't think you can tell pd to use more than one audio interface at a time. Depending on the OS/platform you are using, there may be ways to trick the OS into using 2 or more audio interfaces as one but it is not for the feint of heart and generally not very reliable and may lead to some unpredictable behaviour. What I understand is that you want to make a matrix that can route any signal input to any output. However, the fact that you want to use several audio interfaces is unclear to me, I would expect audio over some network streams in a telematic performance...
As for Pd options, the command-line options override the options saved in your .pdrc file. Usually, the settings that you specify in the GUI are persistent, those you specify on the command line are valid until you quit the instance of pd.
./MiS
Hi Michael,
Iain explained to me that I do not need multiple interfaces to route output to multiple locations. Indeed I am using Jack and have managed to route audio and switch audio between 2 sources. Now I'm trying to figure out how to keep the audio running from one channel, while I mix another, because clearly I cannot pause sound during the live performance and have to be able to switch without cutting off the output. This also means that I should be able to retain the slider levels for different mixers so that when I switch back to them they should jump back to those positions. I'm working on this logic and I believe I might be on it!
One weird problem I'm facing right now, is the polygate object, used to crossfade while switching between sources. For some reason, the object cannot be created on Windows, while it is fine on my mac. I keep getting this error (from Iain's example patch):
"polygate~ 2 100 ... couldn't create"
I don't think that has anything do with starting through Command Line (or Prompt in the case of Windows) because by starting pd-extended normally on mac also, there was no issue with the polygate object being created. I'm trying to figure out why this is happening on Windows.
Thanks, Rishabh
On Tue, Apr 10, 2012 at 7:48 AM, Michal Seta mis@artengine.ca wrote:
Hi Rishabh,
On Sun, Apr 8, 2012 at 3:31 PM, Rishabh Natarajan rishabh.natarajan@gmail.com wrote:
Error message: Invalid number of channels
This is actually a (almost) very informative error message. You want pd use more channels than are physically or virtually available on your system. You should probably provide some more info about your setup: how many audio interfaces, what kind, how many I/O, do you use jack or not etc. I don't think you can tell pd to use more than one audio interface at a time. Depending on the OS/platform you are using, there may be ways to trick the OS into using 2 or more audio interfaces as one but it is not for the feint of heart and generally not very reliable and may lead to some unpredictable behaviour. What I understand is that you want to make a matrix that can route any signal input to any output. However, the fact that you want to use several audio interfaces is unclear to me, I would expect audio over some network streams in a telematic performance...
As for Pd options, the command-line options override the options saved in your .pdrc file. Usually, the settings that you specify in the GUI are persistent, those you specify on the command line are valid until you quit the instance of pd.
./MiS