Comments (1)
This worked for me :
if audio_bytes:
st.audio(audio_bytes, format="audio/wav")
with open(path_myrecording, mode='bw') as f:
f.write(audio_bytes)
f.close()
I think the problem on your code came from the audio_bytes that is in stereo. I think you are hearing the audio in "slow frame rate". May be the np.frombuffer is not not adapted for stereo.
from audio-recorder-streamlit.
Related Issues (19)
- ModuleNotFoundError , I installed the packag, ran the sample code and got this error HOT 1
- recording stops automatically HOT 4
- Hi dear friend.how can set time duration for recording and how to read audio file that saved? HOT 1
- what's the sample width of returned audio bytes? HOT 1
- Cannot import name 'audio_recorder' from 'audio_recorder_streamlit HOT 6
- There appears to be no way to clear the audio from audio_recorder, even when clearing the caches HOT 7
- There isn't a way to store the recorded audio in a .wav file HOT 3
- is it possible to record audio in single channel?
- Start recording without clicking HOT 2
- Is there any option to specify bitrate while recording the audio?
- How can I use an external function to control the initiation of the recording and let it stop on itself after 3 seconds of silence?
- Start recording without click?
- 我在centos启动服务,使用该功能无法使用,但在Windows下可以正常使用 HOT 1
- Audio recorder not visible in 0.0.9 HOT 1
- audio-recorder-streamlit 0.0.9 isn't compatible with newer streamlit version HOT 3
- The record button is not accessible with screen reader.
- modifying the text next to the mic icon ?
- can not found bootstrap.min.css.map
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio-recorder-streamlit.