News for hackers. Stuff that matters.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by natdempk on Saturday September 26, 2020 @11:26PM (#24603992)
This is cool, a nice beginner or general convenience feature might be the ability to highlight some basic scales like major/minor. This would probably get people off the ground writing music that sounds good much quicker.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by ryohey on Sunday September 27, 2020 @12:47AM (#24604288)
Thank you. That's a good idea. I definitely want to implement it.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by kennywinker on Saturday September 26, 2020 @07:38PM (#24603018)
it "works" in firefox, but the playback is laggy and weirdly timed. very cool tho!
Re:Show HN: Fully Open-Sourced Online MIDI Editor by nwsm on Sunday September 27, 2020 @10:23AM (#24606842)
I try to use Firefox on principle, but I find so many sites are slightly or significantly broken in it
Re:Show HN: Fully Open-Sourced Online MIDI Editor by ryohey on Sunday September 27, 2020 @12:59AM (#24604338)
Thank you! Timer related behavior may be a problem. I will investigate more.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by httgp on Sunday September 27, 2020 @02:51PM (#24609166)
It could be because Firefox reduced time precision to fend off fingerprinting and timing attacks. To turn it on, you’d need to set the Cross-Origin-Opener-Policy to “same-origin” and the Cross-Origin-Embedder-Policy to “require-corp”. Reference — https://developer.mozilla.org/en-US/docs/Web/API/Performance...
Re:Show HN: Fully Open-Sourced Online MIDI Editor by gotadollar on Sunday September 27, 2020 @03:44AM (#24604971)
The latency is horrendous, I use a real-time kernel to make music @3ms< you're never going to get that with a fully streaming application however, you could possibly send bigger chunks of data which interact on the client-side. It's still problematic, but bravo! Valiant effort.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by nwsm on Monday September 28, 2020 @11:57AM (#24618021)
This entire application is client-side.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by wheybags on Sunday September 27, 2020 @07:48AM (#24605932)
The name might be problematic, because of https://www.signal.org/
Re:Show HN: Fully Open-Sourced Online MIDI Editor by 0xdeadb00f on Sunday September 27, 2020 @07:09PM (#24610971)
Maybe, but I don't think so, it serves a completely different purpose.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by Kaknut on Sunday September 27, 2020 @12:39AM (#24604264)
It nice! Does it support external peripherals?
Re:Show HN: Fully Open-Sourced Online MIDI Editor by ryohey on Sunday September 27, 2020 @12:44AM (#24604276)
Thank you. I would like to support MIDI input / output in the future. Can you tell me about the equipment you want to use?
Re:Show HN: Fully Open-Sourced Online MIDI Editor by oxyboy on Sunday September 27, 2020 @05:20AM (#24605332)
I’d love to be able to use Novation LaunchKey MIDI controllers.
Re:Show HN: Fully Open-Sourced Online MIDI Editor by catchmeifyoucan on Saturday September 26, 2020 @02:54PM (#24601233)
This is soo cool!

Can I connect my midi keyboard to this as well?

Re:Show HN: Fully Open-Sourced Online MIDI Editor by ryohey on Sunday September 27, 2020 @12:48AM (#24604294)
Not yet. I would like to support it in the future. Thank you!
Re:Show HN: Fully Open-Sourced Online MIDI Editor by chocolatkey on Saturday September 26, 2020 @07:13PM (#24602881)
Considering it says "Currently only works on the desktop version of Google Chrome" it seems like that would be a feature
Re:Show HN: Fully Open-Sourced Online MIDI Editor by wilsonjohn on Saturday September 26, 2020 @02:20PM (#24600934)
Love this. May I know the tech stack involved in this?
Re:Show HN: Fully Open-Sourced Online MIDI Editor by jacobmischka on Saturday September 26, 2020 @08:00PM (#24603123)
The source is published here: https://github.com/ryohey/signal/

Looks like React.

Re:Show HN: Fully Open-Sourced Online MIDI Editor by ryohey on Sunday September 27, 2020 @12:55AM (#24604320)
Thank you.

For your reference

Language: TypeScript UI: React State management: MobX Deploy/Hosting: Vercel

And it uses some browser features. WebAudio is used for audio output. WebGL is used in react-pixi to render many notes faster.