[Csnd] Fart-FOG distress

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Csnd] Fart-FOG distress

Chuckk Hubbard
Hi.  I'm attempting to control FOG with FLTK, for practice with both.
I get the message "inconsistent strarg sizecount" from CsoundAV.  I
first got the error saying the xspd argument had to be a-rate, so I
initialized an a-rate variable as 1, just to make it work, but it
started giving me this strarg sizecount message.  It reads 35 lines
and says "instr 1" first.  I ran it with -v flag, but besides being
amazing to watch it didn't tell me anything.  The f1 size is too small
for the whole soundfile, but it catches enough, as I found through
trial-and-error just oscillating through it.

I know it's a pain to wade through this for someone else, but in case
anyone wants to, here's my csd:


<CsoundSynthesizer>
<CsOptions>
-+P
</CsOptions>
<CsInstruments>
sr = 48000
kr = 48000
ksmps = 1
nchnls = 1

        FLpanel "Fart-FOG Parameters", 500, 500
ih FLvalue "Vol" 40, 20, 10, 10
ih FLvalue "Transp" 40, 20, 110, 5
ih FLvalue "Dens" 40, 20, 410, 380
ih FLvalue "Bndwth" 40, 20, 410, 240
ih FLvalue "Spd" 40, 20, 410, 440
ih FLvalue "Ris" 40, 20, 190, 5
ih FLvalue "Dur" 40, 20, 270, 5
ih FLvalue "Dec" 40, 20, 350, 5
gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0, 0, 2, 3,
300, 300, 100, 100
gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
        FLpanel_end
        FLrun

instr 1

itotdur = p3
ifnb = p4
ad init 1   ; it wouldn't accept k-rate for spd
ar fog gkamp*30000, gkdens, gktrans, ad, 0, gkband, gkris, gkdur,
gkdec, 150, 1, ifnb, itotdur
        out ar


endin

</CsInstruments>
<CsScore>
f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
f2 0 16384 19 1 1 0 0
f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0

; p4=function window
i1 0 30 2
i1 30 30 2
i1 60 30 2


e
</CsScore>
</CsoundSynthesizer>


Thanks.
Chuckk
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Victor Lazzarini
A quick glance at it shows that because you are
using ad = 1, you will be reading the grains at the end of the table,
at a fixed position.

In the manual (4.22 winhelp) the xspd argument you refer to is
actually aphs, so it has to be a-rate.

This is not really 'speed', but a pointer to the readout position. In
order to use FOG to playback a sound, you have to vary it,
say, like this

idur = ftlen(1)/sr
aphs phasor   1/idur

(I'm using a phasor so the readout loops)

I'm not so sure about the strset errors as I don't really use csoundAV.
Try running it with the canonical version to see if you get the same
errors (with eg. MyCsound4, as it supports widgets).

Victor

At 11:37 13/05/2005, you wrote:

>Hi.  I'm attempting to control FOG with FLTK, for practice with both.
>I get the message "inconsistent strarg sizecount" from CsoundAV.  I
>first got the error saying the xspd argument had to be a-rate, so I
>initialized an a-rate variable as 1, just to make it work, but it
>started giving me this strarg sizecount message.  It reads 35 lines
>and says "instr 1" first.  I ran it with -v flag, but besides being
>amazing to watch it didn't tell me anything.  The f1 size is too small
>for the whole soundfile, but it catches enough, as I found through
>trial-and-error just oscillating through it.
>
>I know it's a pain to wade through this for someone else, but in case
>anyone wants to, here's my csd:
>
>
><CsoundSynthesizer>
><CsOptions>
>-+P
></CsOptions>
><CsInstruments>
>sr = 48000
>kr = 48000
>ksmps = 1
>nchnls = 1
>
>         FLpanel "Fart-FOG Parameters", 500, 500
>ih FLvalue "Vol" 40, 20, 10, 10
>ih FLvalue "Transp" 40, 20, 110, 5
>ih FLvalue "Dens" 40, 20, 410, 380
>ih FLvalue "Bndwth" 40, 20, 410, 240
>ih FLvalue "Spd" 40, 20, 410, 440
>ih FLvalue "Ris" 40, 20, 190, 5
>ih FLvalue "Dur" 40, 20, 270, 5
>ih FLvalue "Dec" 40, 20, 350, 5
>gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
>gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0, 0, 2, 3,
>300, 300, 100, 100
>gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
>gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
>gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
>gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
>gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
>         FLpanel_end
>         FLrun
>
>instr 1
>
>itotdur = p3
>ifnb    = p4
>ad      init 1   ; it wouldn't accept k-rate for spd
>ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband, gkris, gkdur,
>gkdec, 150, 1, ifnb, itotdur
>         out ar
>
>
>endin
>
></CsInstruments>
><CsScore>
>f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
>f2 0 16384 19 1 1 0 0
>f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
>f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
>.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
>
>;       p4=function window
>i1 0 30 2
>i1 30 30 2
>i1 60 30 2
>
>
>e
></CsScore>
></CsoundSynthesizer>
>
>
>Thanks.
>Chuckk
>--
>Send bugs reports to [hidden email]
>               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
>To unsubscribe, send email to [hidden email]

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Chuckk Hubbard
Hmm, I haven't found any other Csounds that support widgets.  Where is
MyCsound4?  I tried your phasor, and tried init 0, with CsoundAV and I
get the same message.  Every other version I have waits a few seconds
and then says it is finished.

-Chuckk

On 5/13/05, Victor Lazzarini <[hidden email]> wrote:

> A quick glance at it shows that because you are
> using ad = 1, you will be reading the grains at the end of the table,
> at a fixed position.
>
> In the manual (4.22 winhelp) the xspd argument you refer to is
> actually aphs, so it has to be a-rate.
>
> This is not really 'speed', but a pointer to the readout position. In
> order to use FOG to playback a sound, you have to vary it,
> say, like this
>
> idur = ftlen(1)/sr
> aphs phasor   1/idur
>
> (I'm using a phasor so the readout loops)
>
> I'm not so sure about the strset errors as I don't really use csoundAV.
> Try running it with the canonical version to see if you get the same
> errors (with eg. MyCsound4, as it supports widgets).
>
> Victor
>
> At 11:37 13/05/2005, you wrote:
> >Hi.  I'm attempting to control FOG with FLTK, for practice with both.
> >I get the message "inconsistent strarg sizecount" from CsoundAV.  I
> >first got the error saying the xspd argument had to be a-rate, so I
> >initialized an a-rate variable as 1, just to make it work, but it
> >started giving me this strarg sizecount message.  It reads 35 lines
> >and says "instr 1" first.  I ran it with -v flag, but besides being
> >amazing to watch it didn't tell me anything.  The f1 size is too small
> >for the whole soundfile, but it catches enough, as I found through
> >trial-and-error just oscillating through it.
> >
> >I know it's a pain to wade through this for someone else, but in case
> >anyone wants to, here's my csd:
> >
> >
> ><CsoundSynthesizer>
> ><CsOptions>
> >-+P
> ></CsOptions>
> ><CsInstruments>
> >sr = 48000
> >kr = 48000
> >ksmps = 1
> >nchnls = 1
> >
> >         FLpanel "Fart-FOG Parameters", 500, 500
> >ih FLvalue "Vol" 40, 20, 10, 10
> >ih FLvalue "Transp" 40, 20, 110, 5
> >ih FLvalue "Dens" 40, 20, 410, 380
> >ih FLvalue "Bndwth" 40, 20, 410, 240
> >ih FLvalue "Spd" 40, 20, 410, 440
> >ih FLvalue "Ris" 40, 20, 190, 5
> >ih FLvalue "Dur" 40, 20, 270, 5
> >ih FLvalue "Dec" 40, 20, 350, 5
> >gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
> >gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0, 0, 2, 3,
> >300, 300, 100, 100
> >gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
> >gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
> >gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
> >gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
> >gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
> >         FLpanel_end
> >         FLrun
> >
> >instr 1
> >
> >itotdur = p3
> >ifnb    = p4
> >ad      init 1   ; it wouldn't accept k-rate for spd
> >ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband, gkris, gkdur,
> >gkdec, 150, 1, ifnb, itotdur
> >         out ar
> >
> >
> >endin
> >
> ></CsInstruments>
> ><CsScore>
> >f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
> >f2 0 16384 19 1 1 0 0
> >f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
> >f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
> >.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
> >
> >;       p4=function window
> >i1 0 30 2
> >i1 30 30 2
> >i1 60 30 2
> >
> >
> >e
> ></CsScore>
> ></CsoundSynthesizer>
> >
> >
> >Thanks.
> >Chuckk
> >--
> >Send bugs reports to [hidden email]
> >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> >To unsubscribe, send email to [hidden email]
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
> --
> Send bugs reports to [hidden email]
>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>


--
"Some people got attitude,
Backed up with attitude."
-G. Love
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Victor Lazzarini
www.nuim.ie/academic/music/musictec/csound/

This link should perhaps be added to csounds.com (?)

Victor

At 12:52 13/05/2005, you wrote:

>Hmm, I haven't found any other Csounds that support widgets.  Where is
>MyCsound4?  I tried your phasor, and tried init 0, with CsoundAV and I
>get the same message.  Every other version I have waits a few seconds
>and then says it is finished.
>
>-Chuckk
>
>On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > A quick glance at it shows that because you are
> > using ad = 1, you will be reading the grains at the end of the table,
> > at a fixed position.
> >
> > In the manual (4.22 winhelp) the xspd argument you refer to is
> > actually aphs, so it has to be a-rate.
> >
> > This is not really 'speed', but a pointer to the readout position. In
> > order to use FOG to playback a sound, you have to vary it,
> > say, like this
> >
> > idur = ftlen(1)/sr
> > aphs phasor   1/idur
> >
> > (I'm using a phasor so the readout loops)
> >
> > I'm not so sure about the strset errors as I don't really use csoundAV.
> > Try running it with the canonical version to see if you get the same
> > errors (with eg. MyCsound4, as it supports widgets).
> >
> > Victor
> >
> > At 11:37 13/05/2005, you wrote:
> > >Hi.  I'm attempting to control FOG with FLTK, for practice with both.
> > >I get the message "inconsistent strarg sizecount" from CsoundAV.  I
> > >first got the error saying the xspd argument had to be a-rate, so I
> > >initialized an a-rate variable as 1, just to make it work, but it
> > >started giving me this strarg sizecount message.  It reads 35 lines
> > >and says "instr 1" first.  I ran it with -v flag, but besides being
> > >amazing to watch it didn't tell me anything.  The f1 size is too small
> > >for the whole soundfile, but it catches enough, as I found through
> > >trial-and-error just oscillating through it.
> > >
> > >I know it's a pain to wade through this for someone else, but in case
> > >anyone wants to, here's my csd:
> > >
> > >
> > ><CsoundSynthesizer>
> > ><CsOptions>
> > >-+P
> > ></CsOptions>
> > ><CsInstruments>
> > >sr = 48000
> > >kr = 48000
> > >ksmps = 1
> > >nchnls = 1
> > >
> > >         FLpanel "Fart-FOG Parameters", 500, 500
> > >ih FLvalue "Vol" 40, 20, 10, 10
> > >ih FLvalue "Transp" 40, 20, 110, 5
> > >ih FLvalue "Dens" 40, 20, 410, 380
> > >ih FLvalue "Bndwth" 40, 20, 410, 240
> > >ih FLvalue "Spd" 40, 20, 410, 440
> > >ih FLvalue "Ris" 40, 20, 190, 5
> > >ih FLvalue "Dur" 40, 20, 270, 5
> > >ih FLvalue "Dec" 40, 20, 350, 5
> > >gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
> > >gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0, 0, 2, 3,
> > >300, 300, 100, 100
> > >gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
> > >gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
> > >gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
> > >gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
> > >gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
> > >         FLpanel_end
> > >         FLrun
> > >
> > >instr 1
> > >
> > >itotdur = p3
> > >ifnb    = p4
> > >ad      init 1   ; it wouldn't accept k-rate for spd
> > >ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband, gkris, gkdur,
> > >gkdec, 150, 1, ifnb, itotdur
> > >         out ar
> > >
> > >
> > >endin
> > >
> > ></CsInstruments>
> > ><CsScore>
> > >f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
> > >f2 0 16384 19 1 1 0 0
> > >f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
> > >f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
> > >.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
> > >
> > >;       p4=function window
> > >i1 0 30 2
> > >i1 30 30 2
> > >i1 60 30 2
> > >
> > >
> > >e
> > ></CsScore>
> > ></CsoundSynthesizer>
> > >
> > >
> > >Thanks.
> > >Chuckk
> > >--
> > >Send bugs reports to [hidden email]
> > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > >To unsubscribe, send email to [hidden email]
> >
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> >
> > --
> > Send bugs reports to [hidden email]
> >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > To unsubscribe, send email to [hidden email]
> >
>
>
>--
>"Some people got attitude,
>Backed up with attitude."
>-G. Love
>--
>Send bugs reports to [hidden email]
>               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
>To unsubscribe, send email to [hidden email]

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Chuckk Hubbard
Cool, thanks for the link.
Mycsound4 actually says FLpanel_end is not a legal opcode.
-Chuckk


On 5/13/05, Victor Lazzarini <[hidden email]> wrote:

> www.nuim.ie/academic/music/musictec/csound/
>
> This link should perhaps be added to csounds.com (?)
>
> Victor
>
> At 12:52 13/05/2005, you wrote:
> >Hmm, I haven't found any other Csounds that support widgets.  Where is
> >MyCsound4?  I tried your phasor, and tried init 0, with CsoundAV and I
> >get the same message.  Every other version I have waits a few seconds
> >and then says it is finished.
> >
> >-Chuckk
> >
> >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > A quick glance at it shows that because you are
> > > using ad = 1, you will be reading the grains at the end of the table,
> > > at a fixed position.
> > >
> > > In the manual (4.22 winhelp) the xspd argument you refer to is
> > > actually aphs, so it has to be a-rate.
> > >
> > > This is not really 'speed', but a pointer to the readout position. In
> > > order to use FOG to playback a sound, you have to vary it,
> > > say, like this
> > >
> > > idur = ftlen(1)/sr
> > > aphs phasor   1/idur
> > >
> > > (I'm using a phasor so the readout loops)
> > >
> > > I'm not so sure about the strset errors as I don't really use csoundAV.
> > > Try running it with the canonical version to see if you get the same
> > > errors (with eg. MyCsound4, as it supports widgets).
> > >
> > > Victor
> > >
> > > At 11:37 13/05/2005, you wrote:
> > > >Hi.  I'm attempting to control FOG with FLTK, for practice with both.
> > > >I get the message "inconsistent strarg sizecount" from CsoundAV.  I
> > > >first got the error saying the xspd argument had to be a-rate, so I
> > > >initialized an a-rate variable as 1, just to make it work, but it
> > > >started giving me this strarg sizecount message.  It reads 35 lines
> > > >and says "instr 1" first.  I ran it with -v flag, but besides being
> > > >amazing to watch it didn't tell me anything.  The f1 size is too small
> > > >for the whole soundfile, but it catches enough, as I found through
> > > >trial-and-error just oscillating through it.
> > > >
> > > >I know it's a pain to wade through this for someone else, but in case
> > > >anyone wants to, here's my csd:
> > > >
> > > >
> > > ><CsoundSynthesizer>
> > > ><CsOptions>
> > > >-+P
> > > ></CsOptions>
> > > ><CsInstruments>
> > > >sr = 48000
> > > >kr = 48000
> > > >ksmps = 1
> > > >nchnls = 1
> > > >
> > > >         FLpanel "Fart-FOG Parameters", 500, 500
> > > >ih FLvalue "Vol" 40, 20, 10, 10
> > > >ih FLvalue "Transp" 40, 20, 110, 5
> > > >ih FLvalue "Dens" 40, 20, 410, 380
> > > >ih FLvalue "Bndwth" 40, 20, 410, 240
> > > >ih FLvalue "Spd" 40, 20, 410, 440
> > > >ih FLvalue "Ris" 40, 20, 190, 5
> > > >ih FLvalue "Dur" 40, 20, 270, 5
> > > >ih FLvalue "Dec" 40, 20, 350, 5
> > > >gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
> > > >gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0, 0, 2, 3,
> > > >300, 300, 100, 100
> > > >gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
> > > >gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
> > > >gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
> > > >gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
> > > >gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
> > > >         FLpanel_end
> > > >         FLrun
> > > >
> > > >instr 1
> > > >
> > > >itotdur = p3
> > > >ifnb    = p4
> > > >ad      init 1   ; it wouldn't accept k-rate for spd
> > > >ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband, gkris, gkdur,
> > > >gkdec, 150, 1, ifnb, itotdur
> > > >         out ar
> > > >
> > > >
> > > >endin
> > > >
> > > ></CsInstruments>
> > > ><CsScore>
> > > >f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
> > > >f2 0 16384 19 1 1 0 0
> > > >f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
> > > >f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
> > > >.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
> > > >
> > > >;       p4=function window
> > > >i1 0 30 2
> > > >i1 30 30 2
> > > >i1 60 30 2
> > > >
> > > >
> > > >e
> > > ></CsScore>
> > > ></CsoundSynthesizer>
> > > >
> > > >
> > > >Thanks.
> > > >Chuckk
> > > >--
> > > >Send bugs reports to [hidden email]
> > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > >To unsubscribe, send email to [hidden email]
> > >
> > > Victor Lazzarini
> > > Music Technology Laboratory
> > > Music Department
> > > National University of Ireland, Maynooth
> > >
> > > --
> > > Send bugs reports to [hidden email]
> > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > To unsubscribe, send email to [hidden email]
> > >
> >
> >
> >--
> >"Some people got attitude,
> >Backed up with attitude."
> >-G. Love
> >--
> >Send bugs reports to [hidden email]
> >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> >To unsubscribe, send email to [hidden email]
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
> --
> Send bugs reports to [hidden email]
>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>


--
"Some people got attitude,
Backed up with attitude."
-G. Love
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

istvan_v@mailbox.hu
Chuckk Hubbard wrote:

> Cool, thanks for the link.
> Mycsound4 actually says FLpanel_end is not a legal opcode.

You need to rename it to FLpanelEnd, or use Csound5.

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Victor Lazzarini
In reply to this post by Chuckk Hubbard

FLpanel_end is FLpanelEnd in canonical csound.

Victor
At 13:14 13/05/2005, you wrote:

>Cool, thanks for the link.
>Mycsound4 actually says FLpanel_end is not a legal opcode.
>-Chuckk
>
>
>On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > www.nuim.ie/academic/music/musictec/csound/
> >
> > This link should perhaps be added to csounds.com (?)
> >
> > Victor
> >
> > At 12:52 13/05/2005, you wrote:
> > >Hmm, I haven't found any other Csounds that support widgets.  Where is
> > >MyCsound4?  I tried your phasor, and tried init 0, with CsoundAV and I
> > >get the same message.  Every other version I have waits a few seconds
> > >and then says it is finished.
> > >
> > >-Chuckk
> > >
> > >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > > A quick glance at it shows that because you are
> > > > using ad = 1, you will be reading the grains at the end of the table,
> > > > at a fixed position.
> > > >
> > > > In the manual (4.22 winhelp) the xspd argument you refer to is
> > > > actually aphs, so it has to be a-rate.
> > > >
> > > > This is not really 'speed', but a pointer to the readout position. In
> > > > order to use FOG to playback a sound, you have to vary it,
> > > > say, like this
> > > >
> > > > idur = ftlen(1)/sr
> > > > aphs phasor   1/idur
> > > >
> > > > (I'm using a phasor so the readout loops)
> > > >
> > > > I'm not so sure about the strset errors as I don't really use csoundAV.
> > > > Try running it with the canonical version to see if you get the same
> > > > errors (with eg. MyCsound4, as it supports widgets).
> > > >
> > > > Victor
> > > >
> > > > At 11:37 13/05/2005, you wrote:
> > > > >Hi.  I'm attempting to control FOG with FLTK, for practice with both.
> > > > >I get the message "inconsistent strarg sizecount" from CsoundAV.  I
> > > > >first got the error saying the xspd argument had to be a-rate, so I
> > > > >initialized an a-rate variable as 1, just to make it work, but it
> > > > >started giving me this strarg sizecount message.  It reads 35 lines
> > > > >and says "instr 1" first.  I ran it with -v flag, but besides being
> > > > >amazing to watch it didn't tell me anything.  The f1 size is too small
> > > > >for the whole soundfile, but it catches enough, as I found through
> > > > >trial-and-error just oscillating through it.
> > > > >
> > > > >I know it's a pain to wade through this for someone else, but in case
> > > > >anyone wants to, here's my csd:
> > > > >
> > > > >
> > > > ><CsoundSynthesizer>
> > > > ><CsOptions>
> > > > >-+P
> > > > ></CsOptions>
> > > > ><CsInstruments>
> > > > >sr = 48000
> > > > >kr = 48000
> > > > >ksmps = 1
> > > > >nchnls = 1
> > > > >
> > > > >         FLpanel "Fart-FOG Parameters", 500, 500
> > > > >ih FLvalue "Vol" 40, 20, 10, 10
> > > > >ih FLvalue "Transp" 40, 20, 110, 5
> > > > >ih FLvalue "Dens" 40, 20, 410, 380
> > > > >ih FLvalue "Bndwth" 40, 20, 410, 240
> > > > >ih FLvalue "Spd" 40, 20, 410, 440
> > > > >ih FLvalue "Ris" 40, 20, 190, 5
> > > > >ih FLvalue "Dur" 40, 20, 270, 5
> > > > >ih FLvalue "Dec" 40, 20, 350, 5
> > > > >gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
> > > > >gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0, 0, 2, 3,
> > > > >300, 300, 100, 100
> > > > >gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
> > > > >gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
> > > > >gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
> > > > >gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
> > > > >gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
> > > > >         FLpanel_end
> > > > >         FLrun
> > > > >
> > > > >instr 1
> > > > >
> > > > >itotdur = p3
> > > > >ifnb    = p4
> > > > >ad      init 1   ; it wouldn't accept k-rate for spd
> > > > >ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband,
> gkris, gkdur,
> > > > >gkdec, 150, 1, ifnb, itotdur
> > > > >         out ar
> > > > >
> > > > >
> > > > >endin
> > > > >
> > > > ></CsInstruments>
> > > > ><CsScore>
> > > > >f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
> > > > >f2 0 16384 19 1 1 0 0
> > > > >f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
> > > > >f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
> > > > >.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
> > > > >
> > > > >;       p4=function window
> > > > >i1 0 30 2
> > > > >i1 30 30 2
> > > > >i1 60 30 2
> > > > >
> > > > >
> > > > >e
> > > > ></CsScore>
> > > > ></CsoundSynthesizer>
> > > > >
> > > > >
> > > > >Thanks.
> > > > >Chuckk
> > > > >--
> > > > >Send bugs reports to [hidden email]
> > > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > >To unsubscribe, send email to [hidden email]
> > > >
> > > > Victor Lazzarini
> > > > Music Technology Laboratory
> > > > Music Department
> > > > National University of Ireland, Maynooth
> > > >
> > > > --
> > > > Send bugs reports to [hidden email]
> > > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > To unsubscribe, send email to [hidden email]
> > > >
> > >
> > >
> > >--
> > >"Some people got attitude,
> > >Backed up with attitude."
> > >-G. Love
> > >--
> > >Send bugs reports to [hidden email]
> > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > >To unsubscribe, send email to [hidden email]
> >
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> >
> > --
> > Send bugs reports to [hidden email]
> >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > To unsubscribe, send email to [hidden email]
> >
>
>
>--
>"Some people got attitude,
>Backed up with attitude."
>-G. Love
>--
>Send bugs reports to [hidden email]
>               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
>To unsubscribe, send email to [hidden email]

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

istvan_v@mailbox.hu
Victor Lazzarini wrote:

> FLpanel_end is FLpanelEnd in canonical csound.

Csound5 allows both.
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Chuckk Hubbard
In reply to this post by Victor Lazzarini
Now with that fixed, mycsound4 gives the same error, "inconsistent
strarg sizecount".



On 5/13/05, Victor Lazzarini <[hidden email]> wrote:

>
> FLpanel_end is FLpanelEnd in canonical csound.
>
> Victor
> At 13:14 13/05/2005, you wrote:
> >Cool, thanks for the link.
> >Mycsound4 actually says FLpanel_end is not a legal opcode.
> >-Chuckk
> >
> >
> >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > www.nuim.ie/academic/music/musictec/csound/
> > >
> > > This link should perhaps be added to csounds.com (?)
> > >
> > > Victor
> > >
> > > At 12:52 13/05/2005, you wrote:
> > > >Hmm, I haven't found any other Csounds that support widgets.  Where is
> > > >MyCsound4?  I tried your phasor, and tried init 0, with CsoundAV and I
> > > >get the same message.  Every other version I have waits a few seconds
> > > >and then says it is finished.
> > > >
> > > >-Chuckk
> > > >
> > > >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > > > A quick glance at it shows that because you are
> > > > > using ad = 1, you will be reading the grains at the end of the table,
> > > > > at a fixed position.
> > > > >
> > > > > In the manual (4.22 winhelp) the xspd argument you refer to is
> > > > > actually aphs, so it has to be a-rate.
> > > > >
> > > > > This is not really 'speed', but a pointer to the readout position. In
> > > > > order to use FOG to playback a sound, you have to vary it,
> > > > > say, like this
> > > > >
> > > > > idur = ftlen(1)/sr
> > > > > aphs phasor   1/idur
> > > > >
> > > > > (I'm using a phasor so the readout loops)
> > > > >
> > > > > I'm not so sure about the strset errors as I don't really use csoundAV.
> > > > > Try running it with the canonical version to see if you get the same
> > > > > errors (with eg. MyCsound4, as it supports widgets).
> > > > >
> > > > > Victor
> > > > >
> > > > > At 11:37 13/05/2005, you wrote:
> > > > > >Hi.  I'm attempting to control FOG with FLTK, for practice with both.
> > > > > >I get the message "inconsistent strarg sizecount" from CsoundAV.  I
> > > > > >first got the error saying the xspd argument had to be a-rate, so I
> > > > > >initialized an a-rate variable as 1, just to make it work, but it
> > > > > >started giving me this strarg sizecount message.  It reads 35 lines
> > > > > >and says "instr 1" first.  I ran it with -v flag, but besides being
> > > > > >amazing to watch it didn't tell me anything.  The f1 size is too small
> > > > > >for the whole soundfile, but it catches enough, as I found through
> > > > > >trial-and-error just oscillating through it.
> > > > > >
> > > > > >I know it's a pain to wade through this for someone else, but in case
> > > > > >anyone wants to, here's my csd:
> > > > > >
> > > > > >
> > > > > ><CsoundSynthesizer>
> > > > > ><CsOptions>
> > > > > >-+P
> > > > > ></CsOptions>
> > > > > ><CsInstruments>
> > > > > >sr = 48000
> > > > > >kr = 48000
> > > > > >ksmps = 1
> > > > > >nchnls = 1
> > > > > >
> > > > > >         FLpanel "Fart-FOG Parameters", 500, 500
> > > > > >ih FLvalue "Vol" 40, 20, 10, 10
> > > > > >ih FLvalue "Transp" 40, 20, 110, 5
> > > > > >ih FLvalue "Dens" 40, 20, 410, 380
> > > > > >ih FLvalue "Bndwth" 40, 20, 410, 240
> > > > > >ih FLvalue "Spd" 40, 20, 410, 440
> > > > > >ih FLvalue "Ris" 40, 20, 190, 5
> > > > > >ih FLvalue "Dur" 40, 20, 270, 5
> > > > > >ih FLvalue "Dec" 40, 20, 350, 5
> > > > > >gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
> > > > > >gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0, 0, 2, 3,
> > > > > >300, 300, 100, 100
> > > > > >gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
> > > > > >gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
> > > > > >gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
> > > > > >gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
> > > > > >gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
> > > > > >         FLpanel_end
> > > > > >         FLrun
> > > > > >
> > > > > >instr 1
> > > > > >
> > > > > >itotdur = p3
> > > > > >ifnb    = p4
> > > > > >ad      init 1   ; it wouldn't accept k-rate for spd
> > > > > >ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband,
> > gkris, gkdur,
> > > > > >gkdec, 150, 1, ifnb, itotdur
> > > > > >         out ar
> > > > > >
> > > > > >
> > > > > >endin
> > > > > >
> > > > > ></CsInstruments>
> > > > > ><CsScore>
> > > > > >f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
> > > > > >f2 0 16384 19 1 1 0 0
> > > > > >f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
> > > > > >f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
> > > > > >.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
> > > > > >
> > > > > >;       p4=function window
> > > > > >i1 0 30 2
> > > > > >i1 30 30 2
> > > > > >i1 60 30 2
> > > > > >
> > > > > >
> > > > > >e
> > > > > ></CsScore>
> > > > > ></CsoundSynthesizer>
> > > > > >
> > > > > >
> > > > > >Thanks.
> > > > > >Chuckk
> > > > > >--
> > > > > >Send bugs reports to [hidden email]
> > > > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > >To unsubscribe, send email to [hidden email]
> > > > >
> > > > > Victor Lazzarini
> > > > > Music Technology Laboratory
> > > > > Music Department
> > > > > National University of Ireland, Maynooth
> > > > >
> > > > > --
> > > > > Send bugs reports to [hidden email]
> > > > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > To unsubscribe, send email to [hidden email]
> > > > >
> > > >
> > > >
> > > >--
> > > >"Some people got attitude,
> > > >Backed up with attitude."
> > > >-G. Love
> > > >--
> > > >Send bugs reports to [hidden email]
> > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > >To unsubscribe, send email to [hidden email]
> > >
> > > Victor Lazzarini
> > > Music Technology Laboratory
> > > Music Department
> > > National University of Ireland, Maynooth
> > >
> > > --
> > > Send bugs reports to [hidden email]
> > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > To unsubscribe, send email to [hidden email]
> > >
> >
> >
> >--
> >"Some people got attitude,
> >Backed up with attitude."
> >-G. Love
> >--
> >Send bugs reports to [hidden email]
> >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> >To unsubscribe, send email to [hidden email]
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
> --
> Send bugs reports to [hidden email]
>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>


--
"Some people got attitude,
Backed up with attitude."
-G. Love
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Victor Lazzarini
it looks like it's your FLvalue opcodes, there is a missing comma

ih FLvalue "Transp", 40, 20, 110, 5

also use a different variable for the handle otherwise you will not
be able to do waht you want. The FLslider also has problems,
slider type 8 does not seem to exist,

Victor
At 13:59 13/05/2005, you wrote:

>Now with that fixed, mycsound4 gives the same error, "inconsistent
>strarg sizecount".
>
>
>
>On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> >
> > FLpanel_end is FLpanelEnd in canonical csound.
> >
> > Victor
> > At 13:14 13/05/2005, you wrote:
> > >Cool, thanks for the link.
> > >Mycsound4 actually says FLpanel_end is not a legal opcode.
> > >-Chuckk
> > >
> > >
> > >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > > www.nuim.ie/academic/music/musictec/csound/
> > > >
> > > > This link should perhaps be added to csounds.com (?)
> > > >
> > > > Victor
> > > >
> > > > At 12:52 13/05/2005, you wrote:
> > > > >Hmm, I haven't found any other Csounds that support widgets.  Where is
> > > > >MyCsound4?  I tried your phasor, and tried init 0, with CsoundAV and I
> > > > >get the same message.  Every other version I have waits a few seconds
> > > > >and then says it is finished.
> > > > >
> > > > >-Chuckk
> > > > >
> > > > >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > > > > A quick glance at it shows that because you are
> > > > > > using ad = 1, you will be reading the grains at the end of the
> table,
> > > > > > at a fixed position.
> > > > > >
> > > > > > In the manual (4.22 winhelp) the xspd argument you refer to is
> > > > > > actually aphs, so it has to be a-rate.
> > > > > >
> > > > > > This is not really 'speed', but a pointer to the readout
> position. In
> > > > > > order to use FOG to playback a sound, you have to vary it,
> > > > > > say, like this
> > > > > >
> > > > > > idur = ftlen(1)/sr
> > > > > > aphs phasor   1/idur
> > > > > >
> > > > > > (I'm using a phasor so the readout loops)
> > > > > >
> > > > > > I'm not so sure about the strset errors as I don't really use
> csoundAV.
> > > > > > Try running it with the canonical version to see if you get the
> same
> > > > > > errors (with eg. MyCsound4, as it supports widgets).
> > > > > >
> > > > > > Victor
> > > > > >
> > > > > > At 11:37 13/05/2005, you wrote:
> > > > > > >Hi.  I'm attempting to control FOG with FLTK, for practice
> with both.
> > > > > > >I get the message "inconsistent strarg sizecount" from
> CsoundAV.  I
> > > > > > >first got the error saying the xspd argument had to be a-rate,
> so I
> > > > > > >initialized an a-rate variable as 1, just to make it work, but it
> > > > > > >started giving me this strarg sizecount message.  It reads 35
> lines
> > > > > > >and says "instr 1" first.  I ran it with -v flag, but besides
> being
> > > > > > >amazing to watch it didn't tell me anything.  The f1 size is
> too small
> > > > > > >for the whole soundfile, but it catches enough, as I found through
> > > > > > >trial-and-error just oscillating through it.
> > > > > > >
> > > > > > >I know it's a pain to wade through this for someone else, but
> in case
> > > > > > >anyone wants to, here's my csd:
> > > > > > >
> > > > > > >
> > > > > > ><CsoundSynthesizer>
> > > > > > ><CsOptions>
> > > > > > >-+P
> > > > > > ></CsOptions>
> > > > > > ><CsInstruments>
> > > > > > >sr = 48000
> > > > > > >kr = 48000
> > > > > > >ksmps = 1
> > > > > > >nchnls = 1
> > > > > > >
> > > > > > >         FLpanel "Fart-FOG Parameters", 500, 500
> > > > > > >ih FLvalue "Vol" 40, 20, 10, 10
> > > > > > >ih FLvalue "Transp" 40, 20, 110, 5
> > > > > > >ih FLvalue "Dens" 40, 20, 410, 380
> > > > > > >ih FLvalue "Bndwth" 40, 20, 410, 240
> > > > > > >ih FLvalue "Spd" 40, 20, 410, 440
> > > > > > >ih FLvalue "Ris" 40, 20, 190, 5
> > > > > > >ih FLvalue "Dur" 40, 20, 270, 5
> > > > > > >ih FLvalue "Dec" 40, 20, 350, 5
> > > > > > >gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
> > > > > > >gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0,
> 0, 2, 3,
> > > > > > >300, 300, 100, 100
> > > > > > >gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
> > > > > > >gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
> > > > > > >gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
> > > > > > >gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
> > > > > > >gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
> > > > > > >         FLpanel_end
> > > > > > >         FLrun
> > > > > > >
> > > > > > >instr 1
> > > > > > >
> > > > > > >itotdur = p3
> > > > > > >ifnb    = p4
> > > > > > >ad      init 1   ; it wouldn't accept k-rate for spd
> > > > > > >ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband,
> > > gkris, gkdur,
> > > > > > >gkdec, 150, 1, ifnb, itotdur
> > > > > > >         out ar
> > > > > > >
> > > > > > >
> > > > > > >endin
> > > > > > >
> > > > > > ></CsInstruments>
> > > > > > ><CsScore>
> > > > > > >f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
> > > > > > >f2 0 16384 19 1 1 0 0
> > > > > > >f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
> > > > > > >f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
> > > > > > >.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
> > > > > > >
> > > > > > >;       p4=function window
> > > > > > >i1 0 30 2
> > > > > > >i1 30 30 2
> > > > > > >i1 60 30 2
> > > > > > >
> > > > > > >
> > > > > > >e
> > > > > > ></CsScore>
> > > > > > ></CsoundSynthesizer>
> > > > > > >
> > > > > > >
> > > > > > >Thanks.
> > > > > > >Chuckk
> > > > > > >--
> > > > > > >Send bugs reports to [hidden email]
> > > > > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > > >To unsubscribe, send email to [hidden email]
> > > > > >
> > > > > > Victor Lazzarini
> > > > > > Music Technology Laboratory
> > > > > > Music Department
> > > > > > National University of Ireland, Maynooth
> > > > > >
> > > > > > --
> > > > > > Send bugs reports to [hidden email]
> > > > > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > > To unsubscribe, send email to [hidden email]
> > > > > >
> > > > >
> > > > >
> > > > >--
> > > > >"Some people got attitude,
> > > > >Backed up with attitude."
> > > > >-G. Love
> > > > >--
> > > > >Send bugs reports to [hidden email]
> > > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > >To unsubscribe, send email to [hidden email]
> > > >
> > > > Victor Lazzarini
> > > > Music Technology Laboratory
> > > > Music Department
> > > > National University of Ireland, Maynooth
> > > >
> > > > --
> > > > Send bugs reports to [hidden email]
> > > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > To unsubscribe, send email to [hidden email]
> > > >
> > >
> > >
> > >--
> > >"Some people got attitude,
> > >Backed up with attitude."
> > >-G. Love
> > >--
> > >Send bugs reports to [hidden email]
> > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > >To unsubscribe, send email to [hidden email]
> >
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> >
> > --
> > Send bugs reports to [hidden email]
> >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > To unsubscribe, send email to [hidden email]
> >
>
>
>--
>"Some people got attitude,
>Backed up with attitude."
>-G. Love
>--
>Send bugs reports to [hidden email]
>               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
>To unsubscribe, send email to [hidden email]

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Fart-FOG distress

Chuckk Hubbard
Thanks, Victor, now I'm FOGing away.  This is awesome.
Regarding the handle, the manual says not to assign anything, that it
will be assigned by the program.  It seems to be working fine.

-Chuckk

On 5/13/05, Victor Lazzarini <[hidden email]> wrote:

> it looks like it's your FLvalue opcodes, there is a missing comma
>
> ih FLvalue "Transp", 40, 20, 110, 5
>
> also use a different variable for the handle otherwise you will not
> be able to do waht you want. The FLslider also has problems,
> slider type 8 does not seem to exist,
>
> Victor
> At 13:59 13/05/2005, you wrote:
> >Now with that fixed, mycsound4 gives the same error, "inconsistent
> >strarg sizecount".
> >
> >
> >
> >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > >
> > > FLpanel_end is FLpanelEnd in canonical csound.
> > >
> > > Victor
> > > At 13:14 13/05/2005, you wrote:
> > > >Cool, thanks for the link.
> > > >Mycsound4 actually says FLpanel_end is not a legal opcode.
> > > >-Chuckk
> > > >
> > > >
> > > >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > > > www.nuim.ie/academic/music/musictec/csound/
> > > > >
> > > > > This link should perhaps be added to csounds.com (?)
> > > > >
> > > > > Victor
> > > > >
> > > > > At 12:52 13/05/2005, you wrote:
> > > > > >Hmm, I haven't found any other Csounds that support widgets.  Where is
> > > > > >MyCsound4?  I tried your phasor, and tried init 0, with CsoundAV and I
> > > > > >get the same message.  Every other version I have waits a few seconds
> > > > > >and then says it is finished.
> > > > > >
> > > > > >-Chuckk
> > > > > >
> > > > > >On 5/13/05, Victor Lazzarini <[hidden email]> wrote:
> > > > > > > A quick glance at it shows that because you are
> > > > > > > using ad = 1, you will be reading the grains at the end of the
> > table,
> > > > > > > at a fixed position.
> > > > > > >
> > > > > > > In the manual (4.22 winhelp) the xspd argument you refer to is
> > > > > > > actually aphs, so it has to be a-rate.
> > > > > > >
> > > > > > > This is not really 'speed', but a pointer to the readout
> > position. In
> > > > > > > order to use FOG to playback a sound, you have to vary it,
> > > > > > > say, like this
> > > > > > >
> > > > > > > idur = ftlen(1)/sr
> > > > > > > aphs phasor   1/idur
> > > > > > >
> > > > > > > (I'm using a phasor so the readout loops)
> > > > > > >
> > > > > > > I'm not so sure about the strset errors as I don't really use
> > csoundAV.
> > > > > > > Try running it with the canonical version to see if you get the
> > same
> > > > > > > errors (with eg. MyCsound4, as it supports widgets).
> > > > > > >
> > > > > > > Victor
> > > > > > >
> > > > > > > At 11:37 13/05/2005, you wrote:
> > > > > > > >Hi.  I'm attempting to control FOG with FLTK, for practice
> > with both.
> > > > > > > >I get the message "inconsistent strarg sizecount" from
> > CsoundAV.  I
> > > > > > > >first got the error saying the xspd argument had to be a-rate,
> > so I
> > > > > > > >initialized an a-rate variable as 1, just to make it work, but it
> > > > > > > >started giving me this strarg sizecount message.  It reads 35
> > lines
> > > > > > > >and says "instr 1" first.  I ran it with -v flag, but besides
> > being
> > > > > > > >amazing to watch it didn't tell me anything.  The f1 size is
> > too small
> > > > > > > >for the whole soundfile, but it catches enough, as I found through
> > > > > > > >trial-and-error just oscillating through it.
> > > > > > > >
> > > > > > > >I know it's a pain to wade through this for someone else, but
> > in case
> > > > > > > >anyone wants to, here's my csd:
> > > > > > > >
> > > > > > > >
> > > > > > > ><CsoundSynthesizer>
> > > > > > > ><CsOptions>
> > > > > > > >-+P
> > > > > > > ></CsOptions>
> > > > > > > ><CsInstruments>
> > > > > > > >sr = 48000
> > > > > > > >kr = 48000
> > > > > > > >ksmps = 1
> > > > > > > >nchnls = 1
> > > > > > > >
> > > > > > > >         FLpanel "Fart-FOG Parameters", 500, 500
> > > > > > > >ih FLvalue "Vol" 40, 20, 10, 10
> > > > > > > >ih FLvalue "Transp" 40, 20, 110, 5
> > > > > > > >ih FLvalue "Dens" 40, 20, 410, 380
> > > > > > > >ih FLvalue "Bndwth" 40, 20, 410, 240
> > > > > > > >ih FLvalue "Spd" 40, 20, 410, 440
> > > > > > > >ih FLvalue "Ris" 40, 20, 190, 5
> > > > > > > >ih FLvalue "Dur" 40, 20, 270, 5
> > > > > > > >ih FLvalue "Dec" 40, 20, 350, 5
> > > > > > > >gkamp, ih FLslider "Vol", 0, 1, 0, 8, 0, 500, 200, 10, 40
> > > > > > > >gkdens, gkband, ih, ih FLjoy "Dens/Bndw", 1, 200, 1, 500, 0,
> > 0, 2, 3,
> > > > > > > >300, 300, 100, 100
> > > > > > > >gkspd, ih FLroller "Spd", 0, 1, .01, 0, 1, 4, 300, 20, 100, 440
> > > > > > > >gktrans, ih FLknob "Transp", -10, 50, 0, 1, 1, 70, 110, 25
> > > > > > > >gkris, ih FLknob "Ris", 0, 1, 0, 1, 5, 70, 190, 25
> > > > > > > >gkdur, ih FLknob "Dur", 0, 1, 0, 1, 6, 70, 270, 25
> > > > > > > >gkdec, ih FLknob "Dec", 0, 1, 0, 1, 7, 70, 350, 25
> > > > > > > >         FLpanel_end
> > > > > > > >         FLrun
> > > > > > > >
> > > > > > > >instr 1
> > > > > > > >
> > > > > > > >itotdur = p3
> > > > > > > >ifnb    = p4
> > > > > > > >ad      init 1   ; it wouldn't accept k-rate for spd
> > > > > > > >ar      fog     gkamp*30000, gkdens, gktrans, ad, 0, gkband,
> > > > gkris, gkdur,
> > > > > > > >gkdec, 150, 1, ifnb, itotdur
> > > > > > > >         out ar
> > > > > > > >
> > > > > > > >
> > > > > > > >endin
> > > > > > > >
> > > > > > > ></CsInstruments>
> > > > > > > ><CsScore>
> > > > > > > >f1 0 32768 1 "C:\Csound\fartformantproject\newfart1.wav" 0 4 0
> > > > > > > >f2 0 16384 19 1 1 0 0
> > > > > > > >f3 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0
> > > > > > > >f4 0 16384 19 1 1 0 0 2 .5 0 0 3 .3333 0 0 4 .25 0 0 5 .2 0 0 6
> > > > > > > >.166666 0 0 7 .142 0 0 8 .125 0 0 9 .111111 0 0 10 .1 0 0
> > > > > > > >
> > > > > > > >;       p4=function window
> > > > > > > >i1 0 30 2
> > > > > > > >i1 30 30 2
> > > > > > > >i1 60 30 2
> > > > > > > >
> > > > > > > >
> > > > > > > >e
> > > > > > > ></CsScore>
> > > > > > > ></CsoundSynthesizer>
> > > > > > > >
> > > > > > > >
> > > > > > > >Thanks.
> > > > > > > >Chuckk
> > > > > > > >--
> > > > > > > >Send bugs reports to [hidden email]
> > > > > > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > > > >To unsubscribe, send email to [hidden email]
> > > > > > >
> > > > > > > Victor Lazzarini
> > > > > > > Music Technology Laboratory
> > > > > > > Music Department
> > > > > > > National University of Ireland, Maynooth
> > > > > > >
> > > > > > > --
> > > > > > > Send bugs reports to [hidden email]
> > > > > > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > > > To unsubscribe, send email to [hidden email]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >--
> > > > > >"Some people got attitude,
> > > > > >Backed up with attitude."
> > > > > >-G. Love
> > > > > >--
> > > > > >Send bugs reports to [hidden email]
> > > > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > >To unsubscribe, send email to [hidden email]
> > > > >
> > > > > Victor Lazzarini
> > > > > Music Technology Laboratory
> > > > > Music Department
> > > > > National University of Ireland, Maynooth
> > > > >
> > > > > --
> > > > > Send bugs reports to [hidden email]
> > > > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > > > To unsubscribe, send email to [hidden email]
> > > > >
> > > >
> > > >
> > > >--
> > > >"Some people got attitude,
> > > >Backed up with attitude."
> > > >-G. Love
> > > >--
> > > >Send bugs reports to [hidden email]
> > > >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > >To unsubscribe, send email to [hidden email]
> > >
> > > Victor Lazzarini
> > > Music Technology Laboratory
> > > Music Department
> > > National University of Ireland, Maynooth
> > >
> > > --
> > > Send bugs reports to [hidden email]
> > >              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> > > To unsubscribe, send email to [hidden email]
> > >
> >
> >
> >--
> >"Some people got attitude,
> >Backed up with attitude."
> >-G. Love
> >--
> >Send bugs reports to [hidden email]
> >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> >To unsubscribe, send email to [hidden email]
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
> --
> Send bugs reports to [hidden email]
>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>


--
"Some people got attitude,
Backed up with attitude."
-G. Love
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Fart-FOG distress

Gabriel Maldonado-2
In reply to this post by Victor Lazzarini
BtW: I normally use fof2 and fof3 and never used fog. What is the
difference between fof2 and fog? Why the aphs argument is a-rate if it
only sets the starting sample offset of each grain? Is it there a way to
  control the phase for the entire grain duration (i.e. not only the
inital grain phase)?

Gabriel

Victor Lazzarini wrote:

> In the manual (4.22 winhelp) the xspd argument you refer to is
> actually aphs, so it has to be a-rate.
>
> This is not really 'speed', but a pointer to the readout position. In
> order to use FOG to playback a sound, you have to vary it,
> say, like this
>
> idur = ftlen(1)/sr
> aphs phasor   1/idur
>
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Fart-FOG distress

Chuckk Hubbard
I'm confused about this too.  I thought I understood aphs was an
increment, that it would jump farther for each grain by aphs*ftable
length, but I can't hear any difference while the value is static,
only when I move it.  I would think, if it were changing according to
aphs, the sound would be changing constantly when set between 0 and 1.
 I would also guess there would be values for which some semblance of
the original soundfile would be audible.  I will try with longer kdur
and see what happens.

-Chuckk

On 5/14/05, Gabriel Maldonado <[hidden email]> wrote:

> BtW: I normally use fof2 and fof3 and never used fog. What is the
> difference between fof2 and fog? Why the aphs argument is a-rate if it
> only sets the starting sample offset of each grain? Is it there a way to
>  control the phase for the entire grain duration (i.e. not only the
> inital grain phase)?
>
> Gabriel
>
> Victor Lazzarini wrote:
> > In the manual (4.22 winhelp) the xspd argument you refer to is
> > actually aphs, so it has to be a-rate.
> >
> > This is not really 'speed', but a pointer to the readout position. In
> > order to use FOG to playback a sound, you have to vary it,
> > say, like this
> >
> > idur = ftlen(1)/sr
> > aphs phasor   1/idur
> >
> --
> Send bugs reports to [hidden email]
>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>


--
"Some people got attitude,
Backed up with attitude."
-G. Love
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Fart-FOG distress

Victor Lazzarini
In reply to this post by Chuckk Hubbard
(not having had a look at the code), I'd say aphs
only affects the start position of the grain, but you
can have audio-rate modulation of grain start times
(I'm not sure how useful this would be, but that's
what you can do).

I have used fog more than fof2, as it suited my stuff
better, but now that I've ported syncgrain to csound, that's
what I use.

The way aphs works is simple: say you have your sound
lasting  for  ftlen/sr seconds . Then you can use
a time counter, such as line, to procceed at whatever
rate you want:

aphs line  0, ftlen(ift)/sr 1

will play back the sound at the original timescale

aphs line 0, ftlen(ift)/(2*sr), 1

will playback the sound at twice the speed

aphs line 0, 2*ftlen(ift)/sr, 1

Of course, there will be no pitch change (unless you
change the pitch parameter).

I like using phasor, as the sound then gets looped.

Victor




>
> I'm confused about this too.  I thought I understood aphs
> was an increment, that it would jump farther for each
> grain by aphs*ftable length, but I can't hear any
> difference while the value is static, only when I move it.
>  I would think, if it were changing according to aphs, the
> sound would be changing constantly when set between 0 and
> 1.
>  I would also guess there would be values for which some
> semblance of the original soundfile would be audible.  I
> will try with longer kdur and see what happens.
>
> -Chuckk
>
> On 5/14/05, Gabriel Maldonado <[hidden email]>
> > wrote: BtW: I normally use fof2 and fof3 and never used
> > fog. What is the difference between fof2 and fog? Why
> > the aphs argument is a-rate if it only sets the starting
> >  sample offset of each grain? Is it there a way to
> control the phase for the entire grain duration (i.e. not
> > only the inital grain phase)?
> >
> > Gabriel
> >
> > Victor Lazzarini wrote:
> > > In the manual (4.22 winhelp) the xspd argument you
> > > refer to is actually aphs, so it has to be a-rate.
> > >
> > > This is not really 'speed', but a pointer to the
> > > readout position. In order to use FOG to playback a
> > > sound, you have to vary it, say, like this
> > >
> > > idur = ftlen(1)/sr
> > > aphs phasor   1/idur
> > >
> > --
> > Send bugs reports to [hidden email]
> >              (or to
> > http://www.cs.bath.ac.uk/cgi-bin/csound ) To unsubscribe
> > , send email to [hidden email]
>
>
> --
> "Some people got attitude,
> Backed up with attitude."
> -G. Love
> --
> Send bugs reports to [hidden email]
>               (or to
> http://www.cs.bath.ac.uk/cgi-bin/csound ) To unsubscribe,
> send email to [hidden email]
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

cmask alternatives

doug cross
i've been using cmask to generate scores. i wanted to continue with it
but it's not around for system 10.. any suggestions for an alternative
score generator for system 10?

doug

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: cmask alternatives

Pat Pagano
pymask
works fine on OS X

On May 14, 2005, at 3:14 PM, doug cross wrote:

> i've been using cmask to generate scores. i wanted to continue with it
> but it's not around for system 10.. any suggestions for an alternative
> score generator for system 10?
>
> doug
>
> --
> Send bugs reports to [hidden email]
>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>
>

Patrick Pagano, B.S.,M.F.A Candidate
Research And Development Assistant
Digital Worlds Institute
University Of Florida
(352) 294-2070

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: cmask alternatives

Anthony Kozar
In reply to this post by doug cross
The PPC version of cmask should work fine on OS X.  Also, there is pmask but
knowing Python is sort of necessary.  Probably the easiest replacement with
a native port would be nGen.  I think that Cecilia's Cybil score language is
also similar but I'm not sure.

http://mustec.bgsu.edu/~mkuehn/ngen/
nGen Home Page

http://jeanpiche.com/software.htm
OS X Cecilia

http://sourceforge.net/projects/pythonsound/
OMDE & pmask


Anthony Kozar
[hidden email]
http://akozar.spymac.net/

On 5/14/05 3:14 PM, doug cross <[hidden email]> etched in stone:

> i've been using cmask to generate scores. i wanted to continue with it
> but it's not around for system 10.. any suggestions for an alternative
> score generator for system 10?

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: cmask alternatives

Michael Gogins
In reply to this post by doug cross
Christopher Ariza's all-Python package athenaCL can do all this, and much more, and is designed to work with Csound.

At: http://www.flexatone.net/athena.html

Regards,
Mike


-----Original Message-----
From: Anthony Kozar <[hidden email]>
Sent: May 14, 2005 4:11 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [Csnd] cmask alternatives

The PPC version of cmask should work fine on OS X.  Also, there is pmask but
knowing Python is sort of necessary.  Probably the easiest replacement with
a native port would be nGen.  I think that Cecilia's Cybil score language is
also similar but I'm not sure.

http://mustec.bgsu.edu/~mkuehn/ngen/
nGen Home Page

http://jeanpiche.com/software.htm
OS X Cecilia

http://sourceforge.net/projects/pythonsound/
OMDE & pmask


Anthony Kozar
[hidden email]
http://akozar.spymac.net/

On 5/14/05 3:14 PM, doug cross <[hidden email]> etched in stone:

> i've been using cmask to generate scores. i wanted to continue with it
> but it's not around for system 10.. any suggestions for an alternative
> score generator for system 10?

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]



--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: cmask alternatives

Pat Pagano
In reply to this post by Anthony Kozar
yes, i meant pmask --it is closest to cmask IMHO as i have tried all
those others



On May 14, 2005, at 4:11 PM, Anthony Kozar wrote:

> The PPC version of cmask should work fine on OS X.  Also, there is
> pmask but
> knowing Python is sort of necessary.  Probably the easiest replacement
> with
> a native port would be nGen.  I think that Cecilia's Cybil score
> language is
> also similar but I'm not sure.
>
> http://mustec.bgsu.edu/~mkuehn/ngen/
> nGen Home Page
>
> http://jeanpiche.com/software.htm
> OS X Cecilia
>
> http://sourceforge.net/projects/pythonsound/
> OMDE & pmask
>
>
> Anthony Kozar
> [hidden email]
> http://akozar.spymac.net/
>
> On 5/14/05 3:14 PM, doug cross <[hidden email]> etched in stone:
>
>> i've been using cmask to generate scores. i wanted to continue with it
>> but it's not around for system 10.. any suggestions for an alternative
>> score generator for system 10?
>
> --
> Send bugs reports to [hidden email]
>               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>
>

Patrick Pagano, B.S.,M.F.A Candidate
Research And Development Assistant
Digital Worlds Institute
University Of Florida
(352) 294-2070

--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Fart-FOG distress

Chuckk Hubbard
In reply to this post by Victor Lazzarini
I misunderstood the manual.  It actually calls it "aspd," and says,
"The rate at which successive grains advance through the stored
function table ifna."  But it acts the way you say aphs should.
It makes more sense the way it is, though.  I'm using phasor now too,
controlled by the same FLroller.
Thanks.

-Chuckk

On 5/14/05, Victor Lazzarini <[hidden email]> wrote:

> (not having had a look at the code), I'd say aphs
> only affects the start position of the grain, but you
> can have audio-rate modulation of grain start times
> (I'm not sure how useful this would be, but that's
> what you can do).
>
> I have used fog more than fof2, as it suited my stuff
> better, but now that I've ported syncgrain to csound, that's
> what I use.
>
> The way aphs works is simple: say you have your sound
> lasting  for  ftlen/sr seconds . Then you can use
> a time counter, such as line, to procceed at whatever
> rate you want:
>
> aphs line  0, ftlen(ift)/sr 1
>
> will play back the sound at the original timescale
>
> aphs line 0, ftlen(ift)/(2*sr), 1
>
> will playback the sound at twice the speed
>
> aphs line 0, 2*ftlen(ift)/sr, 1
>
> Of course, there will be no pitch change (unless you
> change the pitch parameter).
>
> I like using phasor, as the sound then gets looped.
>
> Victor
>
>
>
>
> >
> > I'm confused about this too.  I thought I understood aphs
> > was an increment, that it would jump farther for each
> > grain by aphs*ftable length, but I can't hear any
> > difference while the value is static, only when I move it.
> >  I would think, if it were changing according to aphs, the
> > sound would be changing constantly when set between 0 and
> > 1.
> >  I would also guess there would be values for which some
> > semblance of the original soundfile would be audible.  I
> > will try with longer kdur and see what happens.
> >
> > -Chuckk
> >
> > On 5/14/05, Gabriel Maldonado <[hidden email]>
> > > wrote: BtW: I normally use fof2 and fof3 and never used
> > > fog. What is the difference between fof2 and fog? Why
> > > the aphs argument is a-rate if it only sets the starting
> > >  sample offset of each grain? Is it there a way to
> > control the phase for the entire grain duration (i.e. not
> > > only the inital grain phase)?
> > >
> > > Gabriel
> > >
> > > Victor Lazzarini wrote:
> > > > In the manual (4.22 winhelp) the xspd argument you
> > > > refer to is actually aphs, so it has to be a-rate.
> > > >
> > > > This is not really 'speed', but a pointer to the
> > > > readout position. In order to use FOG to playback a
> > > > sound, you have to vary it, say, like this
> > > >
> > > > idur = ftlen(1)/sr
> > > > aphs phasor   1/idur
> > > >
> > > --
> > > Send bugs reports to [hidden email]
> > >              (or to
> > > http://www.cs.bath.ac.uk/cgi-bin/csound ) To unsubscribe
> > > , send email to [hidden email]
> >
> >
> > --
> > "Some people got attitude,
> > Backed up with attitude."
> > -G. Love
> > --
> > Send bugs reports to [hidden email]
> >               (or to
> > http://www.cs.bath.ac.uk/cgi-bin/csound ) To unsubscribe,
> > send email to [hidden email]
> --
> Send bugs reports to [hidden email]
>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
> To unsubscribe, send email to [hidden email]
>


--
"Some people got attitude,
Backed up with attitude."
-G. Love
--
Send bugs reports to [hidden email]
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to [hidden email]
12