Csound Csound-dev Csound-tekno Search About

Re: [Csnd] One last MIDI Csound question

Date2005-09-01 18:24
From"Art Hunkins"
SubjectRe: [Csnd] One last MIDI Csound question
Hi, William,

I'm copying this response to the Csound listserv. Probably someone like
Istvan or Michael can give you a more authoritative answer to your question.
(BTW, your questions are no "bother" to me; this is right up my alley.)

My thoughts:

1) Do you have a MIDI input device installed? If you do, certainly the
flag -M0 should pick it up.

2) There is no -+rtmidi flag in my .csd. Are you using it in your
commandline? The flag may have the wrong format (formats are *very* picky);
or, OTOH, I think that PortMIDI is the default and the flag can be omitted -
at least in Windows, which IIRC is your OS.

You did comment out (with ;) the non-operative CsOptions lines, didn't you?
You only need the line designated as Csound5. (I included one - currently
active - for CsoundAV, as well as another for flCsound. Those two need
semicolons to start; the Csound5 line of course needs its first semicolon
removed.) Just checking!

Art Hunkins

----- Original Message -----
From: "William Echard" 
To: "Art Hunkins" 
Sent: Thursday, September 01, 2005 9:29 AM
Subject: One last MIDI Csound question


> Hello Art,
>
> Could I bother you with one last question regarding the MIDIHelp.csd file
> you sent me a few days ago?
>
> I have downloaded Csound5 (not the very latest version, because the
> download always aborted, but one version back from the latest one), and
> I'm trying to run the .csd file. When I include the -M0 flag, I get the
> following message from csound:
>
> error: -+rtmidi='PortMIDI': unknown module
>     *** error opening MIDI in device: -1 (Unknown MIDI error)
>
> Any ideas?
>
> ------------------------------------------------------------------
> William Echard
> Department of Music, and
> Institute for Comparative Studies in Literature, Art, and Culture.
> Carleton University, Ottawa
> wechard@rideau.carleton.ca
> ------------------------------------------------------------------

-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-01 18:41
FromIstvan Varga
SubjectRe: [Csnd] One last MIDI Csound question
This is probably the usual problem with OPCODEDIR/OPCODEDIR64 not being
correctly defined, and for this reason the PortMidi plugin - as well as
real time audio and many opcodes - is not loaded.

Art Hunkins wrote:

> Hi, William,
> 
> I'm copying this response to the Csound listserv. Probably someone like
> Istvan or Michael can give you a more authoritative answer to your question.
> (BTW, your questions are no "bother" to me; this is right up my alley.)
> 
> My thoughts:
> 
> 1) Do you have a MIDI input device installed? If you do, certainly the
> flag -M0 should pick it up.
> 
> 2) There is no -+rtmidi flag in my .csd. Are you using it in your
> commandline? The flag may have the wrong format (formats are *very* picky);
> or, OTOH, I think that PortMIDI is the default and the flag can be omitted -
> at least in Windows, which IIRC is your OS.
> 
> You did comment out (with ;) the non-operative CsOptions lines, didn't you?
> You only need the line designated as Csound5. (I included one - currently
> active - for CsoundAV, as well as another for flCsound. Those two need
> semicolons to start; the Csound5 line of course needs its first semicolon
> removed.) Just checking!

I would recommend commenting out all by default, as getting errors because of
the CsoundAV options can be annoying.
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk