Csound Csound-dev Csound-tekno Search About

[Csnd] problem with "f0 86400"

Date2012-01-21 12:28
Frompeiman khosravi
Subject[Csnd] problem with "f0 86400"
Hello,

It seems that the combination of "f0 86400" and "kr=1" terminates csound without any errors. Changing kr to 10 or  86400 to 3600 solves the problem. Strange...

Best,

Peiman



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This is a simple csound file to test your audio output   ;
; from WinXound. In order to work correctly with WinXound  ;
; it's very important that you fill all the required       ;
; compiler paths fields into the WinXound Settings         ;
; window with correct values (WinXound -> Preferences).    ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

<CsoundSynthesizer>

<CsOptions>
-W -odevaudio
</CsOptions>

<CsInstruments>
sr     = 44100
ksmps  = 1
nchnls = 1

    instr 1 ;Simple sine at 440Hz
k1    linen 10000, 0.1, p3, 0.1
a1    oscili k1,440,1
    out a1
    endin
</CsInstruments>

<CsScore>
f1 0 4096 10 1
;f0 3600
f0 86400

;i1 0 3
</CsScore>

</CsoundSynthesizer>

Date2012-01-22 11:35
Frompeiman khosravi
Subject[Csnd] Re: problem with "f0 86400"
Hello,

Should I open a bug report? Or am I doing something wrong?

Thanks

Peiman

On 21 January 2012 12:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
Hello,

It seems that the combination of "f0 86400" and "kr=1" terminates csound without any errors. Changing kr to 10 or  86400 to 3600 solves the problem. Strange...

Best,

Peiman



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This is a simple csound file to test your audio output   ;
; from WinXound. In order to work correctly with WinXound  ;
; it's very important that you fill all the required       ;
; compiler paths fields into the WinXound Settings         ;
; window with correct values (WinXound -> Preferences).    ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

<CsoundSynthesizer>

<CsOptions>
-W -odevaudio
</CsOptions>

<CsInstruments>
sr     = 44100
ksmps  = 1
nchnls = 1

    instr 1 ;Simple sine at 440Hz
k1    linen 10000, 0.1, p3, 0.1
a1    oscili k1,440,1
    out a1
    endin
</CsInstruments>

<CsScore>
f1 0 4096 10 1
;f0 3600
f0 86400

;i1 0 3
</CsScore>

</CsoundSynthesizer>


Date2012-01-22 11:49
FromTito Latini
SubjectRe: [Csnd] Re: problem with "f0 86400"
AttachmentsNone  

Date2012-01-22 11:55
Frompeiman khosravi
SubjectRe: [Csnd] Re: problem with "f0 86400"
I see that makes sense. Thank very much!

Peiman

On 22 January 2012 11:49, Tito Latini <tito.01beta@gmail.com> wrote:
The current limit is: floor((2^31 / sr) * ksmps)

with ksmps = 1 and sr = 44100 ->  48695

tito

On Sun, Jan 22, 2012 at 11:35:35AM +0000, peiman khosravi wrote:
> Hello,
>
> Should I open a bug report? Or am I doing something wrong?
>
> Thanks
>
> Peiman
>
> On 21 January 2012 12:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> > Hello,
> >
> > It seems that the combination of "f0 86400" and "kr=1" terminates csound
> > without any errors. Changing kr to 10 or  86400 to 3600 solves the problem.
> > Strange...
> >
> > Best,
> >
> > Peiman
> >
> >
> >
> > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> > ; This is a simple csound file to test your audio output   ;
> > ; from WinXound. In order to work correctly with WinXound  ;
> > ; it's very important that you fill all the required       ;
> > ; compiler paths fields into the WinXound Settings         ;
> > ; window with correct values (WinXound -> Preferences).    ;
> > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> >
> > <CsoundSynthesizer>
> >
> > <CsOptions>
> > -W -odevaudio
> > </CsOptions>
> >
> > <CsInstruments>
> > sr     = 44100
> > ksmps  = 1
> > nchnls = 1
> >
> >     instr 1 ;Simple sine at 440Hz
> > k1    linen 10000, 0.1, p3, 0.1
> > a1    oscili k1,440,1
> >     out a1
> >     endin
> > </CsInstruments>
> >
> > <CsScore>
> > f1 0 4096 10 1
> > ;f0 3600
> > f0 86400
> >
> > ;i1 0 3
> > </CsScore>
> >
> > </CsoundSynthesizer>
> >
>
> 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"
>


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"