Csound Csound-dev Csound-tekno Search About

[Csnd] streson

Date2010-12-26 16:38
Fromjmc
Subject[Csnd] streson
Hi,
Should streson have the zippered effect when using a changing base
frequency? I seem to remember it changed smoothly in the past...

CSD from the manual page is pasted below.
Many thanks,
Jim Croson
===



; Select audio/midi flags here according to platform
; Audio out   Audio in    No messages
;-odac           -iadc     -d     ;;;RT audio I/O
; For Non-realtime ouput leave only the line below:
 -o streson.wav -W ;;; for file output any platform



; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

; Instrument #1.
instr 1
  ; Generate a normal sine wave.
  asig oscils 8000, 440, 1

  ; Vary the fundamental frequency of the string 
  ; resonator linearly from 220 to 880 Hertz. 
  kfr line 220, p3, 880
  ifdbgain = 0.95

  ; Run our sine wave through the string resonator.
  astres streson asig, kfr, ifdbgain

  ; The resonance can get quite loud.
  ; So we'll clip the signal at 30,000.
  a1 clip astres, 1, 30000
  out a1
endin





; Play Instrument #1 for five seconds.
i 1 0 5
e




Date2010-12-26 16:58
FromVictor Lazzarini
Subject[Csnd] Re: streson
I think the code hasn't changed, but I'll take a look.

On 26 Dec 2010, at 16:38, jmc wrote:

>
> Hi,
> Should streson have the zippered effect when using a changing base
> frequency? I seem to remember it changed smoothly in the past...
>
> CSD from the manual page is pasted below.
> Many thanks,
> Jim Croson
> ===
>
> 
> 
> ; Select audio/midi flags here according to platform
> ; Audio out   Audio in    No messages
> ;-odac           -iadc     -d     ;;;RT audio I/O
> ; For Non-realtime ouput leave only the line below:
> -o streson.wav -W ;;; for file output any platform
> 
> 
>
> ; Initialize the global variables.
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 1
>
> ; Instrument #1.
> instr 1
>  ; Generate a normal sine wave.
>  asig oscils 8000, 440, 1
>
>  ; Vary the fundamental frequency of the string
>  ; resonator linearly from 220 to 880 Hertz.
>  kfr line 220, p3, 880
>  ifdbgain = 0.95
>
>  ; Run our sine wave through the string resonator.
>  astres streson asig, kfr, ifdbgain
>
>  ; The resonance can get quite loud.
>  ; So we'll clip the signal at 30,000.
>  a1 clip astres, 1, 30000
>  out a1
> endin
>
>
> 
> 
>
> ; Play Instrument #1 for five seconds.
> i 1 0 5
> e
>
>
> 
> 
>
> --  
> View this message in context: http://csound.1045644.n5.nabble.com/streson-tp3318747p3318747.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> 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"

Date2010-12-26 21:42
FromJ
Subject[Csnd] Re: Re: streson
My experience has been that streson behaves in a stepped manner in both Csound and in the Supercollider port, but it's only been within the last year that I've used it.

On Sun, Dec 26, 2010 at 4:58 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I think the code hasn't changed, but I'll take a look.


On 26 Dec 2010, at 16:38, jmc wrote:


Hi,
Should streson have the zippered effect when using a changing base
frequency? I seem to remember it changed smoothly in the past...

CSD from the manual page is pasted below.
Many thanks,
Jim Croson
===

<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out   Audio in    No messages
;-odac           -iadc     -d     ;;;RT audio I/O
; For Non-realtime ouput leave only the line below:
-o streson.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>

; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

; Instrument #1.
instr 1
 ; Generate a normal sine wave.
 asig oscils 8000, 440, 1

 ; Vary the fundamental frequency of the string
 ; resonator linearly from 220 to 880 Hertz.
 kfr line 220, p3, 880
 ifdbgain = 0.95

 ; Run our sine wave through the string resonator.
 astres streson asig, kfr, ifdbgain

 ; The resonance can get quite loud.
 ; So we'll clip the signal at 30,000.
 a1 clip astres, 1, 30000
 out a1
endin


</CsInstruments>
<CsScore>

; Play Instrument #1 for five seconds.
i 1 0 5
e


</CsScore>
</CsoundSynthesizer>

-- View this message in context: http://csound.1045644.n5.nabble.com/streson-tp3318747p3318747.html
Sent from the Csound - General mailing list archive at Nabble.com.


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"