UNPKG

ez-web-audio

Version:

Making the Web Audio API super EZ since 2024.

24 lines 837 B
/** * @public * @class utils */ /** * Converts a base64 string into a Uint8Array of binary data. * * @private * @method base64ToUint8 * @param {string} base64String The base64 string that you'd like to be converted into a Uint8Array. * @return {Uint8Array} A Uint8Array of converted binary audio data. */ export declare function base64ToUint8(base64String: string): Uint8Array; /** * Strips extraneous stuff from a soundfont and splits the soundfont into a JSON * object. Keys are note names and values are base64 encoded strings. * * @private * @method mungeSoundFont * @param {string} soundfont A soundfont as a long base64 string * @return {object} A JSON representation of all the notes in the font */ export declare function mungeSoundFont(soundfont: string): string[]; //# sourceMappingURL=decode-base64.d.ts.map