Re:A multitouch musical synth built in Typescript/React
by beirut_bootleg on Friday May 06, 2016 @04:46PM
(#11646626)
I don't think it needs to be depending on Facebook stuff. It fatals out if Facebook is blocked or down.
More and more developers are forgetting that some users won't load all or some of the script tags. I have people linking me stuff like this all the time, and all I see is a blank screen.
Re:A multitouch musical synth built in Typescript/React
by iverjo on Friday May 06, 2016 @11:19AM
(#11644548)
Fun to play with! Sadly, touch interaction is broken in Firefox: 1) multitouch doesn't work 2) tap and hold without drag doesn't work. It works well in Chrome, though. I was able to play with 8 fingers at the same time. My touch screen supports 10 fingers at the same time, so I guess it is a limitation in the app (the source code says "VoiceCount: 8")
Re:A multitouch musical synth built in Typescript/React
by MrsPeaches on Friday May 06, 2016 @10:24AM
(#11644175)
Really nice! Loving the multi-touch.
Small bug:
Using in Firefox browser on iPad and playing with four fingers. When I go to move all four fingers to change the pitch of all four notes this causes my iPad to attempt switch to a different app. When I then release all four fingers the notes I was playing 'stick' and continue to play. To stop them I have to refresh the page.
Re:A multitouch musical synth built in Typescript/React
by saidajigumi on Friday May 06, 2016 @12:04PM
(#11644855)
Unless you actually use four/five-finger swipes to change apps, you may want to disable it at Settings > General > Multitasking > Gestures (switch to OFF).
Re:A multitouch musical synth built in Typescript/React
by MrsPeaches on Saturday May 07, 2016 @05:05AM
(#11648904)
I generally do the four finger swipe.
The point was more that the notes 'stick' after I return to the Firefox window. With four fingers playing the sounds can be a little wild. It took me a couple of tries to figure out why it had happened so I am guessing another user might be similarly confused.
Not to take anything away from this delightful little app. I just wanted to help out by reporting a little bug I found.
Re:A multitouch musical synth built in Typescript/React
by greggman on Friday May 06, 2016 @02:33PM
(#11645767)
So AFAICT there's no reason this shouldn't be able to run in phones and tablets it's just that you have to start the audio in a touch event to get things started and the page doesn't seem to be doing that? Or maybe it's intentionally trying to encourage downloading the app?
Re:A multitouch musical synth built in Typescript/React
by boomlinde on Friday May 06, 2016 @12:20PM
(#11644960)
It seems like "Scuzz" introduces some side bands. Maybe through something like ring modulation, or additive synthesis. Then there is the delay effect, which will naturally add some additional frequency content when the time isn't a multiple of the sine period.
But with all of those turned down, there are some interesting shapes in the frequency view. Maybe some sort of stereo spread effect that get mixed to mono for the FFT display?
Re:A multitouch musical synth built in Typescript/React
by colinramsay on Friday May 06, 2016 @08:52AM
(#11643577)
I'm not the creator of this, but to me React isn't about speed, it's about creating isolated, testable components within an understandable architecture. Given that, it's just as useful here as it would be anywhere else.
Re:A multitouch musical synth built in Typescript/React
by ctvo on Friday May 06, 2016 @09:24AM
(#11643759)
As oppose to plain Javascript? Or why is it in the title?
The former can be asked of any library / framework. Visit React's website to learn about why it's useful. Others have covered some reasons: it makes reasoning about applications easier and makes falling into composition of (mostly) stateless components the default
The latter is because people might be interested in seeing what's possible in React. Even viewing the page in React's dev tools is interesting and shows the author is also using Redux.
Re:A multitouch musical synth built in Typescript/React
by bananaoomarang on Friday May 06, 2016 @09:13AM
(#11643690)
Helped it get to the front page!
Seriously though, React and Typescript are both technologies some people prefer to work with, because they find it easier to be expressive/reason about their application's architecture. The 'point' usually boils down to that as far as I know.
More and more developers are forgetting that some users won't load all or some of the script tags. I have people linking me stuff like this all the time, and all I see is a blank screen.
Small bug:
Using in Firefox browser on iPad and playing with four fingers. When I go to move all four fingers to change the pitch of all four notes this causes my iPad to attempt switch to a different app. When I then release all four fingers the notes I was playing 'stick' and continue to play. To stop them I have to refresh the page.
The point was more that the notes 'stick' after I return to the Firefox window. With four fingers playing the sounds can be a little wild. It took me a couple of tries to figure out why it had happened so I am guessing another user might be similarly confused.
Not to take anything away from this delightful little app. I just wanted to help out by reporting a little bug I found.
But with all of those turned down, there are some interesting shapes in the frequency view. Maybe some sort of stereo spread effect that get mixed to mono for the FFT display?
The former can be asked of any library / framework. Visit React's website to learn about why it's useful. Others have covered some reasons: it makes reasoning about applications easier and makes falling into composition of (mostly) stateless components the default
The latter is because people might be interested in seeing what's possible in React. Even viewing the page in React's dev tools is interesting and shows the author is also using Redux.
Seriously though, React and Typescript are both technologies some people prefer to work with, because they find it easier to be expressive/reason about their application's architecture. The 'point' usually boils down to that as far as I know.