marianinn / mingus

Automatically exported from code.google.com/p/mingus
GNU General Public License v3.0
0 stars 1 forks source link

MidiFileIn shifts rhythm #125

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create midi file in Sibelius or similar
2. make composition/bmp tuple with MidiFileIn.MIDI_to_Composition("mymidi.mid")
3. isolate composition (comp = MidiFileIn.MIDI_to_Composition("mymidi.mid")[0]
4. write composition back to Midi (MidiFileOut.write_Composition("target.mid", 
comp)
5. open midi with a score viewer, play back, etc.--output is incorrect!

What is the expected output? What do you see instead?
Expected: same as input (see: 
http://www.mediafire.com/view/n17lp96bob53n05/mingusbug%20input.png )
Result instead: all notes are preserved, but all rhythms are shifted forward by 
one, with a quarter inserted at the beginning. (See: 
http://www.mediafire.com/view/5rc5s7q8m297z7q/mingusbug%20output.png )

What version of the product are you using? On what operating system?
Mingus 0.4.2.3 on Mac OSX (10.9.4) with Python 2.7.8

Please provide any additional information below.

Original issue reported on code.google.com by maia...@gmail.com on 17 Sep 2014 at 4:05