axAudioParamsFromMimeType
function axAudioParamsFromMimeType(mimeType?: string): object;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/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 |