Re: recording a sine wave with jack
UfE - Stefanie Schmidt <stefanie.schmidt <at> ufegmbh.de>
2009-02-04 19:19:07 GMT
Thank you for the quick answer,
I work with a sine wave generator, so it should make a perfect sine wave.
Jack prints:
delay of 221446.000 usecs exceeds estimated spare time of 11292.000:
restart ...
I called it with:
jackd -R -d alsa --device hw:1 -r 44100 -p 512 -n 100
so I think the buffer is quiet big...
Regards, steffi
On Wednesday 04 February 2009 18:24, you wrote:
> Hi,
>
> Doing such measurements with an audio card sounds perfectly reasonable and
> should work just fine. Done it lots of times..
>
> The cutoffs you are experience do look like some kind of overrun, does jack
> print any errors? xrun ?
> overruns basically happen when the software is unable to keep up. but since
> you were running with realtime settings that is probably not the issue.
> Since you got the error both with jack and alsa I would dig deeper.
> - Some soundcards dislike some samplerates (most intel cards are only happy
> with 48khz), which can cause xruns.
> - The hardware might be faulty, causing all sorts of problems...
>
> Using bigger buffers might be a solution since you probably don't care
> about latency.
>
> Regards,
> Robert
>
>
> 2009/2/4 UfE - Stefanie Schmidt <stefanie.schmidt <at> ufegmbh.de>
>
> > Hallo,
> >
> > I have a question to you. I want to record a sine wave (grid voltage)
> > with a
> > soundcard using JACK and RtAudio. I start jackd as root with realtime
> > option
> > and my record program as root too. But I get some kind of cutt-offs,
> > which I
> > attached to this mail. Can I get rid of them with some options of jackd?
> > I started using JACK because I got this cutt-offs using RtAudio with
> > ALSA, but
> > now I have them again. Do you have any ideas? Is JACK the right program
> > to record measure values, or is the idea to use a soundcard for
> > recording measure data a wrong one?
> >
> > Thank you, steffi
> >
> >
> > _______________________________________________
> > Jack-Devel mailing list
> > Jack-Devel <at> lists.jackaudio.org
> > http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
--
---------------------------------------------------
Stefanie Schmidt
stefanie.schmidt <at> ufegmbh.de
Entwicklungszentrum Lübeck:
Telefon: +49(0)451-3002705
Fax: +49(0)451-3080094
UfE GmbH, Kanalstraße 70, 23552 Lübeck
---------------------------------------------------
Hauptgeschäftsstelle:
post <at> UfEGmbH.de, www.UfEGmbH.de
Telefon: +49(0)381 40597-05
Fax: +49(0)381 40597-03
UfE GmbH, Joachim-Jungius-Str. 9, D-18059 Rostock
---------------------------------------------------
_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org