| Hi Menno,
I think I answered this question on the blue list but wanted to tie up
this loose end on this list. Some opcodes use a negative value for a
phase value to only skip initialization for phase, while other opcodes
take 1 for as flag to skip initialization for the opcode. In this
case, vco2 uses the value 1, so the example using the result from
tival works fine directly. For other opcodes like foscili and oscil,
you would need to do something like:
itie tival
iphs = (itie == 1) ? -1 : 0
aout oscili 1000, 440, 1, iphs
so that it uses a -1 value for phase. That should fix it up.
Thanks!
steven
On Wed, Jan 13, 2010 at 3:34 PM, menno wrote:
>
> Hi,
>
>
>
> i was looking into an article from the Csound Jounal Fall 2005, "Exploring
> Tied Notes in Csound".
>
> The opcode used in the tieing process has to be able to skip the
> initialization, this will avoid a clicling sound due to phase
> discontinuities. Is this correct?
>
> I replace the vco2 opcode of the example of this article by another one that
> allows skipping. But not with great results.
>
>
>
> I use only instrument 2 of the csd file that belongs to this article and
> simpified it to get a better few of what is going on. But i get loud clicks:
>
> http://old.nabble.com/file/p27151510/tied_notes_oscil.csd
> tied_notes_oscil.csd
>
> Then i tried the foscili opcode. When it has values that produce more or
> less sine like sounds, clicks can be heard, but when foscili is set to make
> a raw sound the clicks disappear. Perhaps the clicks are masked by the raw
> sound.
>
> Here is foscili with clicks - you can uncomment the other foscili in this
> csd and and use that one to compare the results:
>
> http://old.nabble.com/file/p27151510/tied_notes_foscili.csd
> tied_notes_foscili.csd
>
> Then the use of skip in conjunction with filters. The following example
> produces DC in the output. When the cutoff frequency is a fixed value it
> sounds allright and no DC is produced, when made variable strange things
> happen.
>
> Here is the example:
>
> http://old.nabble.com/file/p27151510/tied_notes_lowres.csd
> tied_notes_lowres.csd
>
> Is there something wrong with these examples that it`s clicking - am i doing
> something wrong?
>
> Menno
> --
> View this message in context: http://old.nabble.com/tied-notes-tp27151510p27151510.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |