[PD] Virtual Mixer for Telematic Music

Iain Mott mott at reverberant.com
Sun Apr 8 22:40:44 CEST 2012


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 at 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 at 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 at gmail.com>
>                 > À: pd-list at 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 at iem.at mailing list
>                 > UNSUBSCRIBE and account-management ->
>                 > http://lists.puredata.info/listinfo/pd-list
>                 >
>                 
>         
>         
> 
> 





More information about the Pd-list mailing list