From the original SynthMaker forum (2004–2014), with its members’ names and dates.
rl ·
I tried (and failed) to write a custom oscillator using the code module.
What does Midi to Poly send on its frequency and pitch outputs (value ranges/interpretation)?
How can I display values of connectors connected to modules behind Midi To Poly?. Both the Analysis/Waveform view pair and Float data display nothing.
jorge ·
Hi rl and welcome,
Frequency goes from 0 to 1 with 1 being half sampling rate or 22050Hz for 44100 sampling rate.
Pitch is the same as Midi but it is a float so Midi note 64 will generate pitch of 64 but you can add 0.1 to it for example. Basically one pitch unit is a semitone but you can use fractions of a semitone.
rl wrote: How can I display values of connectors connected to modules behind Midi To Poly?. Both the Analysis/Waveform view pair and Float data display nothing.
I'm not sure I understand your question, I think you want to display poly values, at the moment that's not possible. Poly values change at sampling rate which is too fast for displaying.
The way around it which has already been planned is to sample the poly data at a visual rate like for example 25 times per second and output it through a green float connector.
stefan ·
to help rl a wee bit, here's a really simple but working oscillator:
Well, atleast it should work. Just wrote it from top of my head 🙂
To get the right frequency, freq should be multiplied by 0.5. So this plays a tone one octave above freq. I think...
rl ·
thanks guys, much appreciated.
More questions to come, since sm is such a cutie 🙂
> Poly values change at sampling rate which is too fast for displaying
I thought, this is the reason for the max nr. of samples input of the analyser, sampling some values after the trigger input changes.
Wrote something here? To have a post removed or your name hidden, write to [email protected].