Csound Csound-dev Csound-tekno Search About

How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?

Date2016-07-30 10:49
FromAnton Kholomiov
SubjectHow to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?
When I play csound synth it captures the midi device and when I start 
a plugin (say pianoteq) it grabs the midi too and csound is not playable.
I'd like to be able to quickly switch the stream of midi messages between 
csound and pianoteq. \

Is it possible? Has anyone tried to do it in live setting?

To reopen the program is too slow. 

Anton
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-07-30 11:16
FromTarmo Johannes
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?

Hi,

Can you use Pianoteq through jack? Then you could use jacko opcodes or jackconnect to route pianoteq output to Csound and you can control anything.

Otherwise I think you need some kind of script or master program that does midi routing  with alsa tools (aconnect was it I think).

There might be better ways...

Tarmo


30.07.2016 12:49 kirjutas kuupäeval "Anton Kholomiov" <anton.kholomiov@gmail.com>:
When I play csound synth it captures the midi device and when I start 
a plugin (say pianoteq) it grabs the midi too and csound is not playable.
I'd like to be able to quickly switch the stream of midi messages between 
csound and pianoteq. \

Is it possible? Has anyone tried to do it in live setting?

To reopen the program is too slow. 

Anton
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-07-30 17:46
FromOeyvind Brandtsegg
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?
... or route midi through Csound, and switch different destinations from there

2016-07-30 12:16 GMT+02:00 Tarmo Johannes :
> Hi,
>
> Can you use Pianoteq through jack? Then you could use jacko opcodes or
> jackconnect to route pianoteq output to Csound and you can control anything.
>
> Otherwise I think you need some kind of script or master program that does
> midi routing  with alsa tools (aconnect was it I think).
>
> There might be better ways...
>
> Tarmo
>
>
> 30.07.2016 12:49 kirjutas kuupäeval "Anton Kholomiov"
> :
>>
>> When I play csound synth it captures the midi device and when I start
>> a plugin (say pianoteq) it grabs the midi too and csound is not playable.
>> I'd like to be able to quickly switch the stream of midi messages between
>> csound and pianoteq. \
>>
>> Is it possible? Has anyone tried to do it in live setting?
>>
>> To reopen the program is too slow.
>>
>> Anton
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://flyndresang.no/
http://soundcloud.com/t-emp

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-07-30 18:17
FromSteven Yi
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?
Hi Anton,

Which MIDI driver are you using?  I only recently was made aware of
the alsaseq driver for MIDI which advertises "Multiple concurrent
access":

http://csound.github.io/docs/manual/RealTimeLinux.html

Maybe that could be useful here?

steven



On Sat, Jul 30, 2016 at 5:49 AM, Anton Kholomiov
 wrote:
> When I play csound synth it captures the midi device and when I start
> a plugin (say pianoteq) it grabs the midi too and csound is not playable.
> I'd like to be able to quickly switch the stream of midi messages between
> csound and pianoteq. \
>
> Is it possible? Has anyone tried to do it in live setting?
>
> To reopen the program is too slow.
>
> Anton
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-07-31 11:36
FromAnton Kholomiov
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?
Thanks for tips, but I'm not sure how to apply them(( How can I change the destinations?
Is it with some specific opcodes. How should I set up the instruments. Is it a main Csound instrument
that grabs the midi-device and other instruments are listening to the Midi-through ports?

I don't know I'm using something default on linux. I don't set any midi specific flags, only:

--midi-device=a

I don't know how to route midi through csound and how to pass it to other non-csound plugins.
If you have some links to tutorials or pages at the manual they are welcome.

2016-07-30 20:17 GMT+03:00 Steven Yi <stevenyi@gmail.com>:
Hi Anton,

Which MIDI driver are you using?  I only recently was made aware of
the alsaseq driver for MIDI which advertises "Multiple concurrent
access":

http://csound.github.io/docs/manual/RealTimeLinux.html

Maybe that could be useful here?

steven



On Sat, Jul 30, 2016 at 5:49 AM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> When I play csound synth it captures the midi device and when I start
> a plugin (say pianoteq) it grabs the midi too and csound is not playable.
> I'd like to be able to quickly switch the stream of midi messages between
> csound and pianoteq. \
>
> Is it possible? Has anyone tried to do it in live setting?
>
> To reopen the program is too slow.
>
> Anton
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-07-31 12:14
FromTarmo Johannes
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?

Hi,

If you have Csound running, can you see it in Pianoteq? If yes, you just need to use midi out commands (sorry, not close to computer to check out) to pass the commands read with midiin in your csound instrument.
Sorry for being vague, hopefully it helps further.

T


31.07.2016 13:36 kirjutas kuupäeval "Anton Kholomiov" <anton.kholomiov@gmail.com>:
Thanks for tips, but I'm not sure how to apply them(( How can I change the destinations?
Is it with some specific opcodes. How should I set up the instruments. Is it a main Csound instrument
that grabs the midi-device and other instruments are listening to the Midi-through ports?

I don't know I'm using something default on linux. I don't set any midi specific flags, only:

--midi-device=a

I don't know how to route midi through csound and how to pass it to other non-csound plugins.
If you have some links to tutorials or pages at the manual they are welcome.

2016-07-30 20:17 GMT+03:00 Steven Yi <stevenyi@gmail.com>:
Hi Anton,

Which MIDI driver are you using?  I only recently was made aware of
the alsaseq driver for MIDI which advertises "Multiple concurrent
access":

http://csound.github.io/docs/manual/RealTimeLinux.html

Maybe that could be useful here?

steven



On Sat, Jul 30, 2016 at 5:49 AM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> When I play csound synth it captures the midi device and when I start
> a plugin (say pianoteq) it grabs the midi too and csound is not playable.
> I'd like to be able to quickly switch the stream of midi messages between
> csound and pianoteq. \
>
> Is it possible? Has anyone tried to do it in live setting?
>
> To reopen the program is too slow.
>
> Anton
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-07-31 13:44
FromAnton Kholomiov
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?
This way means I need to encode the possibility of  switch inside my csound instrument. It's not a flexible approach.
I like the idea of having a Csound-instrument midi router and pianoteq and other csound instruments that listen
on midi ports for the csound-router. But I don't understand how to do the routing. 

The csound midi-out instrument is registered with the single port. And I can only listen to it with
other sound-producing instruments. But how can I select to wich instrument to send the midi messages?

Maybe there is a lightweight plugin host on linux where I can load
the csound instruments and other plugins and I can use some hot keys or specific messages
to change the midi-routing. Do you know such a soft?



2016-07-31 14:14 GMT+03:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:

Hi,

If you have Csound running, can you see it in Pianoteq? If yes, you just need to use midi out commands (sorry, not close to computer to check out) to pass the commands read with midiin in your csound instrument.
Sorry for being vague, hopefully it helps further.

T


31.07.2016 13:36 kirjutas kuupäeval "Anton Kholomiov" <anton.kholomiov@gmail.com>:
Thanks for tips, but I'm not sure how to apply them(( How can I change the destinations?
Is it with some specific opcodes. How should I set up the instruments. Is it a main Csound instrument
that grabs the midi-device and other instruments are listening to the Midi-through ports?

I don't know I'm using something default on linux. I don't set any midi specific flags, only:

--midi-device=a

I don't know how to route midi through csound and how to pass it to other non-csound plugins.
If you have some links to tutorials or pages at the manual they are welcome.

2016-07-30 20:17 GMT+03:00 Steven Yi <stevenyi@gmail.com>:
Hi Anton,

Which MIDI driver are you using?  I only recently was made aware of
the alsaseq driver for MIDI which advertises "Multiple concurrent
access":

http://csound.github.io/docs/manual/RealTimeLinux.html

Maybe that could be useful here?

steven



On Sat, Jul 30, 2016 at 5:49 AM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> When I play csound synth it captures the midi device and when I start
> a plugin (say pianoteq) it grabs the midi too and csound is not playable.
> I'd like to be able to quickly switch the stream of midi messages between
> csound and pianoteq. \
>
> Is it possible? Has anyone tried to do it in live setting?
>
> To reopen the program is too slow.
>
> Anton
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-07-31 14:06
FromAnders Genell
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?
Csound now supports Jack MIDI, so if you are comfortable using Jack, there should be plenty of possibilities to route midi between csound, pianoteq and whatever hardware you are using. 
You need to use the command line flag -+rtmidi=jack to enable it for csound. 

Regards
Anders

31 juli 2016 kl. 14:44 skrev Anton Kholomiov <anton.kholomiov@GMAIL.COM>:

This way means I need to encode the possibility of  switch inside my csound instrument. It's not a flexible approach.
I like the idea of having a Csound-instrument midi router and pianoteq and other csound instruments that listen
on midi ports for the csound-router. But I don't understand how to do the routing. 

The csound midi-out instrument is registered with the single port. And I can only listen to it with
other sound-producing instruments. But how can I select to wich instrument to send the midi messages?

Maybe there is a lightweight plugin host on linux where I can load
the csound instruments and other plugins and I can use some hot keys or specific messages
to change the midi-routing. Do you know such a soft?



2016-07-31 14:14 GMT+03:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:

Hi,

If you have Csound running, can you see it in Pianoteq? If yes, you just need to use midi out commands (sorry, not close to computer to check out) to pass the commands read with midiin in your csound instrument.
Sorry for being vague, hopefully it helps further.

T


31.07.2016 13:36 kirjutas kuupäeval "Anton Kholomiov" <anton.kholomiov@gmail.com>:
Thanks for tips, but I'm not sure how to apply them(( How can I change the destinations?
Is it with some specific opcodes. How should I set up the instruments. Is it a main Csound instrument
that grabs the midi-device and other instruments are listening to the Midi-through ports?

I don't know I'm using something default on linux. I don't set any midi specific flags, only:

--midi-device=a

I don't know how to route midi through csound and how to pass it to other non-csound plugins.
If you have some links to tutorials or pages at the manual they are welcome.

2016-07-30 20:17 GMT+03:00 Steven Yi <stevenyi@gmail.com>:
Hi Anton,

Which MIDI driver are you using?  I only recently was made aware of
the alsaseq driver for MIDI which advertises "Multiple concurrent
access":

http://csound.github.io/docs/manual/RealTimeLinux.html

Maybe that could be useful here?

steven



On Sat, Jul 30, 2016 at 5:49 AM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> When I play csound synth it captures the midi device and when I start
> a plugin (say pianoteq) it grabs the midi too and csound is not playable.
> I'd like to be able to quickly switch the stream of midi messages between
> csound and pianoteq. \
>
> Is it possible? Has anyone tried to do it in live setting?
>
> To reopen the program is too slow.
>
> Anton
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-07-31 14:40
FromMichael Gogins
SubjectRe: How to quickly switch between Csound and plugins (pianoteq) on stage with a single midi-keyboard?

Or you can use the Jacko opcodes, which provide finger grained control.

Regards,
Mike


On Jul 31, 2016 9:06 AM, "Anders Genell" <anders.genell@gmail.com> wrote:
Csound now supports Jack MIDI, so if you are comfortable using Jack, there should be plenty of possibilities to route midi between csound, pianoteq and whatever hardware you are using. 
You need to use the command line flag -+rtmidi=jack to enable it for csound. 

Regards
Anders

31 juli 2016 kl. 14:44 skrev Anton Kholomiov <anton.kholomiov@GMAIL.COM>:

This way means I need to encode the possibility of  switch inside my csound instrument. It's not a flexible approach.
I like the idea of having a Csound-instrument midi router and pianoteq and other csound instruments that listen
on midi ports for the csound-router. But I don't understand how to do the routing. 

The csound midi-out instrument is registered with the single port. And I can only listen to it with
other sound-producing instruments. But how can I select to wich instrument to send the midi messages?

Maybe there is a lightweight plugin host on linux where I can load
the csound instruments and other plugins and I can use some hot keys or specific messages
to change the midi-routing. Do you know such a soft?



2016-07-31 14:14 GMT+03:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:

Hi,

If you have Csound running, can you see it in Pianoteq? If yes, you just need to use midi out commands (sorry, not close to computer to check out) to pass the commands read with midiin in your csound instrument.
Sorry for being vague, hopefully it helps further.

T


31.07.2016 13:36 kirjutas kuupäeval "Anton Kholomiov" <anton.kholomiov@gmail.com>:
Thanks for tips, but I'm not sure how to apply them(( How can I change the destinations?
Is it with some specific opcodes. How should I set up the instruments. Is it a main Csound instrument
that grabs the midi-device and other instruments are listening to the Midi-through ports?

I don't know I'm using something default on linux. I don't set any midi specific flags, only:

--midi-device=a

I don't know how to route midi through csound and how to pass it to other non-csound plugins.
If you have some links to tutorials or pages at the manual they are welcome.

2016-07-30 20:17 GMT+03:00 Steven Yi <stevenyi@gmail.com>:
Hi Anton,

Which MIDI driver are you using?  I only recently was made aware of
the alsaseq driver for MIDI which advertises "Multiple concurrent
access":

http://csound.github.io/docs/manual/RealTimeLinux.html

Maybe that could be useful here?

steven



On Sat, Jul 30, 2016 at 5:49 AM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> When I play csound synth it captures the midi device and when I start
> a plugin (say pianoteq) it grabs the midi too and csound is not playable.
> I'd like to be able to quickly switch the stream of midi messages between
> csound and pianoteq. \
>
> Is it possible? Has anyone tried to do it in live setting?
>
> To reopen the program is too slow.
>
> Anton
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here