An alternative would be to interact with the sound card using sox (
http://sox.sourceforge.net/). In the past, I used sox from Octave to record
and play audio simultaneously. Let me know if you'd like to see the code; I
can probably dig it out of my old backups.

-- mb

On Sun, Jan 17, 2016 at 1:30 PM, CrocoDuck O'Ducks <
[email protected]> wrote:

> Hi there!
>
> I have a number MATLAB scripts that I use for electro-acoustic
> measurements (mainly impulse responses) and I would like to port them to
> JULIA. I also written the data acquisition in MATLAB. It works by streaming
> the test signal to the soundcard outputs while recording from the soundcard
> inputs. I would like to implement that as well. I was looking at AudioIO
> but there are few issues:
>
>
>    - I cannot find documentation/examples on how to record from soundcard
>    input.
>    - I cannot find documentation/examples on selecting the audio device
>    to use.
>    - I cannot find documentation/examples on setting sampling variables
>    (it is in my best interest to use the highest sample rate available).
>
> Are these things possible with JULIA? I think I can use aplayer and
> arecord through JULIA (I am on Linux), but I was wishing to have all the
> code contained within JULIA.
>
> Many thanks, I hope you can point me in the right direction.
>

Reply via email to