Beautiful instrument, Steven.
And Anthony, your syncphasor will be way cool for both rhythmical and oscillator-sync applications.
ah, good times ;-)
Oeyvind

 
2007/12/6, Anthony Kozar <anthonykozar@sbcglobal.net>:
The new waveshaping and PD opcodes are in CVS now -->  Opcodes/shape.c
SConstruct should build the new plugin library.

I will send more docs and examples tomorrow.  For now, please refer to my
prior posts.  NOTE:  I will be changing the PD opcodes to work with unipolar
signals by default before Csound 5.08 is released.  So any code that you
write with them now will have to be modified slightly.

I wrote one more new opcode tonight:  a sync-able phasor based on the
original phasor code.  It has both a sync input and sync output so that
multiple syncphasors can be chained together.  Syntax is:

   aphase, asyncout   syncphasor   xcps, asyncin [,initialphase]

Here is a quick example showing both the phase and sync outputs.  (Try
opening it in an audio editor).

<CsoundSynthesizer>
<CsInstruments>
nchnls = 2

instr 1
   imaxamp    =           10000
   anosync    init        0.0

   kslavecps  line        cpspch(p4), p3, cpspch(p4) * 3
   am, async  syncphasor  cpspch(p4), anosync
   aout, as   syncphasor  kslavecps, async
   adeclick   linseg      0.0, 0.05, 1.0, p3 - 0.1, 1.0, 0.05, 0.0

            out         aout * adeclick * imaxamp, as * 1000
endin

</CsInstruments>
<CsScore>

i1 0 1    7.00
i1 + 0.5  7.02
i1 + .    7.05
i1 + .    7.07
i1 + .    7.09
i1 + 2    7.06

e

</CsScore>
</CsoundSynthesizer>

Anthony Kozar
anthonykozar AT sbcglobal DOT net
http://anthonykozar.net/

Anthony Kozar wrote on 12/5/07 2:55 PM:

> I am very glad that several people seem interested in these opcodes.  I will
> try to get them into CVS tonight.


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel