What is Nostr?
Arin Quoll /
npub124s…dx96
2024-09-26 19:12:15

Arin Quoll on Nostr: sox -t alsa hw:1,0 output.wav silence 1 0.2 0.2% 1 1.0 20.2% ; curl --request POST ...

sox -t alsa hw:1,0 output.wav silence 1 0.2 0.2% 1 1.0 20.2% ; curl --request POST --url https://api.openai.com/v1/audio/transcriptions --header "Authorization: Bearer $OPENAI_API_KEY" --header 'Content-Type: multipart/form-data' --form file=@output.wav --form model=whisper-1 > speech.json ; notify-send "$(cat speech.json | jq .text)"
Author Public Key
npub124su4u85agl2rhd8w3elevm5lwt54gse8nmdpfj0wwwmegaemncsatdx96