Csound Csound-dev Csound-tekno Search About

[Cs-dev] pvsmooth question

Date2011-07-15 18:38
Frommenno
Subject[Cs-dev] pvsmooth question
Hello,

i would like to know - and i think it is interesting information, to put in
the manual too - the formula used to understand this statement as found on
the manual page of pvsmooth:

"In the example above the input signal will be smoothed/blurred by pvsmooth
with a cutoff frequency of 1% of 1/2 frame-rate (which is about 172Hz, so
the cf is about 8.6Hz)"

What is the formula, how is the cf calculated?

thanks,
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/pvsmooth-question-tp4591585p4591585.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-07-15 19:02
Fromjoachim heintz
SubjectRe: [Cs-dev] pvsmooth question
hi menno -

it's actually victor who is the man to reply, but i think this depends
on the sample rate, the fft frame size, and the hop size.

with a sr of 44100, a frame size of 1024, and a hop size of 256, the
frame rate is 44100 / 256 = 172,265625 Hz (= 172 new frame starts per
second). half of the frame rate is about 86 Hz, and one percent of this
is 8.6 Hz.

we'll see what the master says ... =)

	joachim



Am 15.07.2011 19:38, schrieb menno:
> Hello,
> 
> i would like to know - and i think it is interesting information, to put in
> the manual too - the formula used to understand this statement as found on
> the manual page of pvsmooth:
> 
> "In the example above the input signal will be smoothed/blurred by pvsmooth
> with a cutoff frequency of 1% of 1/2 frame-rate (which is about 172Hz, so
> the cf is about 8.6Hz)"
> 
> What is the formula, how is the cf calculated?
> 
> thanks,
> Menno
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/pvsmooth-question-tp4591585p4591585.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-07-16 18:04
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvsmooth question
Could not say it better myself. The sampling rate of spectral data is  
the frame rate. When we filter the amp + freq signals with pvsmooth,
the cutoff frequency is dependent on it. The highest value for it is  
1/2 SR Hz (the Nyquist frequency), so the controls in PV smooth work
as a fraction of this frequency: 1 is nyquist, 0.5 is 1/2 Nyquist and  
so on. Always remember that spectral data is computed at its own control
rate, which is generally much less than the audio one (unless you are  
using the sliding PVOC).

Victor


On 15 Jul 2011, at 19:02, joachim heintz wrote:

> hi menno -
>
> it's actually victor who is the man to reply, but i think this depends
> on the sample rate, the fft frame size, and the hop size.
>
> with a sr of 44100, a frame size of 1024, and a hop size of 256, the
> frame rate is 44100 / 256 = 172,265625 Hz (= 172 new frame starts per
> second). half of the frame rate is about 86 Hz, and one percent of  
> this
> is 8.6 Hz.
>
> we'll see what the master says ... =)
>
> 	joachim
>
>
>
> Am 15.07.2011 19:38, schrieb menno:
>> Hello,
>>
>> i would like to know - and i think it is interesting information,  
>> to put in
>> the manual too - the formula used to understand this statement as  
>> found on
>> the manual page of pvsmooth:
>>
>> "In the example above the input signal will be smoothed/blurred by  
>> pvsmooth
>> with a cutoff frequency of 1% of 1/2 frame-rate (which is about  
>> 172Hz, so
>> the cf is about 8.6Hz)"
>>
>> What is the formula, how is the cf calculated?
>>
>> thanks,
>> Menno
>>
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/pvsmooth-question-tp4591585p4591585.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> Secrets Revealed." This video shows you how to validate your ideas,
>> optimize your ideas and identify your business strategy.
>> http://p.sf.net/sfu/appsumosfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-07-20 14:39
Frommenno
SubjectRe: [Cs-dev] pvsmooth question
Hi Joachim,

i was studying your answer but when you explain:
"44100 / 256 = 172,265625 Hz (= 172 new frame starts per 
second). half of the frame rate is about 86 Hz, and one percent of this 
is 8.6 Hz."
But one percent of 86 Hz = 0.86 Hz?

Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/pvsmooth-question-tp4591585p4615873.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-07-20 15:01
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvsmooth question
Sorry, 0.86Hz.

Victor
On 20 Jul 2011, at 14:39, menno wrote:

> Hi Joachim,
>
> i was studying your answer but when you explain:
> "44100 / 256 = 172,265625 Hz (= 172 new frame starts per
> second). half of the frame rate is about 86 Hz, and one percent of  
> this
> is 8.6 Hz."
> But one percent of 86 Hz = 0.86 Hz?
>
> Menno
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/pvsmooth-question-tp4591585p4615873.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered  
> include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private  
> keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-07-20 19:02
Fromjoachim heintz
SubjectRe: [Cs-dev] pvsmooth question
so you gave me a new illustration of the fact that a desire is nearly
always stronger than the reality ... =)
thanks -	
	joachim


Am 20.07.2011 15:39, schrieb menno:
> Hi Joachim,
> 
> i was studying your answer but when you explain:
> "44100 / 256 = 172,265625 Hz (= 172 new frame starts per 
> second). half of the frame rate is about 86 Hz, and one percent of this 
> is 8.6 Hz."
> But one percent of 86 Hz = 0.86 Hz?
> 
> Menno
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/pvsmooth-question-tp4591585p4615873.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net