Giter Club home page Giter Club logo

Comments (5)

KoljaB avatar KoljaB commented on August 13, 2024

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.

Stefan-Kosker avatar Stefan-Kosker commented on August 13, 2024

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.

KoljaB avatar KoljaB commented on August 13, 2024

It would make much more sense to have it before the transcription starts though.

Oh, yes. I agree. Thanks for the hint.

from realtimestt.

Stefan-Kosker avatar Stefan-Kosker commented on August 13, 2024

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.

KoljaB avatar KoljaB commented on August 13, 2024

Try to save the wav as mono 16000 pls this looks like stereo 44100

from realtimestt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.