Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] MIDI file - done performance

Date2007-08-03 19:30
FromVictor Lazzarini
SubjectRe: [Cs-dev] MIDI file - done performance
Ah, yes I see. But because you were not using a score,
says the manual, "If scorename is omitted, there are two
default options:

if real-time input is expected (e.g. -L, -M, -iadc or -F), a
dummy score file is substituted consisting of the single
statement 'f 0 3600' (i.e. listen for RT input for one hour)

else Csound uses the previously processed score.srt in the
current directory"


>
> Dr B enlightened me today.  You use the -T command line
> argument and   it finishes.
>
> greg
>
> On Aug 3, 2007, at 12:13 PM, Victor Lazzarini wrote:
>
> > Not even a dummy one? I did not know you could do
> > it. Perhaps Csound is substituting a dummy score
> > with an f0 statement in it.
> >
> >>
> >> I have no score.  Does that matter?
> >>
> >> greg
> >>
> >> On Aug 3, 2007, at 9:51 AM, Victor Lazzarini wrote:
> >>
> >>> would it be because you have an f0 ... in
> >>> your score?
> >>>
> >>>>
> >>>>
> >>>> Is there a way to be notified in the API when a MIDI
> >> file >> has   finished performing?  I'm using
> >> csoundPerformBuffer >> to perform and it   usually
> returns >> non-zero if it's >> finished, but I don't think
> it does >> with a MIDI file >> performance.
> >>>>
> >>>> I see that it prints "end of midi track"
> >>>>
> >>>> thanks
> >>>> greg
> >>>>
> >>>>
> >>> --
> >>> Send bugs reports to this list.
> >>> To unsubscribe, send email to
> >> csound-unsubscribe@lists.bath.ac.uk >
> >>
> >> --
> >> Send bugs reports to this list.
> >> To unsubscribe, send email to
> >> csound-unsubscribe@lists.bath.ac.uk
> > --
> > Send bugs reports to this list.
> > To unsubscribe, send email to
> csound-unsubscribe@lists.bath.ac.uk >
>
> --
> Send bugs reports to this list.
> To unsubscribe, send email to
> csound-unsubscribe@lists.bath.ac.uk