help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: audio record


From: macy
Subject: Re: audio record
Date: Thu, 22 Jul 2010 15:27:24 -0700
User-agent: SquirrelMail/1.4.20

The hardware probably does not support anything but a few 'given' values.

You should be able to get 44100, but won't get 44000

There's another way to do what you want.  Go directly to your sound card
and directly record.

I did this on WinXP system using the ASIO interface from Steinberg and
wrote special C++ code to record.  and play.

The latency is controllable, but is set default at around 50 ms.  I wanted
better resolution so I run the card 24 bits at the maximum rate of 192000
S/s. Then using octave you can do anything you want with the data.

Regards,


"un speakable" <address@hidden> Thu, July 22, 2010 12:06
pm wrote:
> Hi all,
>
> I have a question to the record function in octave. Everything is working
> very fine, I made my own audio analysis tool. But I have one problem with
> the recording from the microphone.
> x=record(time,samplingrate);
> I can´t change the sampling rate. When I use some other value for the
> sampling rate than 8000 then the time differ from the chosen value, but
> the
> sampling rate is still 8000. For example:
> x=record(1,44000);
> Here the recording time is 5,8 sec it´s close to the value 44000/8000 ->
> sampling rate is still 8000 but recording time excedes the chosen 1 sec.
>
> Do you have a solution for this problem or can you help me how I can
> change
> the sampling rate?
>
> It woult be great, when you could help me!
> Thank you very much for your help!!
>
> Regards,
> Tobias
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]