SynthMaker

How to transform a Note message to a 'toggle'

Archive · 2005 15 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

lalo ·

Hi guys!

i'm workin' on one of my stupid and mad projects....

i'd need to transform the incoming MIDI note messages to let them behave as 'toggle'....

hit the note and the sound start... hit the note a 2nd time and the sound stops... the 3rd restart..etc...

is it possible to do this in the realm of Midi?

i mean 1st NoteOn = NoteOn 2nd NoteOn = NoteOff...incoming NoteOff are ignored

..i guess we'd need some kind of midi message filter

lemme know if you think about some strategy 🙂

😍

lalo

lalo ·

😀 well i guess a message filter is all a matter of Midi Splitter and some compare operations...

i gonna try 🙂

rl ·

you could have a look at my mixer strip example: the mute button is triggered by some midi message. the filter knobs are set to be driven by endless rotary knobs of my Tascam Controller, so one CC increments and another CC decrements. I've put in some trigger logic. Maybe useful for you.

lalo ·

thanx i'll do.. where can i find it?

lalo

infuzion ·

lalo wrote: thanx i'll do.. where can i find it?

Right in that search link up top; put "mixer strip", [*] Search for all terms, Author: "rl" 😉

lalo ·

damn!!!

i can't really solve this toggle problem.... i'm trying to let my whole keyboard controller as a toggle buttons set... the first time you play a note the note send midi note on... the second time the same note sends note off....

i filtered the note events with velocity 0 so only the note on pass...

the damn problem is....how can i keep track of the actual note numbers... so when the same note number is played the 2nd time that note goes to velocity 0 so a note off is sent...

i can't really go out of this worm can 🙂

any help?

thanx

lalo

oddson ·

Could this be the start of what you're looking for or am I missing the point? (OSM)

oddson ·

I assume the real problem is mapping incoming note values to what you're going to be switching.

Maybe a little more detail on what the output should look like would help.

lalo ·

thanx oddson... the problem with midimono is that you limit the toggle to one note... i have to do it for the whole keyboard...and in a polyphonic fashion... i'll articulate better in the next days 🙂

your help is very appreciated 🙂

thanx

lalo

oddson ·

Then how about this...

...as the guts of a module with target note values fed into it and boolean on/off fed out... (OSM link updated in post above)

lalo ·

thanx oddson... so thi way i have to specify wich note i want to toggle... how could be the cpu usage for using 128 of this modules for all the midi notes?

thanx again

lalo

oddson ·

I never figured on using 128 of them. My solution works for smaller numbers at least.

EDIT - I get it now. I don't know how to do what you want but I have an idea. I'll post later if it turns into anything.

lalo ·

oddson wrote: Is it too big a secret to let us know what you're trying to control?

nah 😀

is not a secret at all...is just still at its very beginnings at the moment i'm workin' on a noise machine that works with noise/random generators/sample and hold stuff and various lfos as a source of modulation for oscs pitch... the noise is processed in various ways before to go to its modulation destinations....filtered or modulated by other sources i want this machine to be triggered by toggle notes...i start a note or multiple notes and i use my hands/fingers to move sliders and pots on my physical controllers... eventually every key or keyzones can trigger different sections of the noise-maker 🙂

now i'm just prototyping the things on..paper 😀... it will be my xmas SM work together with the Synth2 prototyping thing 🙂

lowe and thanx lalo

lalo ·

this is what i get .. thanx oddson again for the help

here's the schematic..rared cause for some reason my server doesn't like .osm http://www.nusic.org/temps/notetoggle3.rar

thanx again 🙂

lalo

oddson ·

Hey lalo - just logged in to post mine... haven't looked at yours yet.

OSM

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.