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