Hi,
I am just learning to deploy something on wolfram cloud. I tried the following, but it gave an error:
CloudDeploy[Play[Sin[700 t + 25 t Sin[350 t]], {t, 0, 4}]]
Play::cloudf: ?Play is not currently supported in the Wolfram Cloud.
Similarly, the following also failed:
CloudDeploy[Sound[{SoundNote[“C”], SoundNote[“G”]}]]
SoundNote::cloudf: ?SoundNote is not currently supported in the Wolfram Cloud.
SoundNote::cloudf: ?SoundNote is not currently supported in the Wolfram Cloud.
Sound::cloudf: ?Sound is not currently supported in the Wolfram Cloud.
I saw examples of complex manipulations being deployed, but fail to understand the problem with the above deployment.
Sound-related objects are not yet deployable to the cloud. Hopefully we can add this as a feature in a future version.
There are a couple of workarounds, depending on how you want the sound to be represented online. Try using ExportString to convert the sound to a String:
CloudDeploy@
ExportForm[
ExportString[
Play[Sin[700 t + 25 t Sin[350 t]], {t, 0, 4}],
"WAV"],
"String"]
This creates a link that goes directly to a sound file. You can use Import on the resulting url: