ATSWriter:
Filter:
Classes (extension) | Libraries > Dorota | Analysis

ATSWriter
ExtensionExtension

write ATS binary files
Location: NOT INSTALLED!

Description

Writes a Z354Sound to a binary .ats file in ATS Type 2 (amplitude, frequency, phase). The header is 10 doubles, followed per frame by a time value and (amp, freq, phase) per partial.

ATS files are little-endian, while SuperCollider's putDouble is big-endian. The writer therefore emits big-endian to a temporary file, reads it back, reverses each group of eight bytes, and writes the final file.

NOTE: This help page documents the class at the level of its purpose and contracts. Method-by-method documentation is still to be written; the class source carries inline comments in the meantime.

Class Methods

Inherited class methods

Instance Methods

Inherited instance methods

Examples