/** * Adds the header bytes and start bits necessary for writing high-speed cassettes. The input bytes * must not have the start bits already inserted. */ export declare function wrapHighSpeed(bytes: Uint8Array): Uint8Array; /** * High-speed CAS files have start bits built-in. Strip these out because * we re-insert them below when encoding. We could also remove the * writing of start bits below, but we don't really know how many bits * there are at the end that we shouldn't write. * * Update: We no longer insert start bits in encodeHighSpeed(), so this * routine is no longer necessary, but we keep it around anyway. */ export declare function stripStartBits(inBytes: Uint8Array): Uint8Array; /** * Encode the sequence of bytes as an array of audio samples for high-speed (1500 baud) cassettes. * @param bytes cas-style array of bytes, including 256 0x55 bytes, sync byte, and start bits. * @param sampleRate number of samples per second in the generated audio. */ export declare function encodeHighSpeed(bytes: Uint8Array, sampleRate: number): Int16Array; //# sourceMappingURL=HighSpeedTapeEncoder.d.ts.map