Hacker News new | ask | show | jobs
by cnanders 4470 days ago
It is amazing to see how far HTML and JS have come. What are using for the audio engine when in "synthetic" sound mode? Do you render a custom performance on the fly from pitch samples, or play from a pre-computed mp3/wav?

I've used http://www.songsterr.com before, which is almost identical to this, except it uses Flash. One thing you might consider, to compete with them, is a larger library. I'm pretty sure they built their massive (practically complete) library from pre-existing GuitarPro tabs. From your docs, it looks like you can read GuitarPro tabs, so it might be worth doing a massive import. Not sure about the legality of this, but it is worth considering. I'm pretty sure songsterr basically went from non existing, to having almost every song ever created when they launched. The only way they could do this is using GuitarPro tabs. I wonder if they have a licensing deal with the copyright owners? Anyway, I'm definitely interested in how you do sound in Javascript. Cheers for a fantastic UI and a beautiful design.

1 comments

Synthetic are ripped from this file: http://d2c3nvafyekx5z.cloudfront.net/soundfonts/piano.oga

It's surprising how seamless it works. This would be the sort of thing 18-24 months ago that we'd argue Flash would hold over traditional web. Not anymore.

EDIT: With a bit of JS and audio hacking you could actually replace the synthetic sounds with something from here: http://soundfonts.homemusician.net/ I'm sure they plan to add additional "soundfonts" as they call them later on. Can only assume that piano works best.

Yes, you're exactly right about how it works. We'll be adding other soundfonts soon. Piano worked the best for launch, but it'd definitely be better with instrument-appropriate sounds.

Adrian @ Soundslice

Indeed we've created a web app that plays a playlist On multiple devices in sync using the web audio API.

It works in iOS and in any modern version of chrome.