Csound Csound-dev Csound-tekno Search About

[Csnd] Strange sr mismatch

Date2011-12-03 18:51
FromTobiah
Subject[Csnd] Strange sr mismatch
 From csound:

*** rtjack: sample rate 44100 does not match JACK sample rate 44099

Then quits.  I started jack with qjackctl, and left everything
default.  The sample rate there is chosen from a pulldown and
is set to 44100.  I change the csound orchestra to use sr=44099
and then the orchestra runs (I didn't get any sound yet, but
I'll have to track that down).

Anyone have any insight?  Maybe a floating point rounding error?

toby@vsinewave:~/music/csound/two$ csound
0dBFS level = 32768.0
Csound version 5.12 (double samples) Nov 20 2011
libsndfile-1.0.21
...

Thanks,

Tobiah



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-03 19:37
FromTobiah
SubjectRe: [Csnd] Strange sr mismatch
On 12/3/2011 11:41 AM, Justin Smith wrote:
> this is a sound card / driver bug, I have the same issue with one of my
> cards and the ardour devs explained the problem (jack started as an
> ardour side project). one workaround is to switch to 48000 as an sr, I
> guess the bug is caused by cheap cards that have problems supporting
> both sample rates properly. If jack reported a 44099 sr as 44100 this
> could cause client synchronization issues, and they are sticklers about
> sample per sample accuracy.

I'm running csound on Kubuntu in a Vmware machine on Windows 7.  The
card appears to the VM as an Ensoniq AudioPCI, but the hardware is an
Echo MIA Midi.  I suppose the problem could be in there somewhere.





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-03 19:41
FromJustin Smith
SubjectRe: [Csnd] Strange sr mismatch

this is a sound card / driver bug, I have the same issue with one of my cards and the ardour devs explained the problem (jack started as an ardour side project). one workaround is to switch to 48000 as an sr, I guess the bug is caused by cheap cards that have problems supporting both sample rates properly. If jack reported a 44099 sr as 44100 this could cause client synchronization issues, and they are sticklers about sample per sample accuracy.

----- Original message -----
>  From csound:
>
> *** rtjack: sample rate 44100 does not match JACK sample rate 44099
>
> Then quits.  I started jack with qjackctl, and left everything
> default.  The sample rate there is chosen from a pulldown and
> is set to 44100.  I change the csound orchestra to use sr=44099
> and then the orchestra runs (I didn't get any sound yet, but
> I'll have to track that down).
>
> Anyone have any insight?  Maybe a floating point rounding error?
>
> toby@vsinewave:~/music/csound/two$ csound
> 0dBFS level = 32768.0
> Csound version 5.12 (double samples) Nov 20 2011
> libsndfile-1.0.21
> ...
>
> Thanks,
>
> Tobiah
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>                        https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Date2011-12-03 20:20
FromJustin Smith
SubjectRe: [Csnd] Strange sr mismatch

----- Original message -----
> On 12/3/2011 11:41 AM, Justin Smith wrote:
> > this is a sound card / driver bug, I have the same issue with one of my
> > cards and the ardour devs explained the problem (jack started as an
> > ardour side project). one workaround is to switch to 48000 as an sr, I
> > guess the bug is caused by cheap cards that have problems supporting
> > both sample rates properly. If jack reported a 44099 sr as 44100 this
> > could cause client synchronization issues, and they are sticklers about
> > sample per sample accuracy.
>
> I'm running csound on Kubuntu in a Vmware machine on Windows 7.  The
> card appears to the VM as an Ensoniq AudioPCI, but the hardware is an
> Echo MIA Midi.  I suppose the problem could be in there somewhere.
>

My buggy card is an Ensoniq AudioPCI. Perhaps since you are having the problem it is the driver that is buggy?