Csound Csound-dev Csound-tekno Search About

[Csnd] Another midi to score converter

Date2010-04-24 18:33
From"vallste@libero.it"
Subject[Csnd] Another midi to score converter
Attachmentstotalu.mid  MidiToSco.csd  
Hello list,
I'm using the attached csd to convert the attached midi to score but I've the 
following problem (Ubuntu Studio with csound 5.12 compiled from cvs few weeks 
ago): while running I notice that after second 40 and second 52 of the 
conversion the message "Closing file 'score.sco'..." show up, as result of this 
the final score file contains only the notes from second 53 to the end of midi 
file.

What can I do to avoid the output file closing?
Ive already tried to export format 0 or 1 midi files but it doesen't change 
the result.

Bye

Stefano


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"


Date2010-04-24 22:07
FromDjack
Subject[Csnd] Re: Another midi to score converter
Hi,

Add the flag -T to the CsOptions to stop csound at the midi file end. 
Remove the turnoff opcode (not necessary)
Replace in the score f 0 1000 by i 1000 0 1000

I think the problem comes from the fprintks opcode and by the i 1000
instrument activated at each midi incoming event.

Now the score.sco file is opened one time and closed at the end of the midi
file.

Best,
René



vallste wrote:
> 
> Hello list,
> I'm using the attached csd to convert the attached midi to score but I've
> the 
> following problem (Ubuntu Studio with csound 5.12 compiled from cvs few
> weeks 
> ago): while running I notice that after second 40 and second 52 of the 
> conversion the message "Closing file 'score.sco'..." show up, as result of
> this 
> the final score file contains only the notes from second 53 to the end of
> midi 
> file.
> 
> What can I do to avoid the output file closing?
> Ive already tried to export format 0 or 1 midi files but it doesen't
> change 
> the result.
> 
> Bye
> 
> Stefano
> 
> 
> 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"
> 
> 
>  
>  
> 

-- 
View this message in context: http://old.nabble.com/Another-midi-to-score-converter-tp28351718p28352872.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"