On Sat, Oct 3, 2020 at 7:05 AM Jakob Laue jakkesprinter@web.de wrote:
Hi list, i have a patch that a melody and saves it into a midifile with [midifile] from mrpeach. Now i have extended the patch so that there is a second melody generated which accompanies the first one. Now i also send the pitch/noteduration pair of the second melody to the same [midifile] object in order to receive a two-voice-midi-file. But unfortunately both melodies seem to overwrite their noteDurations and hence i have wrong note durations in the midi file.
Are you writing a single track with two MIDI channels or two tracks? If you use a [track ( message before each event it should keep them separate.
Martin