JBHF commited on
Commit
764093a
1 Parent(s): 48cb3ec

Update streamlit-audiorecorder_An_audio_Recorder_for_streamlit.txt

Browse files
streamlit-audiorecorder_An_audio_Recorder_for_streamlit.txt CHANGED
@@ -1,5 +1,37 @@
1
  streamlit-audiorecorder_An_audio_Recorder_for_streamlit.txt
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  streamlit-audiorecorder
4
  An audio Recorder for streamlit
5
  Description
 
1
  streamlit-audiorecorder_An_audio_Recorder_for_streamlit.txt
2
 
3
+
4
+ # https://github.com/theevann/streamlit-audiorecorder
5
+ # An audio Recorder for streamlit
6
+ #
7
+ # Description
8
+ # Audio recorder component for streamlit.
9
+ # It creates a button to start the recording and takes three arguments:
10
+ # the start button text, the stop button text, and the pause button text.
11
+ # If the pause button text is not specified, the pause button is not displayed.
12
+ #
13
+ # Parameters
14
+ # The signature of the component is:
15
+ # audiorecorder(start_prompt="Start recording", stop_prompt="Stop recording", pause_prompt="", key=None):
16
+ # The prompt parameters are self-explanatory, and the optionnal key parameter is used internally by streamlit
17
+ # to properly distinguish multiple audiorecorders on the page.
18
+ #
19
+ # Return value
20
+ # The component's return value is a pydub AudioSegment.
21
+ #
22
+ # All AudioSegment methods are available, in particular you can:
23
+ # - Play the audio in the frontend with st.audio(audio.export().read())
24
+ # - Save the audio to a file with audio.export("audio.wav", format="wav")
25
+ # JB: Waarom zie ik in mijn HF Spaces omgeving de file "audio.wav" niet terug ?
26
+ #
27
+ # Installation:
28
+ # pip install streamlit-audiorecorder
29
+ # Note: This package uses ffmpeg, so it should be installed for this audiorecorder to work properly.
30
+ #
31
+ # On ubuntu/debian: sudo apt update && sudo apt install ffmpeg
32
+ # On mac: brew install ffmpeg
33
+
34
+
35
  streamlit-audiorecorder
36
  An audio Recorder for streamlit
37
  Description