1. What did I do yesterday?
I attended the peer review and tested the flask app locally.
This refactor only changes how audio is sourced (mic/file/url/stdin) through the
AudioSource abstraction, while the existing buffering, chunk rotation, and
/transcribe flow remain unchanged.
It is implemented in two files audio source and audio grabber, because all input types eventually produce the same thing:
-
16kHz
-
mono
-
16-bit PCM audio chunks
So instead of letting AudioGrabber care about:
-
microphones
-
ffmpeg
-
URLs
-
files
-
stdin
…I created a common abstraction. This also allows us to very easily update the code to handle any new audio type we wish to add in the future, because they all break down into the basic 16-bit PCM before going to audio grabber.
2. What do I plan to do today?
I still have to test some audio input formats with ffmeg. Will try to complete it today. next task is to have a single command run for this and after that i'll restructure the entire flask app.
3. What is blocking me from making progress?
No Blocker at the moment. the testing takes time, but since this is important, if properly implemented, the development after this should pick pace fast.