![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: special mapping |
flo Member |
![]() ![]() ![]() Hi, how can I assign the first 16 note numbers (0-15) to the first 16 white keys of my kbd? So that, when I press the first white key (0), kyma puts out a '0' and when I press the second white key (2), kyma puts out a '1', etc. What is the most simple solution for this, with a midi-mapper? What then is the syntax for mapping this. Could you maybe give me one example? And how can I scale an existing midi file to the note number range 0 - 15? I need this special mapping/scaling for a new instrument which is played by 16 magnetic driven modified old piano hammers - in case you're puzzled. Best, Florian IP: Logged |
pete Member |
![]() ![]() ![]() Hi Florian I don't know what key, note number 0 is or what the first key on your keyboard is but this formula should work with a bit of experimentation ((nn+x)*12/7)truncated-x You have to replace x with a number from 0 to 11 to make the inteferance patern of the formular match the shape of the black and white notes of a keyboard. If you try all twelve values for x, then one (and only one) should work for all notes. I'm not sure if it's this way round that you want to convert ? Hope it helps Pete. IP: Logged |
jesges Member |
![]() ![]() ![]() Beautiful formula!! IP: Logged |
flo Member |
![]() ![]() ![]() quote:
thanks for the formula. Best, Florian IP: Logged |
flo Member |
![]() ![]() ![]() Meanwhile I experimented a little-bit and arrived at this variation: (!Pitch * 7/12) rounded This implemented into the frequency field of a MidiOutputEvent accomplishes what I wanted. IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.