Skip to content

Commit 61ccbb8

Browse files
J-JaywalkerJames Walker
andauthored
Fix Microphone Transcription Example (#127)
* Fix transcription example * update changelog and version --------- Co-authored-by: James Walker <jamesw@speechmatics.com>
1 parent eef633c commit 61ccbb8

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.0.3] - 2025-06-06
9+
10+
- Fixed microphone transcription tests not working after adding multichan dz support
11+
812
## [4.0.2] - 2025-06-04
913

1014
### Fixed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.2
1+
4.0.3

examples/transcribe_from_microphone.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ async def transcribe_from_device(device, speechmatics_client, language: str, max
3333
enable_partials=True,
3434
enable_entities=True,
3535
)
36-
await speechmatics_client.run(RawInputStreamWrapper(stream), conf, settings)
36+
await speechmatics_client.run(
37+
transcription_config=conf,
38+
stream=RawInputStreamWrapper(stream),
39+
audio_settings=settings,
40+
)
3741

3842

3943
def main(args):

0 commit comments

Comments
 (0)