|
libSDRForge
|
Convert demodulated NOAA audio to observations without network calls. More...
Public Member Functions | |
| None | __init__ (self, OfflineSpeechRecognizer recognizer, *, int frequency_hz=162_550_000, str|None location=None) |
| Provide init behavior. | |
| TranscriptionResult | process (self, np.ndarray pcm, int sample_rate) |
| Provide process behavior. | |
Public Attributes | |
| recognizer = recognizer | |
| frequency_hz = frequency_hz | |
| location = location | |
Convert demodulated NOAA audio to observations without network calls.
| None sdrforge.weather.transcription.NoaaTranscriptionPipeline.__init__ | ( | self, | |
| OfflineSpeechRecognizer | recognizer, | ||
| * | , | ||
| int | frequency_hz = 162_550_000, | ||
| str | None | location = None ) |
Provide init behavior.
| self | The current instance. |
| recognizer | The recognizer value. |
| frequency_hz | The frequency hz value. |
| location | The location value. |
| TranscriptionResult sdrforge.weather.transcription.NoaaTranscriptionPipeline.process | ( | self, | |
| np.ndarray | pcm, | ||
| int | sample_rate ) |
Provide process behavior.
| self | The current instance. |
| pcm | The pcm value. |
| sample_rate | The sample rate value. |
| sdrforge.weather.transcription.NoaaTranscriptionPipeline.frequency_hz = frequency_hz |
| sdrforge.weather.transcription.NoaaTranscriptionPipeline.location = location |
| sdrforge.weather.transcription.NoaaTranscriptionPipeline.recognizer = recognizer |