Csound Csound-dev Csound-tekno Search About

PVSfilter bug?

Date2007-10-16 23:32
Frompeiman
SubjectPVSfilter bug?
Hi all,

It has just been brought to my attention that pvsfilter freezes csound.
Running the csd bellow I get a random set of numbers printed in the
terminal, very strange and I am heart broken as this is one of my favorite
opcodes ever! This is on OS X (intel) by the way.

Thanks
Peiman




sr=44100
ksmps=10
nchnls=2

instr 1
ar1, ar2	diskin	
"/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif", 1, 0, 1
ain1, ain2	diskin	
"/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif", 1, 0, 1

ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it

fsig1 	pvsfilter	 ftps2, ftps1, .5, .2
                
aout2  pvsynth  fsig1
outs aout2, aout2
endin





i1 0 10



e






This is printed in the terminal:

diskin: opened
'/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
        44100 Hz, 2 channel(s), 126389 sample frames
diskin: opened
'/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
        44100 Hz, 2 channel(s), 67472 sample frames
kdepth=0.500000 dirgain=0.000000
0: 0.000000; 0.000000 -> 0.000000
1: 0.000000; 0.000000 -> 0.000000
2: 0.000000; 0.000000 -> 0.000000
3: 0.000000; 0.000000 -> 0.000000
.
.
.
.
364: 20.260473; 0.028343 -> 3.704309
365: 17.096979; 0.003454 -> 3.083362
366: 16.842743; 0.036720 -> 3.093540
367: 12.612227; 0.041961 -> 2.323123
368: 14.283969; 0.166731 -> 2.809273
369: 14.587306; 0.313576 -> 3.083138
370: 11.687224; 0.072398 -> 2.188313
371: 9.055784; 0.055306 -> 1.680125
372: 11.423029; 0.078322 -> 2.145612
and so on....
-- 
View this message in context: http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13243686
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-10-17 20:48
Frompeiman
SubjectRe: PVSfilter bug?
Hello,
I just tried changing the amplitudes to 1 but no joy. Now for some reason
csound does finish performing but still I get CPU overload (100% CPU). I
think this is simply as the result of the printout (there are 512 lines
printed repeatedly which I suppose correspond with the fft bins used with
1024 window size and probably print on every frame!). All together there are
464301 lines! No wonder there is a CPU overload; actually my text editor
(Smultron), which is printing the lines, also crashes. I would put a copy of
the printout here but it's 16.2MB but I can email it if it is needed.  

Thanks
Peiman


peiman wrote:
> 
> Hi all,
> 
> It has just been brought to my attention that pvsfilter freezes csound.
> Running the csd bellow I get a random set of numbers printed in the
> terminal, very strange and I am heart broken as this is one of my favorite
> opcodes ever! This is on OS X (intel) by the way.
> 
> Thanks
> Peiman
> 
> 
> 
> 
> sr=44100
> ksmps=10
> nchnls=2
> 
> instr 1
> ar1, ar2	diskin	
> "/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif", 1, 0,
> 1
> ain1, ain2	diskin	
> "/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif", 1, 0, 1
> 
> ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
> ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it
> 
> fsig1 	pvsfilter	 ftps2, ftps1, .5, .2
>                 
> aout2  pvsynth  fsig1
> outs aout2, aout2
> endin
> 
> 
> 
> 
> 
> i1 0 10
> 
> 
> 
> e
> 
> 
> 
> 
> 
> 
> This is printed in the terminal:
> 
> diskin: opened
> '/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
>         44100 Hz, 2 channel(s), 126389 sample frames
> diskin: opened
> '/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
>         44100 Hz, 2 channel(s), 67472 sample frames
> kdepth=0.500000 dirgain=0.000000
> 0: 0.000000; 0.000000 -> 0.000000
> 1: 0.000000; 0.000000 -> 0.000000
> 2: 0.000000; 0.000000 -> 0.000000
> 3: 0.000000; 0.000000 -> 0.000000
> .
> .
> .
> .
> 364: 20.260473; 0.028343 -> 3.704309
> 365: 17.096979; 0.003454 -> 3.083362
> 366: 16.842743; 0.036720 -> 3.093540
> 367: 12.612227; 0.041961 -> 2.323123
> 368: 14.283969; 0.166731 -> 2.809273
> 369: 14.587306; 0.313576 -> 3.083138
> 370: 11.687224; 0.072398 -> 2.188313
> 371: 9.055784; 0.055306 -> 1.680125
> 372: 11.423029; 0.078322 -> 2.145612
> and so on....
> 

-- 
View this message in context: http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13261543
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-10-18 12:47
FromVictor Lazzarini
SubjectRe: PVSfilter bug?
Just tried it here on OSX. It's the printout that might be causing
you trouble (but it doesn't crash csound at the terminal). I had
not seen the printout at home because I did not have the latest code.
I suppose John was testing the sliding PV and forgot to take the
printout off the code. You can try running with the option
-O null to suppress all printout. We'll fix it for the next release.

Victor

At 20:48 17/10/2007, you wrote:

>Hello,
>I just tried changing the amplitudes to 1 but no joy. Now for some reason
>csound does finish performing but still I get CPU overload (100% CPU). I
>think this is simply as the result of the printout (there are 512 lines
>printed repeatedly which I suppose correspond with the fft bins used with
>1024 window size and probably print on every frame!). All together there are
>464301 lines! No wonder there is a CPU overload; actually my text editor
>(Smultron), which is printing the lines, also crashes. I would put a copy of
>the printout here but it's 16.2MB but I can email it if it is needed.
>
>Thanks
>Peiman
>
>
>peiman wrote:
> >
> > Hi all,
> >
> > It has just been brought to my attention that pvsfilter freezes csound.
> > Running the csd bellow I get a random set of numbers printed in the
> > terminal, very strange and I am heart broken as this is one of my favorite
> > opcodes ever! This is on OS X (intel) by the way.
> >
> > Thanks
> > Peiman
> >
> > 
> >
> > 
> > sr=44100
> > ksmps=10
> > nchnls=2
> >
> > instr 1
> > ar1, ar2      diskin
> > "/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif", 1, 0,
> > 1
> > ain1, ain2    diskin
> > "/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif", 1, 0, 1
> >
> > ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
> > ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it
> >
> > fsig1         pvsfilter       ftps2, ftps1, .5, .2
> >
> > aout2  pvsynth  fsig1
> > outs aout2, aout2
> > endin
> >
> > 
> >
> > 
> >
> > i1 0 10
> >
> >
> >
> > e
> >
> > 
> >
> > 
> >
> >
> > This is printed in the terminal:
> >
> > diskin: opened
> > '/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
> >         44100 Hz, 2 channel(s), 126389 sample frames
> > diskin: opened
> > '/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
> >         44100 Hz, 2 channel(s), 67472 sample frames
> > kdepth=0.500000 dirgain=0.000000
> > 0: 0.000000; 0.000000 -> 0.000000
> > 1: 0.000000; 0.000000 -> 0.000000
> > 2: 0.000000; 0.000000 -> 0.000000
> > 3: 0.000000; 0.000000 -> 0.000000
> > .
> > .
> > .
> > .
> > 364: 20.260473; 0.028343 -> 3.704309
> > 365: 17.096979; 0.003454 -> 3.083362
> > 366: 16.842743; 0.036720 -> 3.093540
> > 367: 12.612227; 0.041961 -> 2.323123
> > 368: 14.283969; 0.166731 -> 2.809273
> > 369: 14.587306; 0.313576 -> 3.083138
> > 370: 11.687224; 0.072398 -> 2.188313
> > 371: 9.055784; 0.055306 -> 1.680125
> > 372: 11.423029; 0.078322 -> 2.145612
> > and so on....
> >
>
>--
>View this message in context: 
>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13261543
>Sent from the Csound - General mailing list archive at Nabble.com.
>
>--
>Send bugs reports to this list.
>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

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

Date2007-10-18 16:44
Frompeiman
SubjectRe: PVSfilter bug?
Thanks Victor,

I just tried it with this command but I'm still getting the printout:
csound -odac -d -O null -b2048 -B2048 test.csd

Is this what you meant by using the -O null option, or am I doing it wrong?
Is there perhaps a way I can compile the opcode as a plug-in and replace it
with this one?  

Yes sorry, actually it is not crashing csound but the editors that I am
using (the printout is displayed inside smutron and blue).  

Best
Peiman


Victor Lazzarini wrote:
> 
> Just tried it here on OSX. It's the printout that might be causing
> you trouble (but it doesn't crash csound at the terminal). I had
> not seen the printout at home because I did not have the latest code.
> I suppose John was testing the sliding PV and forgot to take the
> printout off the code. You can try running with the option
> -O null to suppress all printout. We'll fix it for the next release.
> 
> Victor
> 
> At 20:48 17/10/2007, you wrote:
> 
>>Hello,
>>I just tried changing the amplitudes to 1 but no joy. Now for some reason
>>csound does finish performing but still I get CPU overload (100% CPU). I
>>think this is simply as the result of the printout (there are 512 lines
>>printed repeatedly which I suppose correspond with the fft bins used with
>>1024 window size and probably print on every frame!). All together there
are
>>464301 lines! No wonder there is a CPU overload; actually my text editor
>>(Smultron), which is printing the lines, also crashes. I would put a copy
of
>>the printout here but it's 16.2MB but I can email it if it is needed.
>>
>>Thanks
>>Peiman
>>
>>
>>peiman wrote:
>> >
>> > Hi all,
>> >
>> > It has just been brought to my attention that pvsfilter freezes csound.
>> > Running the csd bellow I get a random set of numbers printed in the
>> > terminal, very strange and I am heart broken as this is one of my
>> favorite
>> > opcodes ever! This is on OS X (intel) by the way.
>> >
>> > Thanks
>> > Peiman
>> >
>> > 
>> >
>> > 
>> > sr=44100
>> > ksmps=10
>> > nchnls=2
>> >
>> > instr 1
>> > ar1, ar2      diskin
>> > "/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif", 1,
>> 0,
>> > 1
>> > ain1, ain2    diskin
>> > "/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif", 1, 0,
>> 1
>> >
>> > ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> > ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> >
>> > fsig1         pvsfilter       ftps2, ftps1, .5, .2
>> >
>> > aout2  pvsynth  fsig1
>> > outs aout2, aout2
>> > endin
>> >
>> > 
>> >
>> > 
>> >
>> > i1 0 10
>> >
>> >
>> >
>> > e
>> >
>> > 
>> >
>> > 
>> >
>> >
>> > This is printed in the terminal:
>> >
>> > diskin: opened
>> > '/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
>> >         44100 Hz, 2 channel(s), 126389 sample frames
>> > diskin: opened
>> > '/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
>> >         44100 Hz, 2 channel(s), 67472 sample frames
>> > kdepth=0.500000 dirgain=0.000000
>> > 0: 0.000000; 0.000000 -> 0.000000
>> > 1: 0.000000; 0.000000 -> 0.000000
>> > 2: 0.000000; 0.000000 -> 0.000000
>> > 3: 0.000000; 0.000000 -> 0.000000
>> > .
>> > .
>> > .
>> > .
>> > 364: 20.260473; 0.028343 -> 3.704309
>> > 365: 17.096979; 0.003454 -> 3.083362
>> > 366: 16.842743; 0.036720 -> 3.093540
>> > 367: 12.612227; 0.041961 -> 2.323123
>> > 368: 14.283969; 0.166731 -> 2.809273
>> > 369: 14.587306; 0.313576 -> 3.083138
>> > 370: 11.687224; 0.072398 -> 2.188313
>> > 371: 9.055784; 0.055306 -> 1.680125
>> > 372: 11.423029; 0.078322 -> 2.145612
>> > and so on....
>> >
>>
>>--
>>View this message in context: 
>>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13261543
>>Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>--
>>Send bugs reports to this list.
>>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
> 
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 
> 

-- 
View this message in context: http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13277460
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-10-18 18:08
FromVictor Lazzarini
SubjectRe: PVSfilter bug?
probably because the printouts are bypassing the
messaging system. It seems to have been taken out of
the latest code in CVS.

Try

csound ...  > /dev/null

and this will surely shut it up.

Victor

At 16:44 18/10/2007, you wrote:

>Thanks Victor,
>
>I just tried it with this command but I'm still getting the printout:
>csound -odac -d -O null -b2048 -B2048 test.csd
>
>Is this what you meant by using the -O null option, or am I doing it wrong?
>Is there perhaps a way I can compile the opcode as a plug-in and replace it
>with this one?
>
>Yes sorry, actually it is not crashing csound but the editors that I am
>using (the printout is displayed inside smutron and blue).
>
>Best
>Peiman
>
>
>Victor Lazzarini wrote:
> >
> > Just tried it here on OSX. It's the printout that might be causing
> > you trouble (but it doesn't crash csound at the terminal). I had
> > not seen the printout at home because I did not have the latest code.
> > I suppose John was testing the sliding PV and forgot to take the
> > printout off the code. You can try running with the option
> > -O null to suppress all printout. We'll fix it for the next release.
> >
> > Victor
> >
> > At 20:48 17/10/2007, you wrote:
> >
> >>Hello,
> >>I just tried changing the amplitudes to 1 but no joy. Now for some reason
> >>csound does finish performing but still I get CPU overload (100% CPU). I
> >>think this is simply as the result of the printout (there are 512 lines
> >>printed repeatedly which I suppose correspond with the fft bins used with
> >>1024 window size and probably print on every frame!). All together there
>are
> >>464301 lines! No wonder there is a CPU overload; actually my text editor
> >>(Smultron), which is printing the lines, also crashes. I would put a copy
>of
> >>the printout here but it's 16.2MB but I can email it if it is needed.
> >>
> >>Thanks
> >>Peiman
> >>
> >>
> >>peiman wrote:
> >> >
> >> > Hi all,
> >> >
> >> > It has just been brought to my attention that pvsfilter freezes csound.
> >> > Running the csd bellow I get a random set of numbers printed in the
> >> > terminal, very strange and I am heart broken as this is one of my
> >> favorite
> >> > opcodes ever! This is on OS X (intel) by the way.
> >> >
> >> > Thanks
> >> > Peiman
> >> >
> >> > 
> >> >
> >> > 
> >> > sr=44100
> >> > ksmps=10
> >> > nchnls=2
> >> >
> >> > instr 1
> >> > ar1, ar2      diskin
> >> > "/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif", 1,
> >> 0,
> >> > 1
> >> > ain1, ain2    diskin
> >> > "/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif", 1, 0,
> >> 1
> >> >
> >> > ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
> >> > ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it
> >> >
> >> > fsig1         pvsfilter       ftps2, ftps1, .5, .2
> >> >
> >> > aout2  pvsynth  fsig1
> >> > outs aout2, aout2
> >> > endin
> >> >
> >> > 
> >> >
> >> > 
> >> >
> >> > i1 0 10
> >> >
> >> >
> >> >
> >> > e
> >> >
> >> > 
> >> >
> >> > 
> >> >
> >> >
> >> > This is printed in the terminal:
> >> >
> >> > diskin: opened
> >> > '/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
> >> >         44100 Hz, 2 channel(s), 126389 sample frames
> >> > diskin: opened
> >> > '/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
> >> >         44100 Hz, 2 channel(s), 67472 sample frames
> >> > kdepth=0.500000 dirgain=0.000000
> >> > 0: 0.000000; 0.000000 -> 0.000000
> >> > 1: 0.000000; 0.000000 -> 0.000000
> >> > 2: 0.000000; 0.000000 -> 0.000000
> >> > 3: 0.000000; 0.000000 -> 0.000000
> >> > .
> >> > .
> >> > .
> >> > .
> >> > 364: 20.260473; 0.028343 -> 3.704309
> >> > 365: 17.096979; 0.003454 -> 3.083362
> >> > 366: 16.842743; 0.036720 -> 3.093540
> >> > 367: 12.612227; 0.041961 -> 2.323123
> >> > 368: 14.283969; 0.166731 -> 2.809273
> >> > 369: 14.587306; 0.313576 -> 3.083138
> >> > 370: 11.687224; 0.072398 -> 2.188313
> >> > 371: 9.055784; 0.055306 -> 1.680125
> >> > 372: 11.423029; 0.078322 -> 2.145612
> >> > and so on....
> >> >
> >>
> >>--
> >>View this message in context:
> >>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13261543
> >>Sent from the Csound - General mailing list archive at Nabble.com.
> >>
> >>--
> >>Send bugs reports to this list.
> >>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> >
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> >
> > --
> > Send bugs reports to this list.
> > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> >
> >
>
>--
>View this message in context: 
>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13277460
>Sent from the Csound - General mailing list archive at Nabble.com.
>
>--
>Send bugs reports to this list.
>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

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

Date2007-10-18 18:31
Frompeiman
SubjectRe: PVSfilter bug?
Thanks very much,
That did the trick. I can use my favorite instruments again :-)

Best
Peiman


Victor Lazzarini wrote:
> 
> probably because the printouts are bypassing the
> messaging system. It seems to have been taken out of
> the latest code in CVS.
> 
> Try
> 
> csound ...  > /dev/null
> 
> and this will surely shut it up.
> 
> Victor
> 
> At 16:44 18/10/2007, you wrote:
> 
>>Thanks Victor,
>>
>>I just tried it with this command but I'm still getting the printout:
>>csound -odac -d -O null -b2048 -B2048 test.csd
>>
>>Is this what you meant by using the -O null option, or am I doing it
wrong?
>>Is there perhaps a way I can compile the opcode as a plug-in and replace
it
>>with this one?
>>
>>Yes sorry, actually it is not crashing csound but the editors that I am
>>using (the printout is displayed inside smutron and blue).
>>
>>Best
>>Peiman
>>
>>
>>Victor Lazzarini wrote:
>> >
>> > Just tried it here on OSX. It's the printout that might be causing
>> > you trouble (but it doesn't crash csound at the terminal). I had
>> > not seen the printout at home because I did not have the latest code.
>> > I suppose John was testing the sliding PV and forgot to take the
>> > printout off the code. You can try running with the option
>> > -O null to suppress all printout. We'll fix it for the next release.
>> >
>> > Victor
>> >
>> > At 20:48 17/10/2007, you wrote:
>> >
>> >>Hello,
>> >>I just tried changing the amplitudes to 1 but no joy. Now for some
>> reason
>> >>csound does finish performing but still I get CPU overload (100% CPU).
>> I
>> >>think this is simply as the result of the printout (there are 512 lines
>> >>printed repeatedly which I suppose correspond with the fft bins used
>> with
>> >>1024 window size and probably print on every frame!). All together
>> there
>>are
>> >>464301 lines! No wonder there is a CPU overload; actually my text
>> editor
>> >>(Smultron), which is printing the lines, also crashes. I would put a
>> copy
>>of
>> >>the printout here but it's 16.2MB but I can email it if it is needed.
>> >>
>> >>Thanks
>> >>Peiman
>> >>
>> >>
>> >>peiman wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > It has just been brought to my attention that pvsfilter freezes
>> csound.
>> >> > Running the csd bellow I get a random set of numbers printed in the
>> >> > terminal, very strange and I am heart broken as this is one of my
>> >> favorite
>> >> > opcodes ever! This is on OS X (intel) by the way.
>> >> >
>> >> > Thanks
>> >> > Peiman
>> >> >
>> >> > 
>> >> >
>> >> > 
>> >> > sr=44100
>> >> > ksmps=10
>> >> > nchnls=2
>> >> >
>> >> > instr 1
>> >> > ar1, ar2      diskin
>> >> > "/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif",
>> 1,
>> >> 0,
>> >> > 1
>> >> > ain1, ain2    diskin
>> >> > "/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif", 1,
>> 0,
>> >> 1
>> >> >
>> >> > ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> >> > ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> >> >
>> >> > fsig1         pvsfilter       ftps2, ftps1, .5, .2
>> >> >
>> >> > aout2  pvsynth  fsig1
>> >> > outs aout2, aout2
>> >> > endin
>> >> >
>> >> > 
>> >> >
>> >> > 
>> >> >
>> >> > i1 0 10
>> >> >
>> >> >
>> >> >
>> >> > e
>> >> >
>> >> > 
>> >> >
>> >> > 
>> >> >
>> >> >
>> >> > This is printed in the terminal:
>> >> >
>> >> > diskin: opened
>> >> > '/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
>> >> >         44100 Hz, 2 channel(s), 126389 sample frames
>> >> > diskin: opened
>> >> > '/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
>> >> >         44100 Hz, 2 channel(s), 67472 sample frames
>> >> > kdepth=0.500000 dirgain=0.000000
>> >> > 0: 0.000000; 0.000000 -> 0.000000
>> >> > 1: 0.000000; 0.000000 -> 0.000000
>> >> > 2: 0.000000; 0.000000 -> 0.000000
>> >> > 3: 0.000000; 0.000000 -> 0.000000
>> >> > .
>> >> > .
>> >> > .
>> >> > .
>> >> > 364: 20.260473; 0.028343 -> 3.704309
>> >> > 365: 17.096979; 0.003454 -> 3.083362
>> >> > 366: 16.842743; 0.036720 -> 3.093540
>> >> > 367: 12.612227; 0.041961 -> 2.323123
>> >> > 368: 14.283969; 0.166731 -> 2.809273
>> >> > 369: 14.587306; 0.313576 -> 3.083138
>> >> > 370: 11.687224; 0.072398 -> 2.188313
>> >> > 371: 9.055784; 0.055306 -> 1.680125
>> >> > 372: 11.423029; 0.078322 -> 2.145612
>> >> > and so on....
>> >> >
>> >>
>> >>--
>> >>View this message in context:
>> >>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13261543
>> >>Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>--
>> >>Send bugs reports to this list.
>> >>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >
>> > Victor Lazzarini
>> > Music Technology Laboratory
>> > Music Department
>> > National University of Ireland, Maynooth
>> >
>> > --
>> > Send bugs reports to this list.
>> > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >
>> >
>>
>>--
>>View this message in context: 
>>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13277460
>>Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>--
>>Send bugs reports to this list.
>>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
> 
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 
> 

-- 
View this message in context: http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13279641
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-10-18 18:50
Frompeiman
SubjectRe: PVSfilter bug?
Hello again,
Now it is working outside blue (with > /dev/null) but blue doesn't seem to
recognize this command and says "too many command arguments" without running
at all. 

Thanks
Peiman 


Victor Lazzarini wrote:
> 
> probably because the printouts are bypassing the
> messaging system. It seems to have been taken out of
> the latest code in CVS.
> 
> Try
> 
> csound ...  > /dev/null
> 
> and this will surely shut it up.
> 
> Victor
> 
> At 16:44 18/10/2007, you wrote:
> 
>>Thanks Victor,
>>
>>I just tried it with this command but I'm still getting the printout:
>>csound -odac -d -O null -b2048 -B2048 test.csd
>>
>>Is this what you meant by using the -O null option, or am I doing it
wrong?
>>Is there perhaps a way I can compile the opcode as a plug-in and replace
it
>>with this one?
>>
>>Yes sorry, actually it is not crashing csound but the editors that I am
>>using (the printout is displayed inside smutron and blue).
>>
>>Best
>>Peiman
>>
>>
>>Victor Lazzarini wrote:
>> >
>> > Just tried it here on OSX. It's the printout that might be causing
>> > you trouble (but it doesn't crash csound at the terminal). I had
>> > not seen the printout at home because I did not have the latest code.
>> > I suppose John was testing the sliding PV and forgot to take the
>> > printout off the code. You can try running with the option
>> > -O null to suppress all printout. We'll fix it for the next release.
>> >
>> > Victor
>> >
>> > At 20:48 17/10/2007, you wrote:
>> >
>> >>Hello,
>> >>I just tried changing the amplitudes to 1 but no joy. Now for some
>> reason
>> >>csound does finish performing but still I get CPU overload (100% CPU).
>> I
>> >>think this is simply as the result of the printout (there are 512 lines
>> >>printed repeatedly which I suppose correspond with the fft bins used
>> with
>> >>1024 window size and probably print on every frame!). All together
>> there
>>are
>> >>464301 lines! No wonder there is a CPU overload; actually my text
>> editor
>> >>(Smultron), which is printing the lines, also crashes. I would put a
>> copy
>>of
>> >>the printout here but it's 16.2MB but I can email it if it is needed.
>> >>
>> >>Thanks
>> >>Peiman
>> >>
>> >>
>> >>peiman wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > It has just been brought to my attention that pvsfilter freezes
>> csound.
>> >> > Running the csd bellow I get a random set of numbers printed in the
>> >> > terminal, very strange and I am heart broken as this is one of my
>> >> favorite
>> >> > opcodes ever! This is on OS X (intel) by the way.
>> >> >
>> >> > Thanks
>> >> > Peiman
>> >> >
>> >> > 
>> >> >
>> >> > 
>> >> > sr=44100
>> >> > ksmps=10
>> >> > nchnls=2
>> >> >
>> >> > instr 1
>> >> > ar1, ar2      diskin
>> >> > "/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif",
>> 1,
>> >> 0,
>> >> > 1
>> >> > ain1, ain2    diskin
>> >> > "/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif", 1,
>> 0,
>> >> 1
>> >> >
>> >> > ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> >> > ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> >> >
>> >> > fsig1         pvsfilter       ftps2, ftps1, .5, .2
>> >> >
>> >> > aout2  pvsynth  fsig1
>> >> > outs aout2, aout2
>> >> > endin
>> >> >
>> >> > 
>> >> >
>> >> > 
>> >> >
>> >> > i1 0 10
>> >> >
>> >> >
>> >> >
>> >> > e
>> >> >
>> >> > 
>> >> >
>> >> > 
>> >> >
>> >> >
>> >> > This is printed in the terminal:
>> >> >
>> >> > diskin: opened
>> >> > '/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
>> >> >         44100 Hz, 2 channel(s), 126389 sample frames
>> >> > diskin: opened
>> >> > '/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
>> >> >         44100 Hz, 2 channel(s), 67472 sample frames
>> >> > kdepth=0.500000 dirgain=0.000000
>> >> > 0: 0.000000; 0.000000 -> 0.000000
>> >> > 1: 0.000000; 0.000000 -> 0.000000
>> >> > 2: 0.000000; 0.000000 -> 0.000000
>> >> > 3: 0.000000; 0.000000 -> 0.000000
>> >> > .
>> >> > .
>> >> > .
>> >> > .
>> >> > 364: 20.260473; 0.028343 -> 3.704309
>> >> > 365: 17.096979; 0.003454 -> 3.083362
>> >> > 366: 16.842743; 0.036720 -> 3.093540
>> >> > 367: 12.612227; 0.041961 -> 2.323123
>> >> > 368: 14.283969; 0.166731 -> 2.809273
>> >> > 369: 14.587306; 0.313576 -> 3.083138
>> >> > 370: 11.687224; 0.072398 -> 2.188313
>> >> > 371: 9.055784; 0.055306 -> 1.680125
>> >> > 372: 11.423029; 0.078322 -> 2.145612
>> >> > and so on....
>> >> >
>> >>
>> >>--
>> >>View this message in context:
>> >>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13261543
>> >>Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>--
>> >>Send bugs reports to this list.
>> >>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >
>> > Victor Lazzarini
>> > Music Technology Laboratory
>> > Music Department
>> > National University of Ireland, Maynooth
>> >
>> > --
>> > Send bugs reports to this list.
>> > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >
>> >
>>
>>--
>>View this message in context: 
>>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13277460
>>Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>--
>>Send bugs reports to this list.
>>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
> 
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 
> 

-- 
View this message in context: http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13279965
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-10-18 19:11
From"Steven Yi"
SubjectRe: PVSfilter bug?
AttachmentsNone  

Date2007-10-18 20:44
Frompeiman
SubjectRe: PVSfilter bug?
Thanks for the info Steven.

Best
Peiman

Steven Yi wrote:
> 
> Hi Peiman,
> 
> I don't think it will be possible to do redirects of output as blue
> will normally handle the output from csound.  I did see that CVS was
> updated; I think the best bet would be to get a newly compiled
> version.
> 
> steven
> 
> 
> On 10/18/07, peiman  wrote:
>>
>> Hello again,
>> Now it is working outside blue (with > /dev/null) but blue doesn't seem
>> to
>> recognize this command and says "too many command arguments" without
>> running
>> at all.
>>
>> Thanks
>> Peiman
>>
>>
>> Victor Lazzarini wrote:
>> >
>> > probably because the printouts are bypassing the
>> > messaging system. It seems to have been taken out of
>> > the latest code in CVS.
>> >
>> > Try
>> >
>> > csound ...  > /dev/null
>> >
>> > and this will surely shut it up.
>> >
>> > Victor
>> >
>> > At 16:44 18/10/2007, you wrote:
>> >
>> >>Thanks Victor,
>> >>
>> >>I just tried it with this command but I'm still getting the printout:
>> >>csound -odac -d -O null -b2048 -B2048 test.csd
>> >>
>> >>Is this what you meant by using the -O null option, or am I doing it
>> wrong?
>> >>Is there perhaps a way I can compile the opcode as a plug-in and
>> replace
>> it
>> >>with this one?
>> >>
>> >>Yes sorry, actually it is not crashing csound but the editors that I am
>> >>using (the printout is displayed inside smutron and blue).
>> >>
>> >>Best
>> >>Peiman
>> >>
>> >>
>> >>Victor Lazzarini wrote:
>> >> >
>> >> > Just tried it here on OSX. It's the printout that might be causing
>> >> > you trouble (but it doesn't crash csound at the terminal). I had
>> >> > not seen the printout at home because I did not have the latest
>> code.
>> >> > I suppose John was testing the sliding PV and forgot to take the
>> >> > printout off the code. You can try running with the option
>> >> > -O null to suppress all printout. We'll fix it for the next release.
>> >> >
>> >> > Victor
>> >> >
>> >> > At 20:48 17/10/2007, you wrote:
>> >> >
>> >> >>Hello,
>> >> >>I just tried changing the amplitudes to 1 but no joy. Now for some
>> >> reason
>> >> >>csound does finish performing but still I get CPU overload (100%
>> CPU).
>> >> I
>> >> >>think this is simply as the result of the printout (there are 512
>> lines
>> >> >>printed repeatedly which I suppose correspond with the fft bins used
>> >> with
>> >> >>1024 window size and probably print on every frame!). All together
>> >> there
>> >>are
>> >> >>464301 lines! No wonder there is a CPU overload; actually my text
>> >> editor
>> >> >>(Smultron), which is printing the lines, also crashes. I would put a
>> >> copy
>> >>of
>> >> >>the printout here but it's 16.2MB but I can email it if it is
>> needed.
>> >> >>
>> >> >>Thanks
>> >> >>Peiman
>> >> >>
>> >> >>
>> >> >>peiman wrote:
>> >> >> >
>> >> >> > Hi all,
>> >> >> >
>> >> >> > It has just been brought to my attention that pvsfilter freezes
>> >> csound.
>> >> >> > Running the csd bellow I get a random set of numbers printed in
>> the
>> >> >> > terminal, very strange and I am heart broken as this is one of my
>> >> >> favorite
>> >> >> > opcodes ever! This is on OS X (intel) by the way.
>> >> >> >
>> >> >> > Thanks
>> >> >> > Peiman
>> >> >> >
>> >> >> > 
>> >> >> >
>> >> >> > 
>> >> >> > sr=44100
>> >> >> > ksmps=10
>> >> >> > nchnls=2
>> >> >> >
>> >> >> > instr 1
>> >> >> > ar1, ar2      diskin
>> >> >> >
>> "/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif",
>> >> 1,
>> >> >> 0,
>> >> >> > 1
>> >> >> > ain1, ain2    diskin
>> >> >> > "/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif",
>> 1,
>> >> 0,
>> >> >> 1
>> >> >> >
>> >> >> > ftps1  pvsanal   ar1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> >> >> > ftps2  pvsanal   ain1, 1024, 1024/4, 1024*2, 1 ; analyse it
>> >> >> >
>> >> >> > fsig1         pvsfilter       ftps2, ftps1, .5, .2
>> >> >> >
>> >> >> > aout2  pvsynth  fsig1
>> >> >> > outs aout2, aout2
>> >> >> > endin
>> >> >> >
>> >> >> > 
>> >> >> >
>> >> >> > 
>> >> >> >
>> >> >> > i1 0 10
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > e
>> >> >> >
>> >> >> > 
>> >> >> >
>> >> >> > 
>> >> >> >
>> >> >> >
>> >> >> > This is printed in the terminal:
>> >> >> >
>> >> >> > diskin: opened
>> >> >> >
>> '/Users/peimankhosravi/Desktop/newsounds_2006/china_impulses3.aif':
>> >> >> >         44100 Hz, 2 channel(s), 126389 sample frames
>> >> >> > diskin: opened
>> >> >> > '/Users/peimankhosravi/Desktop/newsounds_2006/grains_scream.aif':
>> >> >> >         44100 Hz, 2 channel(s), 67472 sample frames
>> >> >> > kdepth=0.500000 dirgain=0.000000
>> >> >> > 0: 0.000000; 0.000000 -> 0.000000
>> >> >> > 1: 0.000000; 0.000000 -> 0.000000
>> >> >> > 2: 0.000000; 0.000000 -> 0.000000
>> >> >> > 3: 0.000000; 0.000000 -> 0.000000
>> >> >> > .
>> >> >> > .
>> >> >> > .
>> >> >> > .
>> >> >> > 364: 20.260473; 0.028343 -> 3.704309
>> >> >> > 365: 17.096979; 0.003454 -> 3.083362
>> >> >> > 366: 16.842743; 0.036720 -> 3.093540
>> >> >> > 367: 12.612227; 0.041961 -> 2.323123
>> >> >> > 368: 14.283969; 0.166731 -> 2.809273
>> >> >> > 369: 14.587306; 0.313576 -> 3.083138
>> >> >> > 370: 11.687224; 0.072398 -> 2.188313
>> >> >> > 371: 9.055784; 0.055306 -> 1.680125
>> >> >> > 372: 11.423029; 0.078322 -> 2.145612
>> >> >> > and so on....
>> >> >> >
>> >> >>
>> >> >>--
>> >> >>View this message in context:
>> >> >>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13261543
>> >> >>Sent from the Csound - General mailing list archive at Nabble.com.
>> >> >>
>> >> >>--
>> >> >>Send bugs reports to this list.
>> >> >>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >> >
>> >> > Victor Lazzarini
>> >> > Music Technology Laboratory
>> >> > Music Department
>> >> > National University of Ireland, Maynooth
>> >> >
>> >> > --
>> >> > Send bugs reports to this list.
>> >> > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >> >
>> >> >
>> >>
>> >>--
>> >>View this message in context:
>> >>http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13277460
>> >>Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>--
>> >>Send bugs reports to this list.
>> >>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >
>> > Victor Lazzarini
>> > Music Technology Laboratory
>> > Music Department
>> > National University of Ireland, Maynooth
>> >
>> > --
>> > Send bugs reports to this list.
>> > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13279965
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>> --
>> Send bugs reports to this list.
>> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>>
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 
> 

-- 
View this message in context: http://www.nabble.com/PVSfilter-bug--tf4637157.html#a13282175
Sent from the Csound - General mailing list archive at Nabble.com.