- From: Chris Rogers <crogers@google.com>
- Date: Sat, 7 Apr 2012 12:42:17 -0700
- To: Gabriel Cardoso <gabriel.cardoso@inria.fr>
- Cc: Johann Diedrick <jdiedrick@gmail.com>, public-audio@w3.org
- Message-ID: <CA+EzO0mLTor3bH9b+HjX1Yg+aZCUyURmvmAJy0QGDjWyMx0P1w@mail.gmail.com>
On Sat, Apr 7, 2012 at 11:03 AM, Gabriel Cardoso <gabriel.cardoso@inria.fr>wrote: > 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 > For Chrome you need to launch it with a "special" command-line flag if you want to allow local file access: So, for example for Mac OS X, in a terminal, launch Chrome something like this (adjust pathnames as necessary): $ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-file-access-from-files Cheers, Chris > > > ----- 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 19:42:47 UTC