Hi,
sorry for my stupid request!
I added an integer value at notnum opcode; how convert the result in cps?
All the available csound opcodes takes at MIDI in, but I want to add one value to change it…
All that I found:
midinoteoncps - Gets a MIDI note number as a cycles-per-second frequency
midinoteonkey - Gets a MIDI note number value
midinoteonoct - Gets a MIDI note number value as octave-point-decimal value
midinoteonpch - Gets a MIDI note number as a pitch-class value
cps2pch — Converts a pitch-class value into cycles-per-second (Hz) for equal divisions of the octave
cpsmidi — Get the note number of the current MIDI event, expressed in cycles-per-second
cpsmidib — Get the note number of the current MIDI event and modify it by the current pitch-bend value, express it in cycles-per-second
cpsmidinn - Converts a Midi note number value to cycles-per-second
cpsoct — Converts an octave-point-decimal value to cycles-per-second
cpspch — Converts a pitch-class value to cycles-per-second
cpstmid — Get a MIDI note number (allows customized micro-tuning scales).
cpstun — Returns micro-tuning values at k-rate
cpstuni — Returns micro-tuning values at init-rate
cpsxpch — Converts a pitch-class value into cycles-per-second (Hz) for equal divisions of any interval
notnum — Get a note number from a MIDI event
pchbend — Get the current pitch-bend value for this channel
pchmidi — Get the note number of the current MIDI event, expressed in pitch-class units
pchmidib — Get the note number of the current MIDI event and modify it by the current pitch-bend value, express it in pitch-class units.
pchmidinn — Converts a Midi note number value to octave point pitch-class units.
pchoct — Converts an octave-point-decimal value to pitch-class.
octave — Calculates a factor to raise/lower a frequency by a given amount of octaves.
octcps — Converts a cycles-per-second value to octave-point-decimal.
octmidi — Get the note number, in octave-point-decimal units, of the current MIDI event.
octmidib — Get the note number of the current MIDI event and modify it by the current pitch-bend value, express it in octave-point-decimal.
octmidinn — Converts a Midi note number value to octave-point-decimal.
octpch — Converts a pitch-class value to octave-point-decimal.
(PS: many opcodes seems to double…)
someone help me, please…
many thank’s,
R
ipch notnum
ipch = ipch + 3
…