frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: SpeechAnalyzerDylib – C-FFI for macOS 26.0 SpeechAnalyzer API

https://github.com/aethiopicuschan/speech-analyzer-dylib
2•aethiopicuschan•3h ago
Hi HN,

I’m excited to share SpeechAnalyzerDylib, a tiny C-compatible dynamic library that wraps Apple’s upcoming SpeechAnalyzer API in macOS 26.0 (Tahoe). If you’re building a Swift, Objective-C, or plain C project and want to add on-device transcription with virtually no boilerplate, this might help.

## Key Features

- *C-FFI wrapper* Exposes a simple, C-compatible API so you can call from Swift, Objective-C or plain C.

- *Asynchronous File Transcription* `sw_transcribeFile(const char filePath, const char locale, TranscriptionCallback callback, void userData)` Transcribe any audio file on disk in the background; delivers full transcript or error string via your callback.

- *In-Memory Data Transcription* `sw_transcribeData(const uint8_t bytes, size_t size, const char locale, TranscriptionCallback callback, void userData)` Transcribe raw audio buffers by internally writing a temp file and reusing the file-based transcription path.

- *Live Microphone Streaming* `sw_startMicrophoneTranscription(const char locale, TranscriptionCallback callback, void userData)` Stream real-time speech from the default mic, receive partial transcripts as they arrive, and stop automatically when the engine stops.

- *Locale-Aware* All APIs accept an optional locale identifier (defaults to system locale) for language-specific models.

- *Automatic Model Management* Verifies or downloads the needed offline speech model for your chosen locale before starting transcription.

- *Callback-Driven Error Handling* On failure, your callback receives an `"Error: …"` string so you can handle retries or fallbacks.

- *Zero External Dependencies* Built solely on Apple’s AVFoundation & Speech frameworks—no third-party libraries required.

## Version requirements

macOS 26.0 (Tahoe) beta Xcode 26 beta

Both are currently in beta, and SpeechAnalyzer is only available on the beta seed, so you’ll need to be running the developer betas to try it out.

## Repository & license

https://github.com/aethiopicuschan/speech-analyzer-dylib Licensed under MIT.

## Feedback & contributions welcome

Open issues for bugs or edge cases you encounter Submit PRs to add tests, CI, or sample integrations Share your experiences or integration questions below Looking forward to hearing what you build with it!

If you care about money or power, stay close to AI

https://twitter.com/paulg/status/1939985801900601389
1•dsrtslnd23•1m ago•0 comments

Version Control for AI Coding

https://branching.app
1•sheremetyev•1m ago•0 comments

Switching on a silent gene revives tissue regeneration in mice

https://phys.org/news/2025-06-silent-gene-revives-tissue-regeneration.html
1•pseudolus•2m ago•0 comments

Helsinki appeal court convicts two HS journalists of treason

https://yle.fi/a/74-20170451
1•rbanffy•5m ago•0 comments

The Open Source Terraform Provider for OpenAI

https://mkdev.me/posts/announcing-the-open-source-terraform-provider-for-openai
1•fodoj•7m ago•0 comments

Singapore police can now seize bank accounts to stop scams

https://www.bbc.com/news/articles/c2k1148dwdwo
1•9woc•9m ago•0 comments

Is Peter Thiel the Antichrist? NYT Didn't Think to Ask

https://www.thenerdreich.com/is-peter-thiel-the-antichrist-nyt-didnt-think-to-ask/
2•antfarm•11m ago•1 comments

Show HN: Semcheck – AI Tool for checking implementation follows spec

https://github.com/rejot-dev/semcheck
2•duckerduck•12m ago•0 comments

AI consciousness is not impossible – but LLMs of today must not be conscious

https://github.com/dmf-archive/PILF/blob/main/readme.md
2•NetRunnerSu•23m ago•0 comments

UK Uses Tech to Reform Services, Raising Concerns over Transparency and Control

https://sfg.media/en/a/ai-as-a-tool-for-saving-money/
1•sergeyfomkin•25m ago•0 comments

Escher's Art and Computer Science

https://github.com/gritzko/librdx/blob/master/blog/escher.md
1•signa11•27m ago•0 comments

Harsh Working Environment in Japan

1•wakuwakustudio•29m ago•1 comments

How to Dismantle a Dictatorship

https://georgiebc.wordpress.com/2025/04/01/how-to-dismantle-a-dictatorship/
2•midzer•30m ago•0 comments

Cross-Compiling 10k Go CLI Packages Statically, Using Zig

https://blog.pkgforge.dev/cross-compiling-10000-go-cli-packages-statically
1•azathothas•33m ago•1 comments

What Can We Learn from History's Most Bizarre Software Bugs?

https://thenewstack.io/what-can-we-learn-from-historys-most-bizarre-software-bugs/
1•rbanffy•37m ago•0 comments

Whitehall's ambition to cut costs using AI is fraught with risk

https://www.theguardian.com/technology/2025/jul/01/whitehall-ambition-to-cut-costs-using-ai-is-fraught-with-risk
1•chrisjj•38m ago•0 comments

Amazon Q

https://aws.amazon.com/q/
1•tosh•40m ago•0 comments

Alert: Local Root Sudo Vulnerability

https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot
2•itvision•42m ago•2 comments

Pbf2sqlite: Reading OpenStreetMap into a SQLite Database

https://github.com/osmzoso/pbf2sqlite
1•amadeuspagel•44m ago•0 comments

You are what you launch: how software became a lifestyle brand – Omer

https://omeru.bearblog.dev/lifestyle/
2•freediver•45m ago•0 comments

Fermi America, Texas Tech unveil $11B HyperGrid AI campus proposed

https://www.amarillo.com/story/news/2025/06/27/fermi-america-and-texas-tech-university-unveil-plans-for-11-billion-hypergrid-ai-campus/84377449007/
1•mpweiher•1h ago•0 comments

Trump suggests DOGE look at subsidies for Musk's companies to save money

https://www.reuters.com/business/autos-transportation/elon-musk-renews-criticism-trump-spending-bill-calls-new-political-party-2025-06-30/
3•jmsflknr•1h ago•0 comments

Deutsche Bahn train hits 405 km/h without falling to bits

https://www.theregister.com/2025/06/30/deutsche_bahn_test/
3•nixass•1h ago•0 comments

Wikipedia: WikiProject AI Cleanup/AI Catchphrases

https://en.wikipedia.org/wiki/Wikipedia:WikiProject_AI_Cleanup/AI_catchphrases
1•exegete•1h ago•0 comments

Show HN: I Built a Cluely Alternative

https://interm.ai/
1•devilzhong•1h ago•0 comments

XBOW – CVE-2025-49493: XML External Entity (XXE) Injection in Akamai CloudTest

https://xbow.com/blog/xbow-akamai-cloudtest-xxe/
2•isaacfrond•1h ago•0 comments

Show HN: I Built a Paul Graham AI Advisor for Founders and Hackers

https://paulgraham.resurrect.space
3•vednig•1h ago•0 comments

GodFather malware hijacks banking apps on Android devices

https://www.americanbanker.com/news/godfather-malware-poses-new-threat-to-android-banking-apps
3•Ozarkian•1h ago•0 comments

Left-Handed Creativity Myth Debunked

https://neurosciencenews.com/left-handed-creativity-29375/
1•isaacfrond•1h ago•0 comments

Show HN: Voice assistant software for ESP32 in C

https://github.com/JLW-7/wally-c
1•neon443•1h ago•0 comments