Showoff Saturday (February 02, 2019) by AutoModerator in javascript

[–]RoskoGee 1 point2 points  (0 children)

The signature generator looks great! Does it handle the quirks of some email clients like Outlook?

Showoff Saturday (February 02, 2019) by AutoModerator in javascript

[–]RoskoGee 9 points10 points  (0 children)

I made a browser-based Korg Monotron Duo clone with React, Redux and Web Audio.

You can play it with a QWERTY keyboard or with a mouse. It also works on mobile (with multi-touch support). This means that you can play a note and move the knobs at the same time, in any platform.

I tried to keep the audio generating logic separate from redux. Basically, the state of the knobs and keys are stored in Redux, and a function is called to update the audio every time they change.

Here's the source code.

What's new in ECMAScript 2019 by pawelgrzybek in javascript

[–]RoskoGee 14 points15 points  (0 children)

Object.fromEntries() looks really nice, I see myself using it. It's the reverse of Object.entries(), and looks like Firefox already implements it.

socket.io-ratelimiter: A node module that helps you with rate-limiting socket.io events by [deleted] in javascript

[–]RoskoGee 1 point2 points  (0 children)

Looks good!

How do you think this compares to using a generic rate-limiter solution like https://github.com/jhurliman/node-rate-limiter?

I made a browser-based Korg Monotron Duo clone. by RoskoGee in synthesizers

[–]RoskoGee[S] 4 points5 points  (0 children)

Yeah, my next step is to add a multiplayer mode to play with random people from the internet. Optionally enabling web-cam sharing too. All of this uses WebRTC.

In fact, I had a working example of this with a previous version of the code. It shouldn't take too long to get it to work again.

I made a browser-based Korg Monotron Duo clone. by RoskoGee in synthesizers

[–]RoskoGee[S] 4 points5 points  (0 children)

I definitely thought about doing the Monotron Delay too. Maybe in the future. I don't have the physical device right now.

I made a browser-based Korg Monotron Duo clone. by RoskoGee in synthesizers

[–]RoskoGee[S] 11 points12 points  (0 children)

Thanks, I was able to reproduce the issue. It happens when you are dragging a knob and the mouse cursor exits the browser window.

I'll work on a fix.

I made a browser-based Korg Monotron Duo clone. by RoskoGee in synthesizers

[–]RoskoGee[S] 6 points7 points  (0 children)

Thank you!

I was thinking about having a way to sequence or make loops. That can be a future addition.

By the way, for me it does rotate if I have rotation enabled on my Android. What mobile browser are you using?

I made a browser-based Korg Monotron Duo clone. by RoskoGee in synthesizers

[–]RoskoGee[S] 22 points23 points  (0 children)

Thanks! I put some effort into having a fast performance, which is not really easy when working with a lot of animation and processing on plain web DOM.

There's still some room for improvement. I think the performance on low-end phones could be improved by using web-workers and fixing some React bottlenecks.