[Csnd] Re: Re: Re: Re: Re: MIDI/Score Question
| Date | 2008-03-20 03:22 |
| From | mark jamerson |
| Subject | [Csnd] Re: Re: Re: Re: Re: MIDI/Score Question |
Just to let you know, I ran your csd from the command line, and through winxound 3.0.60, on a vista install of csound v5.07 and did not receive any warning or error, and sound was produced. I figure that maybe this will help the debugging process. Mark ----- Original Message
---- From: Miguel Morales <therevoltingx@gmail.com> To: csound@lists.bath.ac.uk Sent: Wednesday, March 19, 2008 5:09:17 PM Subject: [Csnd] Re: Re: Re: Re: MIDI/Score Question Sure, I have attached both the .csd and .blue files. Thanks, Miguel On Wed, Mar 19, 2008 at 2:18 PM, Steven Yi <stevenyi@gmail.com> wrote: Hi Miguel, Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. |
| Date | 2008-03-20 17:45 |
| From | "Miguel Morales" |
| Subject | [Csnd] Re: Re: Re: Re: Re: Re: MIDI/Score Question |
| Attachments | None None |
| Date | 2008-03-20 19:23 |
| From | "Miguel Morales" |
| Subject | [Csnd] Re: Re: Re: Re: Re: Re: MIDI/Score Question |
| Attachments | None None |
| Date | 2008-03-20 22:15 |
| From | "Steven Yi" |
| Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: MIDI/Score Question |
| Attachments | None |
| Date | 2008-03-23 14:27 |
| From | "Dr. Richard Boulanger" |
| Subject | [Csnd] Re: MIDI/Score Question |
Great detective work Steven. Please remove this warning.
There are NO good/clear interop examples in the manual and in the
examples folder.
We need them!
I spent the past week working with these on the OLPC XO and found the
warnings confusing
and the system did not really work.
I was NOT able to create a .csd that worked with both MIDI and a
notelist.
I could NOT set up a .csd that would work both with notelist and midi
input.
I could NOT set more than one mididefault in one .csd
I am using the Mac. I think less of Michael's code runs on that
platform than Windows which he uses.
-dB
On Mar 20, 2008, at 6:15 PM, Steven Yi wrote:
> I have tried this and reproduced Miguel's results. This is on
> Windows. The warning is not issued from the opcode but rather the
> event loop that inserts notes in Engine/insert.c:
>
> if (tp->pmax > 3 && tp->psetdata == NULL) {
> csoundWarning(csound, Str("instr %d p%d illegal for MIDI"),
> insno, tp->pmax);
> }
>
> This is saying, if a new event is added for an instrument that has
> more than 3 p-fields, issue the error saying the max pfield the
> instrument has is illegal.
>
> I assume this is an old warning from the original midi implementation,
> where instruments would get all values from the midi opcodes and not
> from pfields. This is no longer valid with interop opcodes. If my
> understanding of this code is correct, I think this warning should
> simply be discarded.
>
> Any thoughts from anyone else?
>
> steven
>
>
>
>
> On Thu, Mar 20, 2008 at 12:23 PM, Miguel Morales
> |