1
Multichannel support
We now offer multichannel transcription, allowing users to transcribe files with up to 32 separate audio channels, making speaker identification easier in situations like virtual meetings.
You can enable multichannel transcription via the `multichannel` parameter when making API requests. Here's how you can do it with our Python SDK:
import assemblyai as aai
aai.settings.api_key = "YOUR_API_KEY"
audio_file = "path/to/your/file.mp3"
config = aai.TranscriptionConfig(multichannel=True)
transcriber = aai.Transcriber(config=config)
transcript = transcriber.transcribe(audio_url)
print(transcript.json_response["audio_channels"])
print(transcript.utterances)
You can learn more about multichannel transcription in our Docs.