Live data from Hacker News

Waud.js: Web audio library

waudjs.com

1–10 of 26 posts

Re: Waud.js: Web audio library

#3
post #2

My only complaint is it is written in Haxe instead of ES6. It would make sense to code it in Haxe if it were to be ported to PHP, C++ and the likes but it appears to be strictly for web audio

I don't want to derail this whole submission talking about haxe, but this is the first time I've really ever looked at it.

It's not like haxe is some kind of crazy offshoot language, it looks pretty damn close to typescript and flow (But to me this looks closer to "regular javascript" than most typescript and flow does).

With the exception of the `@:expose` and `@:keep` stuff, there isn't anything i've seen yet just browsing through the source that I don't understand (as a javascript developer), and i've never seen the language before in my life.

Re: Waud.js: Web audio library

#4
post #3
post #2

My only complaint is it is written in Haxe instead of ES6. It would make sense to code it in Haxe if it were to be ported to PHP, C++ and the likes but it appears to be strictly for web audio

I don't want to derail this whole submission talking about haxe, but this is the first time I've really ever looked at it. It's not like haxe is some kind of crazy offshoot language, it looks pretty damn close to typescript and flow (But to me this looks closer to "regular javascript" than most typescript and flow does). With the exception of the `@:expose` and `@:keep` stuff, there isn't anything i've seen yet just…

Haxe started out as an improved alternative flash compiler, and ActionScript was once slated to become ECMAScript compliant, so that's probably why it looks very close to "regular javascript". :)

Re: Waud.js: Web audio library

#8

What is going on, why on earth are we now encoding audio in base64? It's gone beyond getting angry, now I'm just sad for the state of this whole schlamassel.

The only reason for encoding audio in base64 is to reduce the number of requests which in turn reduces the loading time. It's an alternative to audio sprites. Useful when you have a lot of audio files to load.

Re: Waud.js: Web audio library

#10
post #7

Earlier quoted context omitted.

It was tested on all major mobile devices. If you have any issues on mobile, please report it.

Even recording audio?

Web Audio API is all about playback. The media capture API can tackle recording, and it works on mobile: http://simpl.info/mediacapture/
Post reply on HN