document learnings
parent
c69f6c5f7f
commit
1cdefd1eca
|
|
@ -5,7 +5,7 @@ pub fn wav<F>(
|
|||
handler_fn: F
|
||||
) where F: FnMut(Result<rust_whisper_lib::Transcribed, String>) + Send + 'static {
|
||||
flags.model_path = None;
|
||||
flags.model_buffer = Some(include_bytes!("../../models/ggml-tiny.en.bin").to_vec());
|
||||
flags.model_buffer = Some(include_bytes!("../../models/ggml-base.en.bin").to_vec());
|
||||
rust_whisper_lib::wav(flags.clone(), handler_fn, flags.wav.unwrap());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,12 @@
|
|||
|
||||
#RUSTFLAGS="-Clink-args=-lstd++" \
|
||||
|
||||
echo https://github.com/ExistentialAudio/BlackHole
|
||||
echo 0. brew install blackhole-2ch / https://github.com/ExistentialAudio/BlackHole
|
||||
echo 1. Audio Midi Setup / https://existential.audio/howto/StreamFromGarageBandToZoom.php
|
||||
echo 2. Multi-Output Device / primary External Headphones, Drift Correction for BlackHole 2ch
|
||||
echo 3. Aggregate Device / clock MacBook Pro Microphone, Drift Correction BlackHole 2ch
|
||||
echo 4. Discord outputs to Multi-Output Device
|
||||
echo 5. apps read Aggregate Device
|
||||
|
||||
export C_INCLUDE_PATH="$C_INCLUDE_PATH:$PWD/.."
|
||||
export LIBRARY_PATH="$LIBRARY_PATH:$PWD/.."
|
||||
|
|
|
|||
Loading…
Reference in New Issue