pan based on MIDI note
I am attempting to pan the output of a sampler based on the incoming MIDI note. In the case of a piano, for example, I could put the lower notes to the left of the panorama, higher pitches to the right.
But I can't even figure out how to get a MIDI note number out of the polyphonic stream of data. The manual says that NotePitch "Outputs the MIDI note value of any note message received by the Ensemble" but instead Number displays an integer in the 400 range. Even if converted to mono using a Voice Combiner.
Would really like to understand this.
Comments
-
Divide the note pitch by 127 to get a value between 0 and 1, then use that to control the pan process
0 -
As I said, the numbers coming out of NotePitch are in the 400 range (e.g. 418, 436,…) and do not seem to represent MIDI notes. The ensemble is 8-voice.
0 -
How are you looking at the numbers?
0 -
I am looking using the Numbers panel display and the cable debug tooltip.
In mono the NotePitch gives the MIDI note number. But not when using polyphony. I am trying to extract the last note somewhere downstream, e.g. not immediately after NotePitch.0 -
if you are using a voice combiner, you're probably getting the sum of note numbers on all channels.
It's hard to help further without knowing what you are trying to achieve and some sort of example of the problem.
What I said in my first reply is exactly what to do in mono or poly. Getting visual feedback of some specific value from some specific voice is actually more tricky than panning each voice based on its note number (assuming you have the pan part already worked out)
I am trying to extract the last note somewhere downstream, e.g. not immediately after NotePitch.
I posted a simple macro to extract voice number for the latest allocated voice to the User Library a few years ago:
https://www.native-instruments.com/en/reaktor-community/reaktor-user-library/entry/show/12639/
You could use this with a from voice to grab the latest note pitch. Personally I might go with the simpler approach of having each vocie pan to its own note number
0
Categories
- All Categories
- 18 Welcome
- 1.6K Hangout
- 66 NI News
- 858 Tech Talks
- 4.4K Native Access
- 17.5K Komplete
- 2.1K Komplete General
- 4.6K Komplete Kontrol
- 6.1K Kontakt
- 1.6K Reaktor
- 398 Battery 4
- 887 Guitar Rig & FX
- 450 Massive X & Synths
- 1.4K Other Software & Hardware
- 6.1K Maschine
- 7.8K Traktor
- 7.8K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators