converting note numbers to MIDI events??

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

Post Reply
bosone
Posts: 1525
Joined: Sun Mar 25, 2001 4:00 pm
Location: Italy
Contact:

converting note numbers to MIDI events??

Post by bosone »

how can i take a note number, generated by the MVC, and convert it into a midi note event, to be used, for example, as a midi output from a device?
i'd like to start from the MVC and try to make some sort of algorythm working on note number, to transform it in different ways...
how can i do that??
the other parameters (velocty, gate...) are the same.
i just want to transform the incoming note into somthing else using maths operators.
but once i have the "New note number", how can i transform it to a midi event to bring outside the module (for other devices)??

and, second quesiton: how can i convert a note number (always generated by the MVC) to an appropriate frequency to control an oscillator??
i know that MVC outputs both the note number AND the corresponding frequency... but what if i change the note number and i want the frequency corresponding to it!?

thanks!
irrelevance

Re: converting note numbers to MIDI events??

Post by irrelevance »

This seems to be a modular question not a development one.
User avatar
Neutron
Posts: 2274
Joined: Sun Apr 29, 2001 4:00 pm
Location: Great white north eh
Contact:

Re: converting note numbers to MIDI events??

Post by Neutron »

irrelevance wrote:This seems to be a modular question not a development one.
theres MVC in SDK/DP as well.
irrelevance

Re: converting note numbers to MIDI events??

Post by irrelevance »

Oh. I've not come across this one yet. I stand corrected :P
Post Reply