[Csnd] fsig1=fsig2
Date | 2013-01-06 19:50 |
From | Tarmo Johannes |
Subject | [Csnd] fsig1=fsig2 |
Hello, how can I evaluate one f-signal from another, looks like fsig1=fsig2 does not do the trick I need something like if ((kflags&1)>0) then filter1 pvshift fread, -kcontrol*100,1000 else filter1=fread ; or how to it? endif if ((kflags&2)>0) then filter2 .... ; another operation using filter1 else filter2=filter1 endif ; etc asig pvsynth filter2 I would use pvsmix but that mixes only 2 signals. thanks! tarmo |
Date | 2013-01-06 21:07 |
From | Victor Lazzarini |
Subject | Re: [Csnd] fsig1=fsig2 |
What do you mean = does not do the trick? Is it not working? You could do fs1 pvsmix fs2, fs2 Victor On 6 Jan 2013, at 19:50, Tarmo Johannes wrote: > Hello, > > how can I evaluate one f-signal from another, looks like fsig1=fsig2 does not > do the trick > > I need something like > > > if ((kflags&1)>0) then > filter1 pvshift fread, -kcontrol*100,1000 > else > filter1=fread ; or how to it? > endif > > if ((kflags&2)>0) then > filter2 .... ; another operation using filter1 > else > filter2=filter1 > endif > > ; etc > > asig pvsynth filter2 > > > I would use pvsmix but that mixes only 2 signals. > > thanks! > > tarmo > > > > > 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" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-01-07 06:14 |
From | Tarmo Johannes |
Subject | Re: [Csnd] fsig1=fsig2 |
Thanks, On Sunday 06 January 2013 21:07:34 Victor Lazzarini wrote: > What do you mean = does not do the trick? Is it not working? yes, fsig1 remained empty > > You could do > > fs1 pvsmix fs2, fs2 good hint, I used now fs2 pvsgain fs2,1 which one is lighter for CPU? greetings, tarmo > > Victor > > On 6 Jan 2013, at 19:50, Tarmo Johannes wrote: > > Hello, > > > > how can I evaluate one f-signal from another, looks like fsig1=fsig2 does > > not do the trick > > > > I need something like > > > > > > if ((kflags&1)>0) then > > > > filter1 pvshift fread, -kcontrol*100,1000 > > > > else > > > > filter1=fread ; or how to it? > > > > endif > > > > if ((kflags&2)>0) then > > > > filter2 .... ; another operation using filter1 > > > > else > > > > filter2=filter1 > > > > endif > > > > ; etc > > > > asig pvsynth filter2 > > > > > > I would use pvsmix but that mixes only 2 signals. > > > > thanks! > > > > tarmo > > > > > > > > > > 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" > Dr Victor Lazzarini > Senior Lecturer > Dept. of Music > NUI Maynooth Ireland > tel.: +353 1 708 3545 > Victor dot Lazzarini AT nuim dot ie > > > > > > 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" |
Date | 2013-01-07 07:55 |
From | Victor Lazzarini |
Subject | Re: [Csnd] fsig1=fsig2 |
yes, that is another alternative. Could you file in a bug for "=" ? I will then look into it. On 7 Jan 2013, at 06:14, Tarmo Johannes wrote: > Thanks, > > On Sunday 06 January 2013 21:07:34 Victor Lazzarini wrote: >> What do you mean = does not do the trick? Is it not working? > yes, fsig1 remained empty > >> >> You could do >> >> fs1 pvsmix fs2, fs2 > good hint, I used now > fs2 pvsgain fs2,1 > > which one is lighter for CPU? > > greetings, > tarmo > > >> >> Victor >> >> On 6 Jan 2013, at 19:50, Tarmo Johannes wrote: >>> Hello, >>> >>> how can I evaluate one f-signal from another, looks like fsig1=fsig2 does >>> not do the trick >>> >>> I need something like >>> >>> >>> if ((kflags&1)>0) then >>> >>> filter1 pvshift fread, -kcontrol*100,1000 >>> >>> else >>> >>> filter1=fread ; or how to it? >>> >>> endif >>> >>> if ((kflags&2)>0) then >>> >>> filter2 .... ; another operation using filter1 >>> >>> else >>> >>> filter2=filter1 >>> >>> endif >>> >>> ; etc >>> >>> asig pvsynth filter2 >>> >>> >>> I would use pvsmix but that mixes only 2 signals. >>> >>> thanks! >>> >>> tarmo >>> >>> >>> >>> >>> 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" >> Dr Victor Lazzarini >> Senior Lecturer >> Dept. of Music >> NUI Maynooth Ireland >> tel.: +353 1 708 3545 >> Victor dot Lazzarini AT nuim dot ie >> >> >> >> >> >> 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" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-01-07 08:57 |
From | Victor Lazzarini |
Subject | Re: [Csnd] fsig1=fsig2 |
Fixed in GIT On 7 Jan 2013, at 06:14, Tarmo Johannes wrote: > Thanks, > > On Sunday 06 January 2013 21:07:34 Victor Lazzarini wrote: >> What do you mean = does not do the trick? Is it not working? > yes, fsig1 remained empty > >> >> You could do >> >> fs1 pvsmix fs2, fs2 > good hint, I used now > fs2 pvsgain fs2,1 > > which one is lighter for CPU? > > greetings, > tarmo > > >> >> Victor >> >> On 6 Jan 2013, at 19:50, Tarmo Johannes wrote: >>> Hello, >>> >>> how can I evaluate one f-signal from another, looks like fsig1=fsig2 does >>> not do the trick >>> >>> I need something like >>> >>> >>> if ((kflags&1)>0) then >>> >>> filter1 pvshift fread, -kcontrol*100,1000 >>> >>> else >>> >>> filter1=fread ; or how to it? >>> >>> endif >>> >>> if ((kflags&2)>0) then >>> >>> filter2 .... ; another operation using filter1 >>> >>> else >>> >>> filter2=filter1 >>> >>> endif >>> >>> ; etc >>> >>> asig pvsynth filter2 >>> >>> >>> I would use pvsmix but that mixes only 2 signals. >>> >>> thanks! >>> >>> tarmo >>> >>> >>> >>> >>> 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" >> Dr Victor Lazzarini >> Senior Lecturer >> Dept. of Music >> NUI Maynooth Ireland >> tel.: +353 1 708 3545 >> Victor dot Lazzarini AT nuim dot ie >> >> >> >> >> >> 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" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-01-08 06:31 |
From | Tarmo Johannes |
Subject | Re: [Csnd] fsig1=fsig2 |
thanks,
strangely still it does not work for me. Compiled csound from git, Csound version 5.19.00 beta (double samples) Jan 7 2013
the piece of code, where I tested it:
if ((kflags&1)>0) then ; 1. filter sees filter1 pvswarp fread, kcontrol*2,(1-kcontrol)*2 else filter1 pvsgain fread,1 ;filter1=fread endif
if I use pvsgain, the sound comes thorug, if filter1=fread, nothings sounds.
I guess I compiled correctly but god knows, maybe it my build or installation.
tarmo
On Monday, January 07, 2013 08:57:35 AM Victor Lazzarini wrote: > Fixed in GIT > > On 7 Jan 2013, at 06:14, Tarmo Johannes wrote: > > Thanks, > > > > On Sunday 06 January 2013 21:07:34 Victor Lazzarini wrote: > >> What do you mean = does not do the trick? Is it not working? > > > > yes, fsig1 remained empty > > > >> You could do > >> > >> fs1 pvsmix fs2, fs2 > > > > good hint, I used now > > fs2 pvsgain fs2,1 > > > > which one is lighter for CPU? > > > > greetings, > > tarmo > > > >> Victor > >> > >> On 6 Jan 2013, at 19:50, Tarmo Johannes wrote: > >>> Hello, > >>> > >>> how can I evaluate one f-signal from another, looks like fsig1=fsig2 > >>> does > >>> not do the trick > >>> > >>> I need something like > >>> > >>> > >>> if ((kflags&1)>0) then > >>> > >>> filter1 pvshift fread, -kcontrol*100,1000 > >>> > >>> else > >>> > >>> filter1=fread ; or how to it? > >>> > >>> endif > >>> > >>> if ((kflags&2)>0) then > >>> > >>> filter2 .... ; another operation using filter1 > >>> > >>> else > >>> > >>> filter2=filter1 > >>> > >>> endif > >>> > >>> ; etc > >>> > >>> asig pvsynth filter2 > >>> > >>> > >>> I would use pvsmix but that mixes only 2 signals. > >>> > >>> thanks! > >>> > >>> tarmo > >>> > >>> > >>> > >>> > >>> 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" > >> > >> Dr Victor Lazzarini > >> Senior Lecturer > >> Dept. of Music > >> NUI Maynooth Ireland > >> tel.: +353 1 708 3545 > >> Victor dot Lazzarini AT nuim dot ie > >> > >> > >> > >> > >> > >> 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" > Dr Victor Lazzarini > Senior Lecturer > Dept. of Music > NUI Maynooth Ireland > tel.: +353 1 708 3545 > Victor dot Lazzarini AT nuim dot ie > > > > > > 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" |
Date | 2013-01-08 09:18 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] fsig1=fsig2 |
It was fixed in 5.19.01 > thanks, > > strangely still it does not work for me. Compiled csound from git, > Csound version 5.19.00 beta (double samples) Jan 7 2013 > > the piece of code, where I tested it: > > if ((kflags&1)>0) then ; 1. filter sees > filter1 pvswarp fread, kcontrol*2,(1-kcontrol)*2 > else > filter1 pvsgain fread,1 > ;filter1=fread > endif > > > if I use pvsgain, the sound comes thorug, if filter1=fread, nothings > sounds. > > I guess I compiled correctly but god knows, maybe it my build or > installation. > > > tarmo > > On Monday, January 07, 2013 08:57:35 AM Victor Lazzarini wrote: >> Fixed in GIT >> >> On 7 Jan 2013, at 06:14, Tarmo Johannes wrote: >> > Thanks, >> > >> > On Sunday 06 January 2013 21:07:34 Victor Lazzarini wrote: >> >> What do you mean = does not do the trick? Is it not working? >> > >> > yes, fsig1 remained empty >> > >> >> You could do >> >> >> >> fs1 pvsmix fs2, fs2 >> > >> > good hint, I used now >> > fs2 pvsgain fs2,1 >> > >> > which one is lighter for CPU? >> > >> > greetings, >> > tarmo >> > >> >> Victor >> >> >> >> On 6 Jan 2013, at 19:50, Tarmo Johannes wrote: >> >>> Hello, >> >>> >> >>> how can I evaluate one f-signal from another, looks like fsig1=fsig2 >> >>> does >> >>> not do the trick >> >>> >> >>> I need something like >> >>> >> >>> >> >>> if ((kflags&1)>0) then >> >>> >> >>> filter1 pvshift fread, -kcontrol*100,1000 >> >>> >> >>> else >> >>> >> >>> filter1=fread ; or how to it? >> >>> >> >>> endif >> >>> >> >>> if ((kflags&2)>0) then >> >>> >> >>> filter2 .... ; another operation using filter1 >> >>> >> >>> else >> >>> >> >>> filter2=filter1 >> >>> >> >>> endif >> >>> >> >>> ; etc >> >>> >> >>> asig pvsynth filter2 >> >>> >> >>> >> >>> I would use pvsmix but that mixes only 2 signals. >> >>> >> >>> thanks! >> >>> >> >>> tarmo >> >>> >> >>> >> >>> >> >>> >> >>> 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" >> >> >> >> Dr Victor Lazzarini >> >> Senior Lecturer >> >> Dept. of Music >> >> NUI Maynooth Ireland >> >> tel.: +353 1 708 3545 >> >> Victor dot Lazzarini AT nuim dot ie >> >> >> >> >> >> >> >> >> >> >> >> 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" >> Dr Victor Lazzarini >> Senior Lecturer >> Dept. of Music >> NUI Maynooth Ireland >> tel.: +353 1 708 3545 >> Victor dot Lazzarini AT nuim dot ie >> >> >> >> >> >> 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" > > |
Date | 2013-01-08 15:54 |
From | Victor Lazzarini |
Subject | Re: [Csnd] fsig1=fsig2 |
yes, I tested that example and it seems to work. Victor On 8 Jan 2013, at 09:18, jpff@cs.bath.ac.uk wrote: > It was fixed in 5.19.01 > > >> thanks, >> >> strangely still it does not work for me. Compiled csound from git, >> Csound version 5.19.00 beta (double samples) Jan 7 2013 >> >> the piece of code, where I tested it: >> >> if ((kflags&1)>0) then ; 1. filter sees >> filter1 pvswarp fread, kcontrol*2,(1-kcontrol)*2 >> else >> filter1 pvsgain fread,1 >> ;filter1=fread >> endif >> >> >> if I use pvsgain, the sound comes thorug, if filter1=fread, nothings >> sounds. >> >> I guess I compiled correctly but god knows, maybe it my build or >> installation. >> >> >> tarmo >> >> On Monday, January 07, 2013 08:57:35 AM Victor Lazzarini wrote: >>> Fixed in GIT >>> >>> On 7 Jan 2013, at 06:14, Tarmo Johannes wrote: >>>> Thanks, >>>> >>>> On Sunday 06 January 2013 21:07:34 Victor Lazzarini wrote: >>>>> What do you mean = does not do the trick? Is it not working? >>>> >>>> yes, fsig1 remained empty >>>> >>>>> You could do >>>>> >>>>> fs1 pvsmix fs2, fs2 >>>> >>>> good hint, I used now >>>> fs2 pvsgain fs2,1 >>>> >>>> which one is lighter for CPU? >>>> >>>> greetings, >>>> tarmo >>>> >>>>> Victor >>>>> >>>>> On 6 Jan 2013, at 19:50, Tarmo Johannes wrote: >>>>>> Hello, >>>>>> >>>>>> how can I evaluate one f-signal from another, looks like fsig1=fsig2 >>>>>> does >>>>>> not do the trick >>>>>> >>>>>> I need something like >>>>>> >>>>>> >>>>>> if ((kflags&1)>0) then >>>>>> >>>>>> filter1 pvshift fread, -kcontrol*100,1000 >>>>>> >>>>>> else >>>>>> >>>>>> filter1=fread ; or how to it? >>>>>> >>>>>> endif >>>>>> >>>>>> if ((kflags&2)>0) then >>>>>> >>>>>> filter2 .... ; another operation using filter1 >>>>>> >>>>>> else >>>>>> >>>>>> filter2=filter1 >>>>>> >>>>>> endif >>>>>> >>>>>> ; etc >>>>>> >>>>>> asig pvsynth filter2 >>>>>> >>>>>> >>>>>> I would use pvsmix but that mixes only 2 signals. >>>>>> >>>>>> thanks! >>>>>> >>>>>> tarmo >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> 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" >>>>> >>>>> Dr Victor Lazzarini >>>>> Senior Lecturer >>>>> Dept. of Music >>>>> NUI Maynooth Ireland >>>>> tel.: +353 1 708 3545 >>>>> Victor dot Lazzarini AT nuim dot ie >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 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" >>> Dr Victor Lazzarini >>> Senior Lecturer >>> Dept. of Music >>> NUI Maynooth Ireland >>> tel.: +353 1 708 3545 >>> Victor dot Lazzarini AT nuim dot ie >>> >>> >>> >>> >>> >>> 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" >> >> > > > > > 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" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |