Csound Csound-dev Csound-tekno Search About

[Csnd-dev] sample rate override

Date2016-09-04 20:49
Fromjoachim heintz
Subject[Csnd-dev] sample rate override
the most recent version on develop always sets ksmps to 100.
i get this line in the output:
   sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100

it must have been introduced somewhere; i went back to master which is 
allright.

cheers -

Date2016-09-04 21:00
FromTarmo Johannes
SubjectRe: [Csnd-dev] sample rate override
I can confirm this -

had similar problem - the sr and ksmps in orchestra is overrideen - a couple of days ago when running with jack on Linux.


This is bad problem since jack uses always power of 2 buffer sizes and forced ksmps=100 is always wrong....

tarmo


04.09.2016 22:48 kirjutas kuupäeval "joachim heintz" <jh@joachimheintz.de>:
the most recent version on develop always sets ksmps to 100.
i get this line in the output:
  sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100

it must have been introduced somewhere; i went back to master which is allright.

cheers -
        joachim

Date2016-09-04 21:14
Fromjoachim heintz
SubjectRe: [Csnd-dev] sample rate override
exactly — this was why i noticed it, as i could not use jack at all ...


On 04/09/16 21:59, Tarmo Johannes wrote:
> I can confirm this -
>
> had similar problem - the sr and ksmps in orchestra is overrideen - a
> couple of days ago when running with jack on Linux.
>
>
> This is bad problem since jack uses always power of 2 buffer sizes and
> forced ksmps=100 is always wrong....
>
> tarmo
>
>
> 04.09.2016 22:48 kirjutas kuupäeval "joachim heintz" :
>
>> the most recent version on develop always sets ksmps to 100.
>> i get this line in the output:
>>   sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>
>> it must have been introduced somewhere; i went back to master which is
>> allright.
>>
>> cheers -
>>         joachim
>>

Date2016-09-04 21:23
FromVictor Lazzarini
SubjectRe: [Csnd-dev] sample rate override
Since when? It might help to identify the commit.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 4 Sep 2016, at 21:14, joachim heintz  wrote:
> 
> exactly — this was why i noticed it, as i could not use jack at all ...
> 
> 
>> On 04/09/16 21:59, Tarmo Johannes wrote:
>> I can confirm this -
>> 
>> had similar problem - the sr and ksmps in orchestra is overrideen - a
>> couple of days ago when running with jack on Linux.
>> 
>> 
>> This is bad problem since jack uses always power of 2 buffer sizes and
>> forced ksmps=100 is always wrong....
>> 
>> tarmo
>> 
>> 
>> 04.09.2016 22:48 kirjutas kuupäeval "joachim heintz" :
>> 
>>> the most recent version on develop always sets ksmps to 100.
>>> i get this line in the output:
>>>  sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>> 
>>> it must have been introduced somewhere; i went back to master which is
>>> allright.
>>> 
>>> cheers -
>>>        joachim

Date2016-09-04 21:42
Fromjpff
SubjectRe: [Csnd-dev] sample rate override
I am totally unsure what this is about.  The ksmp_override field of OPARMS 
was set to 100 but i tink it should be 0
Change committed

btw this also exposed a reversion in score parser whih I need to fix now

Date2016-09-04 22:11
FromSteven Yi
SubjectRe: [Csnd-dev] sample rate override
It looks like ksmps 100 was introduced 4 days ago in this commit:

https://github.com/csound/csound/commit/dddf71b867cf90c684b84c20e1d8d667165c65de

Interestingly, vbrquality was the last field set in the 6.07 release:

https://github.com/csound/csound/blob/master/Top/csound.c

Looks like the ksmps_override and vbrquality should have been set in
6.07 to default values to match the definition in include/csoundCore.h
for OPARMS, but it was missed.

On Sun, Sep 4, 2016 at 4:42 PM, jpff  wrote:
> I am totally unsure what this is about.  The ksmp_override field of OPARMS
> was set to 100 but i tink it should be 0
> Change committed
>
> btw this also exposed a reversion in score parser whih I need to fix now