Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Thanks for your answer, I don't manage using external files. (despite changing path, I get WARNING:root:404 GET /files/440.wav (127.0.0.1) ). I'll have a look at how to avoid the use of external file. Commented May 18, 2013 at 14:32
  • Hum, weird, have you change CWD ? when you run the notebook, is the 440.wav file created ? Commented May 19, 2013 at 8:14
  • Sorry for the delay. I was using an old version of ipython. Everything works great now. Having player directly in notebook is very neat to play around with sounds Commented Jun 2, 2013 at 17:44
  • 1
    Btw, I updated (a few hours ago) to avoid going through the file system : nbviewer.ipython.org/urls/raw.github.com/Carreau/posts/master/… happy coincidence :-) Commented Jun 2, 2013 at 21:24
  • @Matt: why do you need to reimplement scipy.io.wavfile.write? It accepts string buffer already... I.e. buffer = StringIO.StringIO();wavfile.write(buffer, sample_rate, samples) Commented Jan 26, 2015 at 7:50