If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Map MIDI keyboard to certain frequencies
4 posts
• Page 1 of 1
Map MIDI keyboard to certain frequencies
I was wondering, would it be possible to map the midi keyboard to an osc but for different frecuencies than usual?
For example, mapping C1 for a sine playing at 40 Hz (instead of the usual 32,7 Hz), a D1 for 71 Hz and so on. I don't want to transpose the notes (I mean, for example 5 Hz above the usual scale frecuencies) but define it completely different. I don t know much about programming in Flowstone, I just managed to build a tone generator and set manually to the desired frecuencies, but they can't be played with the keyboard
For example, mapping C1 for a sine playing at 40 Hz (instead of the usual 32,7 Hz), a D1 for 71 Hz and so on. I don't want to transpose the notes (I mean, for example 5 Hz above the usual scale frecuencies) but define it completely different. I don t know much about programming in Flowstone, I just managed to build a tone generator and set manually to the desired frecuencies, but they can't be played with the keyboard
- toni_aguirre
- Posts: 5
- Joined: Sun Sep 29, 2013 3:51 pm
Re: Map MIDI keyboard to certain frequencies
What you can do, you can define a midi-map...an float array, where each index is note and value is the frequency for that note. Then use float array to mem prim with wave-read. midi->poly component outputs the pitch, the pitch is used as index for the midi-map, and that frequency is passed to the oscillators.
- Attachments
-
- customFreqMapped.fsm
- (8.87 KiB) Downloaded 732 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Map MIDI keyboard to certain frequencies
I managed to do the maping, but I'm having some trouble with a simple button. I tried to put a selector with a button to switch between 2 different MIDI to poly (one has portamento, I found it in the forum). Before I placed the switch, the vst runned perfectly, it produced a frequency dependent on the MIDI key, but when I connect it to the switch, even though the switch path allowes the original MIDI to poly path, it won't produce the desired frequencies any more. This switch is very simple, so I don't know why this is caused. Maybe it is because I splited the MIDI in??
EDIT: by placing a Poly Readout in the pitch output of each midi to poly, it has been aparently solved. However, gliding does not work, any idea of why?
EDIT: by placing a Poly Readout in the pitch output of each midi to poly, it has been aparently solved. However, gliding does not work, any idea of why?
- Attachments
-
- new scale.fsm
- The issue is just after the MIDI signal splits
- (444.51 KiB) Downloaded 762 times
- toni_aguirre
- Posts: 5
- Joined: Sun Sep 29, 2013 3:51 pm
Re: Map MIDI keyboard to certain frequencies
It's clearly a bug of the selector. It seems you cannot switch between two different midi-to-poly modules.
Also another thing - the schematic will not react to portamento, because wave read prim (the one that reads frequencies form the table based on pitch) has no interpolation. Search for some wave interpolation modules (I recommend linear interpolation for this task).
Also another thing - the schematic will not react to portamento, because wave read prim (the one that reads frequencies form the table based on pitch) has no interpolation. Search for some wave interpolation modules (I recommend linear interpolation for this task).
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 117 guests