Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quinnirill
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
quinnirill
15y ago
One of the earlier demos (about a year old and unfinished) : http://niiden.com/orbisyn/ :) has a virtual MIDI keyboard, to which you can connect a MIDI synth if you have Java. It isn't exactly native support, and it's very unpredictable,
62.
▲
by
quinnirill
15y ago
fft.js supports as large buffers as JS can handle, that depends a bit on the browser, but 256k samples will probably work, you might have some trouble in Chrome, if you have too much other stuff in memory as well. Would be cool to see a dem
63.
▲
by
quinnirill
15y ago
Wow, that's very cool! I think you could make a great learning resource for FM synthesis from there, especially if you'd explain how each of those examples are put together!
64.
▲
by
quinnirill
15y ago
Yep, I definitely see where you're coming from with this. It was my initial take as well, but as crazy as it is, after some time spent comparing different approaches, turned out that this is the fastest way to do it in JavaScript world, and
65.
▲
by
quinnirill
15y ago
Ah yes, looking at the source code makes it a bit obscure, because the inheritance patterns are described in the wrappers. But for generators, you can do, for example osc.append(buffer, channelCount);, because generators are by nature multi
66.
▲
by
quinnirill
15y ago
Actually, the API allows for both, whichever suits your needs. When doing buffer based processing, you can even add advanced automation, etc.
67.
▲
Audio synthesis / processing in JavaScript
(audiolibjs.org)
32 points
by
quinnirill
15y ago
|
14 comments
68.
▲
by
quinnirill
15y ago
I agree! And actually you can already do multichannel stuff, but currently that requires you to use either Audio API exclusively, because Chrome supports only 2 channels for javascript processing (but the internal effects are multi-channel)