SynthMaker

Midi to Poly

Archive · 2005 4 old posts

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:

polyin freq; polyout out; float cnt; out = sin1(cnt); cnt = cnt + freq; cnt = cnt - ( (cnt >= 1.0) & 1.0 );

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.