[Csnd] timing of csound generated midi output file
Date | 2011-12-25 21:46 |
From | zappfinger |
Subject | [Csnd] timing of csound generated midi output file |
In my midi-recorder csd I want to write the midi output to file, so I added -odac -iadc --midi-device=0 -M0 -Q0 -m0d -B256 -b64 --midioutfile=out.mid In instr 99 midi output is generated by: midiout kstatus, kchan, kdata1, kdata2 But when I play back the midi file (in QuickTime or so), the first half is silent and then I get some output, but much to slow. What's happening here? I have seen another post about using noteondur for this, but should midiout not work also? Richard -- View this message in context: http://csound.1045644.n5.nabble.com/timing-of-csound-generated-midi-output-file-tp5100669p5100669.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-12-25 21:52 |
From | Victor Lazzarini |
Subject | Re: [Csnd] timing of csound generated midi output file |
There was a bug in MIDI output which has been fixed in 5.15. Victor On 25 Dec 2011, at 21:46, zappfinger wrote: > In my midi-recorder csd I want to write the midi output to file, so I added > > -odac -iadc --midi-device=0 -M0 -Q0 -m0d -B256 -b64 > --midioutfile=out.mid > > In instr 99 midi output is generated by: > > midiout kstatus, kchan, kdata1, kdata2 > > But when I play back the midi file (in QuickTime or so), the first half is > silent and then I get some output, but much to slow. > > What's happening here? > > I have seen another post about using noteondur for this, but should midiout > not work also? > > Richard > > -- > View this message in context: http://csound.1045644.n5.nabble.com/timing-of-csound-generated-midi-output-file-tp5100669p5100669.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-12-25 21:53 |
From | zappfinger |
Subject | [Csnd] Re: timing of csound generated midi output file |
Ok thanks. So if I use noteondur it could work? (except I would have to calculate the duration?) -- View this message in context: http://csound.1045644.n5.nabble.com/timing-of-csound-generated-midi-output-file-tp5100669p5100679.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-12-25 21:55 |
From | Victor Lazzarini |
Subject | Re: [Csnd] timing of csound generated midi output file |
I mean MIDI FILE output. One way round this is to route MIDI out to a program that can record MIDI. Regards Victor On 25 Dec 2011, at 21:52, Victor Lazzarini wrote: > There was a bug in MIDI output which has been fixed in 5.15. > > Victor > On 25 Dec 2011, at 21:46, zappfinger wrote: > >> In my midi-recorder csd I want to write the midi output to file, so I added >> >> -odac -iadc --midi-device=0 -M0 -Q0 -m0d -B256 -b64 >> --midioutfile=out.mid >> >> In instr 99 midi output is generated by: >> >> midiout kstatus, kchan, kdata1, kdata2 >> >> But when I play back the midi file (in QuickTime or so), the first half is >> silent and then I get some output, but much to slow. >> >> What's happening here? >> >> I have seen another post about using noteondur for this, but should midiout >> not work also? >> >> Richard >> >> -- >> View this message in context: http://csound.1045644.n5.nabble.com/timing-of-csound-generated-midi-output-file-tp5100669p5100669.html >> Sent from the Csound - General mailing list archive at Nabble.com. >> >> >> Send bugs reports to the Sourceforge bug tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> Discussions of bugs and features can be posted here >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >> > > Dr Victor Lazzarini > Senior Lecturer > Dept. of Music > NUI Maynooth Ireland > tel.: +353 1 708 3545 > Victor dot Lazzarini AT nuim dot ie > > > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-12-25 22:00 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: timing of csound generated midi output file |
The problem is in the writing of MIDI files, not the opcodes. RT MIDI output will work. You could use the IAC driver to connect to another application that records MIDI. Victor On 25 Dec 2011, at 21:53, zappfinger wrote: > Ok thanks. So if I use noteondur it could work? (except I would have to > calculate the duration?) > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/timing-of-csound-generated-midi-output-file-tp5100669p5100679.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |