Hi everyone, i am having some difficulty getting audio in via an interface in PD. I am running vanilla, have no trouble getting audio out, the correct device is selected in audio settings but when I build a simple patch that receives audio from the [adc~] i just get nothing. I get a signal when i select the built in mic on my laptop but nothing when the interface is selected. anyone else had this problem? any help would be much appreciated!
audio in not working
We probably need more info. What is your OS, and are you using asio, jack etc.?
It could be that all is working well but you are not looking at the correct inputs.
How many inputs does your interface have?
Try an [adc~ 1 2 3 4 5 6 7 8] for example if it has 8 inputs.
If you are using asio it could be that the asio driver sees....
1+2 Computer Mic In
2+3+......10 Interface - 8 channels in.
@whale-av I am using an m-audio usb interface with 2 inputs on Windows. as far as I can tell I don't think I am using asio, seems to just be the soundcard in the interface. I have tried to use asio4all but I have no idea how to access it in pd.
@MrKoggs1 Have you used the interface without Pure Data?
If you want low latency then asio will be the only way to work with windows.
Maybe the M-audio drivers will only work with asio?
If you select "ASIO (via PortAudio)" in the Pd "Media" tab then when you open the tab below for "audio settings..." to select the interface you will see that it now lists the "Asio" drivers.
If you want to use the built-in interface as well then it will be best to use Asio4All..... which can build an aggregate device for all of your sound interfaces (better than Pd can manage).
You will need to set up the asio driver (Asio4All or the M-Audio driver) to match Pd Audio settings...
44100 or 48000Hz
and set Pd to 2 or 3ms in the "Delay (mSecs)" box (more if it doesn't work).
Ticking the "use Callbacks" box is a good idea.
For Vista you will need to tick the "Allow Pull Mode (WaveRT)" box.
Set the "ASIO Buffer Size" to 64 samples.
Sometimes you will need to try (re-open) Pd a few times before everything talks properly.
I might have forgotten something!