| Ok; the first part of the bug was easy and it's fixed now. MIDI output files are now been written to play at the correct tempo.
Second part will require a bit more research. I realised the MIDI file produced by csound is a mess when imported by Sibelius, so
that confirms the trouble.
Victor
On 17 Nov 2011, at 08:51, Oeyvind Brandtsegg wrote:
> will do
>
> 2011/11/17 Victor Lazzarini :
>> Can you file a bug report and we will look at it?
>> On 17 Nov 2011, at 08:29, Oeyvind Brandtsegg wrote:
>>
>>> Hi
>>>
>>> When creating a midi file with Csound, the output file seems to have
>>> the wrong tempo.
>>> Also, I can play the file in windows media player (silly internal midi
>>> GM), but it seems the file is not readable by Cubase or Ableton Live.
>>> I can look at the file contents with midi2mtx and it looks fine to me,
>>> but obviously it is not as it can't be used properly by other software
>>>
>>> Do we need to touch up the midi output formatting?
>>> The example below produce a few notes, both in realtime to the midi
>>> out port and simultaneously writing to file.
>>> The midi file will play back in a faster tempo than csound generated
>>> the events, and the file can not be imported into Cubase or Live (even
>>> MidiOx won't play it, but windows media player will)
>>>
>>>
>>>
>>> -odac1 -Q0 -b2048 -B4096 --midioutfile=test.mid
>>>
>>>
>>> sr = 44100
>>> ksmps = 256
>>> nchnls = 2
>>> 0dbfs = 1
>>>
>>> instr 1
>>> noteondur2 1, p4, 90, 0.7
>>> endin
>>>
>>>
>>>
>>> i1 0 1 60
>>> i1 ^+1 . 62
>>> i1 ^+1 . 64
>>> i1 ^+1 . 65
>>> i1 ^+1 . 67
>>> e
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>>
>>>
>>> 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"
>>
>>
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
>
>
> 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"
|