2017 was our 20th year online!

Welcome to the Piano World Piano Forums
Over 2.9 million posts about pianos, digital pianos, and all types of keyboard instruments
Join the World's Largest Community of Piano Lovers (it's free)
It's Fun to Play the Piano ... Please Pass It On!

Shop our online store for music lovers
SEARCH
Piano Forums & Piano World
(ad)
Petrof Pianos
Petrof Pianos
(ad)
Pianoteq
PianoTeq Karsten Collection
(ad)
Piano Life Saver - Dampp Chaser
Dampp Chaser Piano Life Saver
Who's Online Now
53 members (bobrunyan, AlphaBravoCharlie, aphexdisklavier, clothearednincompo, Dfrankjazz, coaster, Beowulf, 11 invisible), 448 guests, and 380 robots.
Key: Admin, Global Mod, Mod
(ad)
Estonia Pianos
Estonia Pianos
Previous Thread
Next Thread
Print Thread
Hop To
Page 1 of 2 1 2
Cybrid (CyberGene's hybrid MIDI controller) is open-source!
#2999449 07/06/20 01:28 PM
Joined: Apr 2007
Posts: 5,875
5000 Post Club Member
OP Offline
5000 Post Club Member
Joined: Apr 2007
Posts: 5,875
If you've followed some of my endeavors on this forum, you probably know about CyberGene's DIY hybrid MIDI controller. Sleutelbos suggested the name Cybrid and I liked it smile

Basically I created a MIDI controller from an old grand piano action by putting optical sensors that detect velocity of the hammer shanks.

After some considerations I decided to make it open-source and free for people to contribute. Here it is:
Cybrid on GitHub

I started publishing it 3 months ago but I am always lazy and slow writing technical docs, so at the suggestion of others, I decided to just publish the current state of the project with some section of the main description still in progress. The readme.md that contains the description is too rushed and probably inconsistent and full of typos or even wrong information. But the code and the PCB design is there.

I can answer questions and will allow for interested smart-heads to be contributors.


My YouTube, My Soundcloud
Currently: Yamaha N1X, DIY hybrid controller -> Garritan CFX
Previously: NU1X, ES7, MP6, CA63, RD-700SX, CDP-100, FP-5, P90, SP-200
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999451 07/06/20 01:43 PM
Joined: Aug 2017
Posts: 511
T
Tyr Online Content
500 Post Club Member
Online Content
500 Post Club Member
T
Joined: Aug 2017
Posts: 511
Thanks. Now i need to find the parts to make a Tybrid. laugh


Kawai Novus NV5
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999452 07/06/20 01:44 PM
Joined: Aug 2017
Posts: 798
E
500 Post Club Member
Offline
500 Post Club Member
E
Joined: Aug 2017
Posts: 798
CG, very good, even for a work in progress page. Kudos to you.


Kawai ES8, Roland RD2000, Yamaha AG06 mixer, Presonus Eris E5 monitors, Sennheiser HD598SR phones.
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999475 07/06/20 02:57 PM
Joined: Jul 2009
Posts: 361
P
Full Member
Offline
Full Member
P
Joined: Jul 2009
Posts: 361
well done! congratulations from us!

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999481 07/06/20 03:19 PM
Joined: Aug 2019
Posts: 536
500 Post Club Member
Online Content
500 Post Club Member
Joined: Aug 2019
Posts: 536
Cybrid is great achievement for sure. Well above what I would ever try.
Let's hope somebody gets their feet wet in there; this would be the best way to find ommissions or ambiguities in the project docs.


Wise men speak because they have something to say; Fools because they have to say something. (falsely attributed to Plato)
Vlad,
Adult beginner
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999488 07/06/20 03:43 PM
Joined: Nov 2018
Posts: 655
N
500 Post Club Member
Offline
500 Post Club Member
N
Joined: Nov 2018
Posts: 655
Impressive work and nice write up. I enjoyed the pics!

I tried to implement Cybrid based on your template and using your code, but the high 3 keys after A7 are not working on mine. Any idea what may be wrong?

😅

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999489 07/06/20 03:43 PM
Joined: Jan 2016
Posts: 2,273
2000 Post Club Member
Offline
2000 Post Club Member
Joined: Jan 2016
Posts: 2,273
Thanks CyberGene - this was a fun ride!

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999554 07/06/20 06:18 PM
Joined: Oct 2006
Posts: 56
D
Full Member
Offline
Full Member
D
Joined: Oct 2006
Posts: 56
Wow. Gonna have a lot to review.... Thanks for this.


1928 Mason & Hamlin Model A
Play it as a VI HERE
Yamaha PF85, Formerly Kawai KG-1D
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999571 07/06/20 07:06 PM
Joined: May 2020
Posts: 61
D
Full Member
Offline
Full Member
D
Joined: May 2020
Posts: 61
I was very impressed before, and I am even more now that I've seen the additional details. My jaws dropped to the floor, broke it and fell at the bottom of the crawling space. This is way more hardware design work than I had anticipated, and I am astonished by how much you have accomplished, starting from zero in such a short time, while having a full time job and a family!

Thanks for sharing!

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999594 07/06/20 07:55 PM
Joined: Sep 2015
Posts: 4,345
4000 Post Club Member
Offline
4000 Post Club Member
Joined: Sep 2015
Posts: 4,345
This is amazing. Thank you so much for this.

I am thinking of having a go. I can see some problems adapting this to my piano, but such problems are insignificant compared to making the impossible possible, as you have done.

👍👍👍

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999600 07/06/20 08:02 PM
Joined: Sep 2007
Posts: 16,615
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2007
Posts: 16,615
Kudos CG, excellent work!


Employed by Kawai Japan, however the opinions I express are my own.
Nord Electro 3 & occasional rare groove player.

"I agree that the User Manual is very good." - arc7urus, March 2019
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999601 07/06/20 08:04 PM
Joined: Sep 2009
Posts: 11,876
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 11,876
I see that you use reflective optical sensors. What characteristic of the moving hammers are you detecting with those sensors?

Your readme in git says that "the phototransistor will change its collector current depending on the proximity of subjects to the sensor".

So is it proximity? Or reflected light? If the latter, how is it working properly when the action is open to varying ambient light (as seen your video), rather than tucked away inside the dark innards of a piano?

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999635 07/06/20 09:22 PM
Joined: Jun 2020
Posts: 7
V
Junior Member
Offline
Junior Member
V
Joined: Jun 2020
Posts: 7
CG: Thank you for your generosity. I antecipate that many clones will appear in the immediate future (and many old actions will get a second fruitful life...).

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
MacMacMac #2999709 07/07/20 01:24 AM
Joined: Jun 2013
Posts: 372
M
Full Member
Offline
Full Member
M
Joined: Jun 2013
Posts: 372
Originally Posted by MacMacMac
I see that you use reflective optical sensors. What characteristic of the moving hammers are you detecting with those sensors?

Your readme in git says that "the phototransistor will change its collector current depending on the proximity of subjects to the sensor".

So is it proximity? Or reflected light? If the latter, how is it working properly when the action is open to varying ambient light (as seen your video), rather than tucked away inside the dark innards of a piano?

CyberGene will be able to answer this more properly, but as far as I know, those sensors have a some kind of light filter which works quite well, and are not afected by ambient light (I don't know if direct sunnlight can bother them...)


Pianoteq / Kawai CL 35 & MP11 / Old 1920's Upright Zimmerman
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999724 07/07/20 03:23 AM
Joined: Apr 2007
Posts: 5,875
5000 Post Club Member
OP Offline
5000 Post Club Member
Joined: Apr 2007
Posts: 5,875
The CNY70 uses its own infrared emitter and the phototransistor is sensitive to 950nm light, i.e. to its emitter and the daylight won't affect it. So, it's a proximity sensor that uses its own reflected light to detect proximity. I've been using my controller without any cabinet in daylight and it hasn't been affected

Last edited by CyberGene; 07/07/20 03:24 AM.

My YouTube, My Soundcloud
Currently: Yamaha N1X, DIY hybrid controller -> Garritan CFX
Previously: NU1X, ES7, MP6, CA63, RD-700SX, CDP-100, FP-5, P90, SP-200
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #2999740 07/07/20 04:56 AM
Joined: Sep 2009
Posts: 11,876
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 11,876
OK, that explains it. One more question: How are the sensors situated with respect to the action? Do the sensors "see" the hammer heads? The shanks? Or something else?

It was not clear from the photos I looked at.

Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
MacMacMac #2999743 07/07/20 05:24 AM
Joined: Apr 2007
Posts: 5,875
5000 Post Club Member
OP Offline
5000 Post Club Member
Joined: Apr 2007
Posts: 5,875
Originally Posted by MacMacMac
OK, that explains it. One more question: How are the sensors situated with respect to the action? Do the sensors "see" the hammer heads? The shanks? Or something else?

It was not clear from the photos I looked at.

Sensors are above the bases of the hammer shanks, close to the pin.


My YouTube, My Soundcloud
Currently: Yamaha N1X, DIY hybrid controller -> Garritan CFX
Previously: NU1X, ES7, MP6, CA63, RD-700SX, CDP-100, FP-5, P90, SP-200
Re: Cybrid (CyberGene's hybrid MIDI controller) is open-source!
CyberGene #3004602 07/20/20 06:50 AM
Joined: Jun 2020
Posts: 7
V
Junior Member
Offline
Junior Member
V
Joined: Jun 2020
Posts: 7
Hi CG