W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Re: Web Audio Examples Re: Realtime Analyzer

From: Gabriel Cardoso <gabriel.cardoso@inria.fr>
Date: Sat, 7 Apr 2012 20:03:19 +0200 (CEST)
To: Johann Diedrick <jdiedrick@gmail.com>
Cc: public-audio@w3.org
Message-ID: <997393541.814348.1333821799796.JavaMail.root@zmbs2.inria.fr>
Hello Johann, 

Any errors in the Javascript Console ?

I didn't look closely at this example but I bet it loads the audio buffers with an XMLHttpRequest. This won't work on local files in Chrome... You need to launch a web server locally or try to find a hack to allow XMLHttpRequests for file:// protocol in Chrome 

Hope it helps, good luck !

Gabriel


----- Mail original -----
> De: "Johann Diedrick" <jdiedrick@gmail.com>
> À: public-audio@w3.org
> Envoyé: Vendredi 6 Avril 2012 19:42:00
> Objet: Web Audio Examples Re: Realtime Analyzer
> Hello List-
> 
> I recently came across the Web Audio examples on this page:
> 
> http://chromium.googlecode.com/svn/trunk/samples/audio/index.html
> 
> They are really fantastic! I'm interested in working with the Realtime
> Analyzer example for a project. I'm having problems getting it to work
> on my local machine, however. I've downloaded the HTML source, along
> with the js files included with the HTML source. And yet, it still
> won't
> load when I try to run the page. Is there something I'm missing? Would
> it be possible to get the entire folder that contains that example?
> 
> Thanks so much in advance.
> 
> All the best.
> 
> -Johann
Received on Saturday, 7 April 2012 18:03:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 7 April 2012 18:03:50 GMT