sam icon indicating copy to clipboard operation
sam copied to clipboard

How i download the audio?

Open arandombambi opened this issue 2 years ago • 4 comments

i dont know how to download audio.

arandombambi avatar Jul 24 '22 21:07 arandombambi

You have to generate the audio (as in the demo in index.html) and instead of sam.speak(this.textfield.value); call sam.download(this.textfield.value);.

Hope this helps

discordier avatar Jul 25 '22 09:07 discordier

You have to generate the audio (as in the demo in index.html) and instead of sam.speak(this.textfield.value); call sam.download(this.textfield.value);.

Hope this helps

VM69:1 Uncaught ReferenceError: sam is not defined at :1:1

NoteEveryFriday avatar Dec 30 '22 18:12 NoteEveryFriday

what do you mean as in generate? i got into index.html but i don't see anything :(

PotatoBoi35 avatar Sep 05 '23 22:09 PotatoBoi35

what do you mean as in generate? i got into index.html but i don't see anything :(

I wonder how this may be... the code is there: https://github.com/discordier/sam/blob/e037db2845741457d72e0d862f901b42b8db4f5f/index.html#L69

discordier avatar Sep 07 '23 07:09 discordier

I have updated the demo in the latest 0.3.0 release to also contain a download button.

discordier avatar Jun 11 '24 18:06 discordier