This could be used to assign midi notes to keys either for producing files or performing, using some other input to handle velocities etc. [I expect to use a joystick for volume, tempo -- and to add a smaller table to associate these numbers (mod 7) with whichever scale I'm using at the moment-- with joystick buttons to modulate in real time...]
ie You can use any arrangement of keys you find useful, not necessarily chromatic, not necessarily linear!
If the subpatch doesn't load, please ask!
I needed to rewrite this after I lost my backups installing a new system. Here's the improved version:numberin.pd
You can now enter the number and read it before sending it out.
Save the contents of the subpatch as 'ro.pd' before using. [Clumsy, but fits the space better than any object with a longer name.]
Copying & pasting here changed some things, '' somehow turned to' .' (or vanished? Anyway, 'p3.5' in the adelL line became p3.5 ) [original setting for the delay time to left ear.]
In the following line, likewise, 'p3.125' is an erroneous copy of 'p3*.125' throughout. That is, I changed this from a delay increasing and decreasing once over a minute, to one doing this four times (8 segments) in that same minute.
Simple patch with csoundapi running an example from the canonical csound manual (#267, fluidOut) and a speedup of the delay changes to the right ear;
imvol init 4
asigl, asigr fluidOut giengine1 ;add a stereo flanger
adelL linseg 0, p3*.5, 0.02, p3*.5, 0 ;max delay time =20ms
adelR linseg 0.02, p3*.125, 0, p3*.125, 0.02, p3*.125, 0, p3*.125, 0.02, p3*.125, 0, p3*.125, 0.02, p3*.125, 0, p3*.125, 0.02 ;max delay time =20ms <---[changed this]
asigL flanger asigl, adelL, .9
asigR flanger asigr, adelR, .9
outs asigLimvol, asigRimvol
Silly, fun -- might be a usable effect somewhere? (Reminds me of the hardware synthesizer that used to get impossible values in some of its settings.)
@forrest As someone else was asking about on another thread:
You can easily crash your pd if you haven't fed the right numbers into the number box[es -- (One for every joystick one's prehensile toes may be working)] I'm using to open the [hid] ...
So for anyone seriously using the patch I just sent -- unless you're using two sticks you can get rid of much of it. And then (because the system may well assign different numbers the next time you boot) -- First run:
to get the right number[s]