| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>SpeechRecognizer & Sound: Transcribe</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
SpeechRecognizer & Sound: Transcribe |
| 13 |
</b></font></table></table> |
| 14 |
<p><a href="transcription_with_whisper_cpp.html">Transcribes</a> selected <a href="Sound.html">Sound</a> using selected <a href="SpeechRecognizer.html">SpeechRecognizer</a> object and writes the result of transcription to the <a href="Info_window.html">Info window</a>.</p> |
| 15 |
<p>The sound is automatically resampled to 16 kHz (the sampling frequency expected by <a href="whisper_cpp.html">whisper.cpp</a>) before being processed.</p> |
| 16 |
<p>The transcription uses the <a href="speech_activity_detection_with_Silero_VAD.html">speech activity detection with Silero VAD</a> built into <a href="whisper_cpp.html">whisper.cpp</a> to skip non-speech parts of the sound, which improves both speed and accuracy.</p> |
| 17 |
<p>The result is a flat text string containing the full transcription.</p> |
| 18 |
<hr> |
| 19 |
<address> |
| 20 |
<p>© Anastasia Shchupak 2026-03-15</p> |
| 21 |
</address> |
| 22 |
</body> |
| 23 |
</html> |