nstrayer / shinysense

A bunch of shiny modules that let shiny sense the world around it.
http://nickstrayer.me/shinysense
Other
206 stars 31 forks source link

how to save audio record into wav file #45

Open TonyFly3000 opened 4 years ago

TonyFly3000 commented 4 years ago

Hi ,

May I know how can I save the audio record into wav file ?

############### ui.R ########################### shinylistenr_UI("my_recorder")

############### Server.R ########################### observeEvent(recorder(), { my_recording <- recorder()

nstrayer commented 4 years ago

Hi @TonyFly3000 ,

Currently, there's no way to extract the raw waveforms from the recordings. This is because the Javascript API I am using only returns the fast fourier transformed results. I have it on the to-do list to look into using another API that allows for full-waveform extraction but I haven't gotten around to it yet.

nstrayer commented 4 years ago

Posting this article as a reference for when I do implement wav generation.

TonyFly3000 commented 4 years ago

Got it . Thanks a lot . shinysense is great project . I have make a demo for object detection with shinysense camera input. https://tduan.shinyapps.io/object_detection_shiny/

Waiting for the wav recorder as the voice recognization input.

Thank you Tony Duan

TonyFly3000 commented 3 years ago

Any update on saving audio record into wav file?