adc~ (vanilla)
From Pdpedia
| {{{example_image}}} caption | |
| Description: | audio input |
|---|---|
| Abbreviation: | |
| Library: | vanilla |
| Author(s): | Miller S. Puckette and others |
| Developer(s): | |
| Release version: | 0.40.3 |
| Release date: | 2007 |
| Status: | active |
| Dependencies: | |
| License: | BSD |
| Website: | http://crca.ucsd.edu/~msp/software.html |
| Programming Language: | |
| Platform(s): | GNU/Linux, Mac OS X, Windows |
| Language: | English |
| Data type(s): | signal |
| Distribution(s): | DesireData, PDa, Pd-extended, Pd-vanilla, puredata debian package, pure:dyne |
Contents |
[edit] Description
ADC and DAC are abbreviations for Analog-to-Digital Converter and Digital-to-Analog Converter respectively. In PD, the objects, [adc~] and [dac~], let you connect to your audio hardware. In the case of [adc~], converting sound to a digital signal - usually through a microphone port, line-in, or other input - and to convert a digital signal into sound - using your speakers, headphone port, or other audio interface.
[adc~] provides real-time input and [dac~] provides real-time output. With no arguments, [adc~] provides an input one mono channel, like the signal from many microphone ports. On the other hand, [dac~] provides outputs for two channels, one to each speaker, by default.
If you need to, you can specify which channel or channels to read from or write to. For example, if you only wanted input from channel 5, you would use [adc~ 5].
<<IMAGE>>
If you wanted to output on channels 1, 2, 5, and 23, you use [dac~ 1 2 5 23].
<<IMAGE>>
Each argument after the object name represents a different channel.
The actual number of available inputs and outputs is set with Pd's command line arguments. If you open a patche that was designed for channels you don't have, [dac~]'s inlets for the nonexistent channels will be ignored and [adc~]'s channels for the nonexistent outlets will output zero.
These objects were last updated for Pd version 0.33.
[edit] Inlets
[adc~]: None.
[dac~]: One for each specified channel.
[edit] Outlets
[adc~]: One for each specified channel.
[dac~]: None.
[edit] Arguments
None or as many as you like. Each argument is an integer channel number. The number of arguments determines the number of outlets on [adc~] and the number of inlets on [dac~].
By default, [adc~] only provides an outlet for channel 1 and [dac~] only provides outlets for channels 1 and 2. [adc~ 1] and [dac~ 1 2] simulate

