Hi Martin,
thanks for your quick response!
 
 
 
 

Gesendet: Samstag, 03. Oktober 2020 um 19:02 Uhr
Von: "Martin Peach" <[email protected]>
An: "Jakob Laue" <[email protected]>
Cc: "Pd-List" <[email protected]>
Betreff: Re: [PD] mrpeach/midifile: multiple voices
On Sat, Oct 3, 2020 at 7:05 AM Jakob Laue <[email protected]> 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?

->> to be honest, I can not answer this question. I initialize [midifile] with 
...
- filename and fps in one message
- time signature message [255 88 4 4 2 38 8)
- tempo message [255 81 ...(
...before I send it events.


If you use a [track ( message before each event it should keep them separate.


-> Do you mean a track name message like "FF 03 len text Sequence/Track Name" 
according to 
http://www.music.mcgill.ca/~ich/classes/mumt306/StandardMIDIfileformat.html at 
the bottom?


Thank you very much!

Jakob



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to