Fiddle Object to send MIDI to play a Synthesiser in Max for live

James Burns's icon

So I'm using Fiddle for a project at University and I've hit a brick wall.

Its detecting the sound from my melodica perfectly fine, and it's showing the notes I play on the kslider object. It was sending MIDI perfectly fine to the synthesiser track apart from the note was being constantly played. I tried to sort that out and now there's no MIDI at all!

I was wondering if anyone can help me get the MIDI to send out and possibly tell me how to get velocity or a way to stop the notes from constantly playing

THANKS!

Max Patch
Copy patch and select New From Clipboard in Max.

Max Patch
Copy patch and select New From Clipboard in Max.

Mitch Turner's icon

James,
Rather than using fiddle~, I've had success using the [sigmund~] object. The help file mentions several arguments you might try. I've used the "note" and "env" arguments. So it looks like this:
[sigmund~ note env]

From there it is fairly easy to use a pack object make a "note-velocity" pair that you can use in [makenote] or something similar.

I've had to deal with two issues: 1) You will have to "scale" the env output so that your velocity is mapped from 0 to 127. 2) The MIDI notes come from sigmund~ as floats, so I've had to round them up or down to get the correct MIDI note number.

If you want to try a 64-bit version of sigmund~ for mac (not sure about windows), go here:
https://cycling74.com/forums/sigmund-64-bit-version

Hope this helps and makes some sense,
Mitch