axAudioParamsFromMimeType
function axAudioParamsFromMimeType(mimeType?: string): object;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/audio/util.ts#L59
Read the rate= and channels= parameters that raw-PCM mime types such as
audio/l16; rate=24000; channels=1 carry, since the bytes themselves don’t.
Parameters
| Parameter | Type |
|---|---|
mimeType? | string |
Returns
object
| Name | Type |
|---|---|
channels? | number |
sampleRate? | number |