Pepperonio 0 Newbie Poster

I have been to writing an algo composing program to generate Midi sound with specific given pitch and duration etc.

vegaseat's Code on midi helped quite a lot, it plays a line of melody of midi voice with given pitch and sound.

The problem is, I need to have multiple melody lines playing at the same time, and I couldn't figure out a way to get it to work. The "second note (harmony)" can only play after the "first note (melody)".

Can someone help?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.