Group Abstract Group Abstract

Message Boards Message Boards

0
|
13.2K Views
|
13 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Anyone got sound play to work?

Posted 11 years ago
POSTED BY: Chris Jordan
13 Replies
POSTED BY: Marco Thiel
POSTED BY: Marco Thiel

Hi,

the Play function produces the interface on which you have to click to play the sound. If you want to play the sound directly you can use:

EmitSound[Play[Sin[440 2 Pi t], {t, 0, 1}]]

Cheers,

Marco

POSTED BY: Marco Thiel
Posted 11 years ago
POSTED BY: Chris Jordan
Posted 11 years ago

Try your example again. Play[Sin[440 2 Pi t], {t, 0, 1}] should work now. There was indeed a bug with the click handling. We recently improved support for this. We have not yet removed the "not supported in the cloud" icon in the documentation.

Thanks,

John

POSTED BY: John Pacey
Posted 11 years ago
POSTED BY: Chris Jordan
Posted 11 years ago
POSTED BY: Chris Jordan
POSTED BY: Marco Thiel
Posted 11 years ago
POSTED BY: Chris Jordan

No, on my local computer. I had not noticed that you were speaking about the cloud. I would not expect sound to work on the Cloud. If you look at the documentation for Play:

https://reference.wolfram.com/language/ref/Play.html?q=Play

you'll see a little symbol on the upper right that says that this function is not supported in the cloud.

Cheers,

Marco

POSTED BY: Marco Thiel
Posted 11 years ago

Oh, now I see what you are saying. Sorry. Yes, it does work for me. (OS X 10.10.4, MMA 9-10.2). Never had a problem with it.

On Programming Cloud in a browser?

Do other interactive boxes work on your computer, e.g. does Manipulate work as expected? Which version of Mathematica

Not Mathematica. Programming Cloud.

I guess that this is not a problem specific to Play. Can you play any wav-file after importing it?

As I said, the docs Play example works fine.

POSTED BY: Chris Jordan
POSTED BY: Marco Thiel
Posted 11 years ago

the Play function produces the interface on which you have to click to play the sound.

Understood. Does it work for you?

Because, as I said, when I click ">", I just get the border shown.

POSTED BY: Chris Jordan
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard