Hello
I have imported a patch dump which has sysex strings containing MIDI data values for various synth parameters. There was no problem in extracting specific data values using $27, $45 etc.etc. Now I would like to normalize each extracted data value to a range of 0 - 1. This is easy enough for example, multiplying oscillator output values of 0 - 100 by 0.01, dividing pitch bend range values of 0 -12 by 12 etc.etc. Now I would like to assign variables to each of these normalized values like $output_osc1= 0.79, $pitch bend = 0.67 ... (I need to normalize these values for sending osc packets.) How can one do this in Pd ? Any advice would be appreciated.
Many Thanks,
e