News for hackers. Stuff that matters.
Re:OTranscribe: A free and open tool for transcribing audio ... by btown on Friday August 09, 2024 @11:23AM (#41202749)
Are there any open-source or paid apps/shareware/freeware that can:

- Transcribe word-by-word in real time as audio is recorded

- Work entirely locally

- Use relatively recent open-source local models?

I've been using otter.ai for real-time meeting transcriptions - letting me multitask and instantly catch up if I'm asked a question by skimming the most recent few seconds worth of the transcript - but it's far from perfect and occasionally their real-time service has significant transcription delays, not to mention it requires internet connectivity.

Most of the Whisper-based apps out there, though, as well as (when I last checked) the whisper.cpp demo code, require an entire recording to be ingested at once. There are others that rely on e.g. Apple's dictation frameworks, which is a bit dated in capability at the moment.

Anything folks are using out there?

Re:OTranscribe: A free and open tool for transcribing audio ... by uohzxela on Friday August 09, 2024 @11:29AM (#41202808)
I have built my own local-first solution to transcribe entirely locally in real time word by word, driven by a different need (I'm hard of hearing). It's my daily driver for transcribing meetings, interviews, etc. Because of its local-first capability, I do not have to worry about privacy concerns when transcribing meetings at work as all data stays on my machine. It's about as fast as Otter.ai although there's definitely room for improvements in terms of UX and speed. Caveat is that it only works on MacBooks with Apple silicon. Happy to chat over email (see my HN profile).
Re:OTranscribe: A free and open tool for transcribing audio ... by WaitWaitWha on Friday August 09, 2024 @11:56AM (#41203030)
I have some staff with combined hearing and visual needs. Have you researched the one-, two- all-party consent requirements? Asking because I hope to identify transcription as "non-recording".
Re:OTranscribe: A free and open tool for transcribing audio ... by btown on Friday August 09, 2024 @12:03PM (#41203088)
California has an exception for hearing aids and other similar devices, but it’s unclear if transcription aids count, or if this has been tested in court. https://codes.findlaw.com/ca/penal-code/pen-sect-632/

(Not a lawyer, this is not legal advice.)

Re:OTranscribe: A free and open tool for transcribing audio ... by noah_buddy on Friday August 09, 2024 @12:46PM (#41203447)
If it were ephemeral? Would that change this? Say recording the meeting locally a 5 minute frame then updating a meeting summary?
Re:OTranscribe: A free and open tool for transcribing audio ... by smeej on Friday August 09, 2024 @01:01PM (#41203574)
Do you mean ephemeral, or are you actually wondering about something implanted under the skin? I'd think/hope if it goes under the skin, it ends up in "hearing aid" territory. I'm less sure about if it doesn't persist.
Re:OTranscribe: A free and open tool for transcribing audio ... by brimwats on Friday August 09, 2024 @03:27PM (#41204673)
it's more likely in cochlear implant territory (there are different laws and regulations for implants vs aids depending on locale)
Re:OTranscribe: A free and open tool for transcribing audio ... by noah_buddy on Friday August 09, 2024 @01:29PM (#41203788)
Yup, typo, sorry
Re:OTranscribe: A free and open tool for transcribing audio ... by hansvm on Friday August 09, 2024 @01:29PM (#41203785)
Two/all-party consent are hacky workarounds for the actual harm being inflicted (valid goals including not having your microwave inform Google's ad servers, not recording out-of-context jokes as evidence to imprison people, ... -- invalid goals caught up in the collateral damage include topics like the current one about hearing issues (note that a sufficiently accurate transcription service has all the same privacy problems 2-party consent tries to protect against, maybe more since it's more easily searchable)).

I'd be in favor of some startup pulling an Uber or AirBnB and blatantly violating those laws to the benefit of the deaf or elderly if it meant we could get something better on the books.

Re:OTranscribe: A free and open tool for transcribing audio ... by CyberDildonics on Friday August 09, 2024 @01:54PM (#41203986)
What did your own research turn up?
Re:OTranscribe: A free and open tool for transcribing audio ... by smeej on Friday August 09, 2024 @01:00PM (#41203564)
I was so excited until the very end. I have the wrong hardware.
Re:OTranscribe: A free and open tool for transcribing audio ... by baby_souffle on Friday August 09, 2024 @11:45AM (#41202943)
> Are there any open-source or paid apps/shareware/freeware

Google Pixel phones have this feature and it works _very_ well.

Re:OTranscribe: A free and open tool for transcribing audio ... by neves on Friday August 09, 2024 @12:16PM (#41203207)
Have you tried for non English languages?

New Microsoft Surfaces have this feature but just works for English

Re:OTranscribe: A free and open tool for transcribing audio ... by ericjmorey on Friday August 09, 2024 @12:40PM (#41203409)
How is that feature accessed? Or what does Google call it so I can search for it.
Re:OTranscribe: A free and open tool for transcribing audio ... by abecedarius on Friday August 09, 2024 @01:32PM (#41203808)
Live Transcribe in the accessibility settings. AFAIK it's available on any fairly recent Android phone. I bought a Pixel tablet for no other reason but to run it -- nothing else I've tried comes close for local-only continuous transcribe-as-they-speak. (iOS has a similar feature also under accessibility; it's good but not at the same level. Of course I'd love to see an open-source solution.)

This was for English. One problem it took me a while to realize: when I switched it to transcribe a secondary language, it was not doing it on-device anymore. You can tell the difference by setting airplane mode.

Re:OTranscribe: A free and open tool for transcribing audio ... by Groxx on Friday August 09, 2024 @12:48PM (#41203460)
There's a captioning button under the volume slider, and I think it's called "live captions" or something in settings. Just tap the button and it'll start.

https://support.google.com/accessibility/android/answer/9350...

Re:OTranscribe: A free and open tool for transcribing audio ... by baby_souffle on Sunday August 11, 2024 @02:57PM (#41218513)
It's the "recorder" app. It was released in 2021 I think and has been improving since the beginning.

If you elect to, the audio + transcription can be access/searched via https://recorder.google.com

Re:OTranscribe: A free and open tool for transcribing audio ... by andrei-akopian on Friday August 09, 2024 @12:09PM (#41203145)
futo.org has FOSS voice input android app (voiceinput.futo.org) and live captions (https://github.com/abb128/LiveCaptions) for Linux. They specifically developed their own model that does fast real time transcriptions.

Not sure if that helps for your specific usecase.

Re:OTranscribe: A free and open tool for transcribing audio ... by rpdillon on Saturday August 10, 2024 @08:09AM (#41208917)
I've been using this for the past two or three weeks and I have been very impressed with it. I ended up giving them five dollars because it's now my primary keyboard!
Re:OTranscribe: A free and open tool for transcribing audio ... by smeej on Friday August 09, 2024 @12:59PM (#41203551)
I've been using Transcribro[0] on Android/GrapheneOS. It's FOSS and only local, and while it's not word-for-word real-time, it doesn't have to wait for the whole audio to be uploaded before it can work. This is on a Pixel 5a, so hardly impressive hardware.

It works well enough that I use it with Telegram to shove messages over to my Linux machine when I don't feel like typing them out, which is such an unsophisticated hack, but is getting the job done. I spent a couple hours trying to find a Linux-native alternative, or even get this running in Waydroid, and couldn't find anything that worked as well, so I decided not to let the "smooth" become the enemy of the "good enough to get the job done."

[0] https://github.com/soupslurpr/Transcribro

Re:OTranscribe: A free and open tool for transcribing audio ... by alfredgg on Friday August 09, 2024 @01:03PM (#41203595)
I helped coding oTranscribe+ [0], which does something similar to what you are asking for. Using ElectronJS and the current, at that moment, version of oTranscribe, there is this desktop application. It also exists as web version and PWA [1].

Language models were those from BSC (Barcelona Supercomputing Center) at the time. The transcription is done via WASM, using Vosk [2] as base.

I hope it fits.

[0] https://github.com/projecte-aina/oTranscribe-plus [1] https://otranscribe.bsc.es/ [2] https://github.com/alphacep/vosk-api

Re:OTranscribe: A free and open tool for transcribing audio ... by smeej on Friday August 09, 2024 @02:26PM (#41204202)
Is there a way to get it to punctuate? Or does it only jot down words?
Re:OTranscribe: A free and open tool for transcribing audio ... by alfredgg on Friday August 09, 2024 @03:40PM (#41204776)
It does not punctuate. It just transcribes what is in an audio stream.
Re:OTranscribe: A free and open tool for transcribing audio ... by smeej on Friday August 09, 2024 @05:24PM (#41205503)
Punctuating is enough of the hard work of generating a transcript that it's not very useful to me without this, unfortunately. What use cases are you planning for where the words themselves are the desired output?
Re:OTranscribe: A free and open tool for transcribing audio ... by alfredgg on Saturday August 10, 2024 @01:59AM (#41207640)
It is just an improvement of oTranscribe. It makes transcription easier, since you only have to polish the result, revising and punctuating it.
Re:OTranscribe: A free and open tool for transcribing audio ... by ukuina on Friday August 09, 2024 @04:56PM (#41205348)
Yes! WhisperKit's TestFlight app does all three on Apple Silicon: https://www.takeargmax.com/blog/whisperkit

I wish they had Speaker Diarization, but they are waiting for upstream Whisper to add it: https://github.com/argmaxinc/WhisperKit/issues/31