Comments (5)
This is realized for applications needing to process the whole incoming microphone input. Like if you need to do volume controls or record the whole incoming audio traffic. If you need to access the whole recorded audio of the last transcription process you can use last_transcription_bytes contaning the raw pcm after a transcription.
from realtimestt.
It would make much more sense to have it before the transcription starts though. And besides, saving it using wave, this sounds like the normalized form and not the real raw I guess.
But great library. Thank you mate
from realtimestt.
It would make much more sense to have it before the transcription starts though.
Oh, yes. I agree. Thanks for the hint.
from realtimestt.
Fyi, saving the raw pcm via
with wave.open('myfile.wav', 'wb') as wavfile:
wavfile.setparams((2, 2, 44100, 0, 'NONE', 'NONE'))
wavfile.writeframes(recorder.last_transcription_bytes)
results in weird noises but not the record. There is a high probability, that the problem is, me, a senior in TS and C# but a bloody beginner in python :D
from realtimestt.
Try to save the wav as mono 16000 pls this looks like stereo 44100
from realtimestt.
Related Issues (20)
- Cannot run example browerclient HOT 1
- Simple test not working HOT 3
- browser client example phrases repetition HOT 2
- Multiprocessing issue on macOS HOT 5
- OSError: [Errno -9997] Invalid sample rate HOT 7
- [Feature request] Abort execution
- Question: verify installation HOT 2
- Scipy missing from requirements.txt? HOT 1
- Do I actually need NVIDIA CUDA 12 rather than 11.8? HOT 4
- Imput device: what you hear HOT 7
- No output shown or Logs. HOT 2
- Provide ID for data & transcribtion HOT 3
- Record blocked while transcribing (no real async possible) HOT 3
- Apple Neural Engine integration? HOT 2
- Cuda Error HOT 7
- Launches but does not display any text HOT 5
- How to connect to local computer's mic to RealtimeSTT on a remote cloud server? HOT 4
- How to pass audio file and transcribe it HOT 3
- Example for using remote GPU server? HOT 1
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 realtimestt.