Csound Csound-dev Csound-tekno Search About

[Csnd] -+rtmidi=NULL - why? when? what? always been a little confused about this specific command line argument

Date2020-06-15 03:26
From"Dr. Richard Boulanger"
Subject[Csnd] -+rtmidi=NULL - why? when? what? always been a little confused about this specific command line argument
Hello everyone,

I have always been a little confused about the command line argument

-+rtmidi=NULL

In the manual it says: "In addition, null can be used on all platforms, to disable the use of any real time MIDI plugin"

In my Bela MIDI instruments, based on other models on that platform, I set this command line flag, but the MIDI instruments do run if it is set or if it is not set. It is set in some of my CsoundQt MIDI instruments too, but I don't think it matters there either.  Never sure about it.

I wonder what -+rtmidi=NULL it is doing, and when it might be necessary.
I am pretty sure that I am using it incorrectly or unnecessarily

Could something be added to the manual to help clarify what it is doing and why/when it should be set.

Since these are MIDI instruments that I am playing from a MIDI Keyboard Controller, it has always seems odd to me to, at the same time, tell my Csound to NULL (or as the manual says "disable") rtmidi

I presume that I am overriding this with the HW device setting on the Bela or the "Csound MIDI Module" checkbox or "Internal Input" dropDown in the Realtime MIDI section of the CsoundQt Configuration Dialog

Dr. Richard Boulanger

Professor of Electronic Production and Design

Professional Writing and Technology Division

Berklee College of Music


skype: radiobaton 

facebook: https://www.facebook.com/richard.boulanger.58

about: http://www.boulangerlabs.com/#about

about: http://www.csounds.com/community/developers/dr-richard-boulanger/

music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/


Boulanger Labs - http://boulangerlabs.com

The Csound Book http://mitpress.mit.edu/books/csound-book

The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book

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

Date2020-06-15 08:10
FromOeyvind Brandtsegg
SubjectRe: [Csnd] -+rtmidi=NULL - why? when? what? always been a little confused about this specific command line argument
Hi Richard

I think this setting is used only when you have some other process handling the MIDI hardware communication for you. 
For example, in VST plugins made with Cabbage, you want the DAW to handle the hardware connection. The DAW will then forward the MIDI data as appropriate to the plugin. The MIDI data is then made available to Csound from the plugin interface, not from the MIDI hardware. If Csound attempts to access the same hardware as the DAW, there might even be conflicts.

all best
Oeyvind

man. 15. jun. 2020 kl. 04:26 skrev Dr. Richard Boulanger <rboulanger@berklee.edu>:
Hello everyone,

I have always been a little confused about the command line argument

-+rtmidi=NULL

In the manual it says: "In addition, null can be used on all platforms, to disable the use of any real time MIDI plugin"

In my Bela MIDI instruments, based on other models on that platform, I set this command line flag, but the MIDI instruments do run if it is set or if it is not set. It is set in some of my CsoundQt MIDI instruments too, but I don't think it matters there either.  Never sure about it.

I wonder what -+rtmidi=NULL it is doing, and when it might be necessary.
I am pretty sure that I am using it incorrectly or unnecessarily

Could something be added to the manual to help clarify what it is doing and why/when it should be set.

Since these are MIDI instruments that I am playing from a MIDI Keyboard Controller, it has always seems odd to me to, at the same time, tell my Csound to NULL (or as the manual says "disable") rtmidi

I presume that I am overriding this with the HW device setting on the Bela or the "Csound MIDI Module" checkbox or "Internal Input" dropDown in the Realtime MIDI section of the CsoundQt Configuration Dialog

Dr. Richard Boulanger

Professor of Electronic Production and Design

Professional Writing and Technology Division

Berklee College of Music


skype: radiobaton 

facebook: https://www.facebook.com/richard.boulanger.58

about: http://www.boulangerlabs.com/#about

about: http://www.csounds.com/community/developers/dr-richard-boulanger/

music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/


Boulanger Labs - http://boulangerlabs.com

The Csound Book http://mitpress.mit.edu/books/csound-book

The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book

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

Date2020-06-15 08:12
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] -+rtmidi=NULL - why? when? what? always been a little confused about this specific command line argument
It is used to disable the loading of any Csound MIDI module in frontends that implement their own MIDI input. Most frontends call an API function to do that, but in the past some did not and that was needed. I think most frontends do not need it now,  but it is no harm using it.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 15 Jun 2020, at 03:26, Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hello everyone,

I have always been a little confused about the command line argument

-+rtmidi=NULL

In the manual it says: "In addition, null can be used on all platforms, to disable the use of any real time MIDI plugin"

In my Bela MIDI instruments, based on other models on that platform, I set this command line flag, but the MIDI instruments do run if it is set or if it is not set. It is set in some of my CsoundQt MIDI instruments too, but I don't think it matters there either.  Never sure about it.

I wonder what -+rtmidi=NULL it is doing, and when it might be necessary.
I am pretty sure that I am using it incorrectly or unnecessarily

Could something be added to the manual to help clarify what it is doing and why/when it should be set.

Since these are MIDI instruments that I am playing from a MIDI Keyboard Controller, it has always seems odd to me to, at the same time, tell my Csound to NULL (or as the manual says "disable") rtmidi

I presume that I am overriding this with the HW device setting on the Bela or the "Csound MIDI Module" checkbox or "Internal Input" dropDown in the Realtime MIDI section of the CsoundQt Configuration Dialog

Dr. Richard Boulanger

Professor of Electronic Production and Design

Professional Writing and Technology Division

Berklee College of Music


skype: radiobaton 

facebook: https://www.facebook.com/richard.boulanger.58

about: http://www.boulangerlabs.com/#about

about: http://www.csounds.com/community/developers/dr-richard-boulanger/

music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/


Boulanger Labs - http://boulangerlabs.com

The Csound Book http://mitpress.mit.edu/books/csound-book

The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book

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

Date2020-06-15 08:39
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] -+rtmidi=NULL - why? when? what? always been a little confused about this specific command line argument
Thanks, Oeyvind and Victor.

I am happy to know and will especially fiddle with it when using and developing Csound for Live or csound~ examples and with Cabbage things too.

Dr. Richard Boulanger




On Mon, Jun 15, 2020 at 3:11 AM Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
Hi Richard

I think this setting is used only when you have some other process handling the MIDI hardware communication for you. 
For example, in VST plugins made with Cabbage, you want the DAW to handle the hardware connection. The DAW will then forward the MIDI data as appropriate to the plugin. The MIDI data is then made available to Csound from the plugin interface, not from the MIDI hardware. If Csound attempts to access the same hardware as the DAW, there might even be conflicts.

all best
Oeyvind

man. 15. jun. 2020 kl. 04:26 skrev Dr. Richard Boulanger <rboulanger@berklee.edu>:
Hello everyone,

I have always been a little confused about the command line argument

-+rtmidi=NULL

In the manual it says: "In addition, null can be used on all platforms, to disable the use of any real time MIDI plugin"

In my Bela MIDI instruments, based on other models on that platform, I set this command line flag, but the MIDI instruments do run if it is set or if it is not set. It is set in some of my CsoundQt MIDI instruments too, but I don't think it matters there either.  Never sure about it.

I wonder what -+rtmidi=NULL it is doing, and when it might be necessary.
I am pretty sure that I am using it incorrectly or unnecessarily

Could something be added to the manual to help clarify what it is doing and why/when it should be set.

Since these are MIDI instruments that I am playing from a MIDI Keyboard Controller, it has always seems odd to me to, at the same time, tell my Csound to NULL (or as the manual says "disable") rtmidi

I presume that I am overriding this with the HW device setting on the Bela or the "Csound MIDI Module" checkbox or "Internal Input" dropDown in the Realtime MIDI section of the CsoundQt Configuration Dialog

Dr. Richard Boulanger

Professor of Electronic Production and Design

Professional Writing and Technology Division

Berklee College of Music


skype: radiobaton 

facebook: https://www.facebook.com/richard.boulanger.58

about: http://www.boulangerlabs.com/#about

about: http://www.csounds.com/community/developers/dr-richard-boulanger/

music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/


Boulanger Labs - http://boulangerlabs.com

The Csound Book http://mitpress.mit.edu/books/csound-book

The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book

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