I made a sampler that uses a envelope generator going into tabread4~. The way im controlling the pitch is by just running midi into the envelope, so the frequency value of the midi controls the speed of the sound and that changes the pitch. This works, however the keyboard is inverted. So C remains C, however D is now B and E is now A, etc. How can I fix this?
-
How to control pitch of a sample with midi?
-
@schitz A solution for the same problem...... as detailed in the first post here...... https://forum.pdpatchrepo.info/topic/10162/inverting-midi-note-numbers-for-karplus-strong-pacth/2
David. -
Lol as in the first post ever? I did do a search but couldn't find anything, suppose I wasn't using the correct words.
The way I ended up doing it was subtracting 127 from 0 and doing [expr abs($f1)]. Thanks fo the reply!
Edit: I see you mean the first post in that thread, silly me.
-
@schitz Best to use google to search..... and include pdpatchrepo if you think it likely (and it is) that you will find it on this forum.
So...... in this case..... pdpatchrepo invert midi notes..... worked for me.
It found one of my posts that I had forgotten about......... often does..... and sometimes I don't remember that I knew what I wrote about........
Getting old.....
David.Also...... but beware of tilde.... and minus...
-
It could be sooo many things.
I'd suggest including the patch. It's really hard to troubleshoot something you can't see.