AllenDowney / ThinkDSP

Think DSP: Digital Signal Processing in Python, by Allen B. Downey.
https://allendowney.github.io/ThinkDSP/
3.97k stars 3.23k forks source link

IPython.display #41

Closed rf-andrade closed 5 years ago

rf-andrade commented 6 years ago

I've just started the thinkdsp pdf reading, and it's a very good material, indeed. I'm on the first chapter, and facing an issue that I cannot understand yet. When I run:

from IPython.display import Audio\ audio = Audio(data=wave.ys, rate=wave.framerate)\ audio

I get , but no player.

I'm running the code in Spyder, with Anaconda.

AllenDowney commented 6 years ago

That should work in Jupyter notebook; not sure about Spyder.

zwarshavsky commented 6 years ago

I am having iPython display issues as well. In the entire Wave section I see

NameError: name 'wave' is not defined

From jupyter notebook chapter 1:

image

AllenDowney commented 6 years ago

I have not tried using these widgets in Spyder, but it sounds like they don't work. Have you tried running in a Jupyter notebook?

On Wed, Apr 18, 2018 at 12:31 AM, zwarshavsky notifications@github.com wrote:

I am having iPython display issues as well.

From jupyter notebook chapter 1:

[image: image] https://user-images.githubusercontent.com/21163691/38911830-d096f3a6-429f-11e8-9181-a79ef5f77e1c.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkDSP/issues/41#issuecomment-382257175, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy37UZwsrRKUTnDpG0gNrsYY7IttJtBks5tpsGvgaJpZM4SlFgC .