Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip reinitialization for phaser1 clicks #1724

Open
tjingboem opened this issue Jul 17, 2023 · 2 comments
Open

skip reinitialization for phaser1 clicks #1724

tjingboem opened this issue Jul 17, 2023 · 2 comments

Comments

@tjingboem
Copy link
Member

ares phaser1 asig, kfreq, kord, kfeedback [, iskip]

The skip parameter is there, but when using it for tied notes, i get clicks:
Screenshot from 2023-07-17 22-38-36

@jpffitch
Copy link
Contributor

Test program?

@tjingboem
Copy link
Member Author

modified example from the manual

<CsoundSynthesizer>
<CsOptions>
-odac     
</CsOptions>
<CsInstruments>

sr = 44100
ksmps = 10
nchnls = 1

instr 1
  ; Input mixed with output of phaser1 to generate notches.
  ; Shows the effects of different iorder values on the sound
  idur   = p3 
  iamp   = p4 * .05
  iorder = 16        ; number of 1st-order stages in phaser1 network.
                     ; Divide iorder by 2 to get the number of notches.
  ifreq  = .15        ; frequency of modulation of phaser1
  ifeed  = .9        ; amount of feedback for phaser1

  kamp   linseg 0, .2, iamp, idur - .2, iamp, .2, 0

  iharms = (sr*.4) / 100

  asig   gbuzz 1, 100, iharms, 1, .95, 2, -1  ; "Sawtooth" waveform modulation oscillator for phaser1 ugen.
  kfreq  oscili 3300, ifreq, 1
  kmod   = kfreq + 5600

  aphs   phaser1 asig, kmod, iorder, ifeed, 1

  out    (asig + aphs) * iamp
endin


</CsInstruments>
<CsScore>

; inverted half-sine, used for modulating phaser1 frequency
f1 0  16384 9 .5 -1 0
; cosine wave for gbuzz
f2 0  8192 9 1 1 .25

; phaser1
i1 0  -5 7000  
i1 6  -5 7000 
i1 12 -5 7000 
i1 18 -5 7000 
i1 24 -5 7000 
i1 30 5 7000 
e


</CsScore>
</CsoundSynthesizer>

The phaser1 is set to skip
Also gbuzz is set to skip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants