Traditionally, DAWs use the acronym DAC
(for Digital to Analog Converter
)
to refer to the process of sending a digital audio signal out to your system's
audio output device (spakers or headphones). Far be it from us to stir those waters.
Hz.DAC
differs from most nodes in your audio graph as there is only
a single instance. Typical graphs have many nodes downstream from
Hz.DAC
and these are summed to produce the final output signal.
Since there is a single DAC, we don't use NewAnode
to create instances.
Rather we use scene.GetDAC()
.
// This JavaScript snippet routes a single oscillator to the DAC.
let dac = ascene.GetDAC();
let osc = accene.NewAnode("Hz.Osc");
ascene.Chain(osc, dac);
await ascene.Sync();