ATSpartialtap — returns a frequency, amplitude pair from an ATSbufread opcode.
ATSpartialtap takes a partial number and returns a frequency, amplitude pair. The frequency and amplitude data comes from an atsbufread ATSbufread opcode.
ipartialnum - indicates the partial that the ATSpartialtap opcode should read from an ATSbufread.
kfrq - returns the frequency value for the requested partial.
kamp - returns the amplitude value for the requested partial.
ATSpartialtap takes a partial number and returns a frequency, amplitude pair. The frequency and amplitude data comes from an ATSbufread opcode. This is more restricted version of ATSread, since each ATSread opcode has its own independent time pointer, and ATSpartialtap is restricted to the data given by an ATSbufread. Its simplicity is its attractive feature.
ktime line 0, p3, 2.4 atsbufread ktime, 1, "crt.ats", 20 kfreq1, kamp1 atspartialtap 1 kfreq2, kamp2 atspartialtap 10 kfreq3, kamp3 atspartialtap 20
This example here uses an ATSpartialtap, and an ATSbufread to read partials 1, 10 and 20 from 'crt.ats'. These amplitudes and frequencies could be used to re-synthesize those partials, or something all together different.
ATSread, ATSreadnz, ATSinfo, ATSsinnoi, ATSbufread, ATScross, ATSinterpread, ATSadd, ATSaddnz