MyCo ·
http://music-drive.com/files/keytest.osm
It is quite buggy. I tried to make it display the incoming Midi Notes, but that hasn't work. Don't know why. So you just can play it, nothing else.
Maik
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
MyCo ·
http://music-drive.com/files/keytest.osm
It is quite buggy. I tried to make it display the incoming Midi Notes, but that hasn't work. Don't know why. So you just can play it, nothing else.
Maik
oddson ·
That's pretty cool. I guessing you learned a lot about SM getting this to work. 😀
You need to catch the mouseUps that are not in the area pressed.
You'll find the push-button -- which I see you've used as the base for your switches -- grabs mouse events from the LDown, LUp and DragY components. Of these only the drag Y tracks mouse events after the mouse has left the area.
So you need to use the 'AfterDrag' trigger from the DragY component to issue note off messages.
Or you could use the MouseDown boolean output to trigger the mouseUP with the 'boolean to false'.
MyCo ·
Yes, that was hard to get it work. I found now a "cleaner" way to get the same result. And thanks for your help, I've been looking for this problem an hour or so 🙂
MyCo ·
OK, here is it: http://music-drive.com/files/miditest2.osm
It displays incoming Midi-Notes and you can play on it with the mouse. Intern it is very simple now. It just pushes the splitted Midi-Data trough every key.
Shifrin ·
Looks cool, I'd been meaning to make something like this - so you may well have saved me some time 😉
Cheers,
Shif.
skOre ·
Been working on a generated Midi Keyboard for some while now. But this will need some time until it sees the light. Anyways - for a more natural looking keyboard, make black keys 2/3 the height and width of white keys.
MyCo ·
@skOre: The first version had resized the black keys as I added more inputs an outputs. In the last It looks like it should.
Just have a question to the GUI components: Is there another way to make polygon buttons? I made each white key out of 2 or 3 single button wich send state messages to each other. So if you klick one button, the others are also toggled. That works on a white background, but if I use a darker background, I see lines in the white keys.
skOre ·
buttons or any other shapes can not be polygonal atm. Although SM's behaviour with overlapping areas has gotten a lot better.
rl ·
MyCo wrote: but if I use a darker background, I see lines in the white keys.
inserting a Smooth Module with input FALSE into the V-wires before the FilledRectangles should do the trick
Tom7777 ·
Nice work, i made a midi keyboard a while ago which is very similar to yours but not as many keys as i never got it finished 🙂 i was going to try and make it so you could roll along the keys but never got around to adding that feature. It would be a great next step to take if you continue developing this 😀
MyCo ·
As soon as you add that keyboard you loose the polyphony. So I call this one finished and useless 🙂
Wrote something here? To have a post removed or your name hidden, write to [email protected].