ruby keyboard

Post any examples or modules that you want to share here
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: ruby keyboard

Post by Perfect Human Interface »

This is so cool Nubeat. :)

I noticed some odd notes playing with you click around the bottom edge right below the keys and the right-most pixels. And occasionally on the edge right between the keys.

Also I know it's a pain but for those of us who are particular about our graphics, it's really best to create a few pixels of buffer around the edge of the draw area so that the edges aren't getting clipped off. Unless you make the outline weight 0.1, which I prefer anyway. If I were you I'd add that to the properties as well.

I like the sound of those sine tones so much that I couldn't stop clicking on this for some time. :P
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: ruby keyboard

Post by Nubeat7 »

thx for the report, i forgot the check, if mouse is in valid area inside the mouseLdown method (i did it only in the captureMouse methode)... so i fixed again just the half of the bug...damn

anyway now everything should be fine (i hope :))

update as usual in the first post
djbrynte
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am
Contact:

Re: ruby keyboard

Post by djbrynte »

is it possible to make some 3d version or something? I can pay for a 3d version ? :)
djbrynte
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am
Contact:

Re: ruby keyboard

Post by djbrynte »

i think its a bugg in the keyboard its crashed some times.
djbrynte
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am
Contact:

Re: ruby keyboard

Post by djbrynte »

sry was not the piano i made mistake with 2 same presets in synth. 2 knobs with same values :/
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: ruby keyboard

Post by Nubeat7 »

hi all, just updated the first post and added an image version of the keyboard, there you can use your own images for the keys to make it look more realistic ;)
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: ruby keyboard

Post by RJHollins »

Hi NuBeat ... downloaded the new posting ....

I got a 'Buffer can't be create' ... error.

and ... the GUI does not have any keys showing :|
User avatar
Loopeytunes
Posts: 57
Joined: Tue Jul 13, 2010 11:07 am
Location: Yorkshire, UK
Contact:

Re: ruby keyboard

Post by Loopeytunes »

I'm using FS 3.0.8.1 and all seems to work for me.

I've been working on a scalable keyboard and now this makes it pointless for me to finish it haha

Great work and thank you for the update.

Cheers,
Loopey
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: ruby keyboard

Post by Spogg »

Brilliant keyboard!

I like so much about this and it works fine for me.

Can I please make some cheeky requests?

(1) I have an M-Audio keyboard which doesn't output a note off, it outputs a note on with zero amplitude so it would be great to have an M-Audio option in the Properties view so the on-screen keyboard doesn't latch in the on position when played externally from my keyboard.

(2) It would be really cool if the keyboard output a velocity level based on the vertical position where the mouse is clicked.

Thanks so much for sharing this work. Much respect!

Cheers

Spogg
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: ruby keyboard

Post by Nubeat7 »

glad you like it spogg, please try this version with your m-audio keyboard if it works.. just a fast hack and i'm not very used to program in ruby the last time - i commented the code lines which should do the job
you find it in the event methode under the "when :midi in"

the velocity thing will need a bit more investigation, don't know when i will find time for it..
Attachments
rubykeyboard_008bmp_maudio.fsm
(45.31 KiB) Downloaded 1209 times
Post Reply