Csound Csound-dev Csound-tekno Search About

[Csnd] calculate virtual fundamental

Date2014-04-27 10:08
FromStefan Thomas
Subject[Csnd] calculate virtual fundamental
Dear community,
I'm doing some experiments with additive synthesis and selections of the harmonic series of sounds. For example I create a sound with partials in relations like 1,7/4,10/4,13/4 etc.
With some of those sounds one can recognize very clearly a virtual fundamental.
My question now:
is it possible to predict if a special row will have a fundamental and is it possible to calculate its fequency,

Date2014-04-27 16:05
Fromluis jure
SubjectRe: [Csnd] calculate virtual fundamental
el 2014-04-27 a las 11:08 Stefan Thomas escribió:

> I'm doing some experiments with additive synthesis and selections of the
> harmonic series of sounds. For example I create a sound with partials in
> relations like 1,7/4,10/4,13/4 etc.
> With some of those sounds one can recognize very clearly a virtual
> fundamental.
> My question now: is it possible to predict if a special row will have a
> fundamental and is it possible to calculate its fequency,

mathematically, the fundamental is just the greatest common divisor of all
the frequencies in the spectrum. in your case, the fundamental would be
1/4, and you'll have a spectrum with harmonics 4, 7, 10, 13, etc.

what you can't predict is if you'll perceive the pitch associated to that
fundamental, because that's a complex and subjective phenomenon.

some of the intervening factors are: 

- the fundamental frequency
- the number of the lowest harmonic present in the spectrum
- its frequency
- the number of harmonics
- the relative amplitude of each one
- the spacing between them

taking your example again, i can "predict" that you'll most probably
perceive the pitch of the fundamental 1/4, if it's in the comfortable
audio range, of course (let's say between 70 or 80 and 1000Hz, or so).

but i guess that reading for example "the perception of musical tones" in
the book the psychology of music, edited by diana deutsch, would be more
helpful... (in the second edition this particular chapter was written by
rasch and plomp and it was quite good, in my understanding. the third
edition is out but i don't have it).


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2014-04-27 19:50
Frompeiman khosravi
SubjectRe: [Csnd] calculate virtual fundamental
I think you also need to take into consideration the effect of masking. 

I believe Terhardt has developed an algorithm. There is a MaxMSP object called iana~ that implements it very successfully. 

The relevant paper is: 

Terhardt Ernst, Stoll Gerhard & Seewann Manfred, "Algorithm for Extrac- tion of Pitch and Pitch Salience from Complex Tonal Signals," JASA 71 (3), March 1982, pp. 679-688.

P

 





On 27 April 2014 16:05, luis jure <ljc@internet.com.uy> wrote:

el 2014-04-27 a las 11:08 Stefan Thomas escribió:

> I'm doing some experiments with additive synthesis and selections of the
> harmonic series of sounds. For example I create a sound with partials in
> relations like 1,7/4,10/4,13/4 etc.
> With some of those sounds one can recognize very clearly a virtual
> fundamental.
> My question now: is it possible to predict if a special row will have a
> fundamental and is it possible to calculate its fequency,

mathematically, the fundamental is just the greatest common divisor of all
the frequencies in the spectrum. in your case, the fundamental would be
1/4, and you'll have a spectrum with harmonics 4, 7, 10, 13, etc.

what you can't predict is if you'll perceive the pitch associated to that
fundamental, because that's a complex and subjective phenomenon.

some of the intervening factors are:

- the fundamental frequency
- the number of the lowest harmonic present in the spectrum
- its frequency
- the number of harmonics
- the relative amplitude of each one
- the spacing between them

taking your example again, i can "predict" that you'll most probably
perceive the pitch of the fundamental 1/4, if it's in the comfortable
audio range, of course (let's say between 70 or 80 and 1000Hz, or so).

but i guess that reading for example "the perception of musical tones" in
the book the psychology of music, edited by diana deutsch, would be more
helpful... (in the second edition this particular chapter was written by
rasch and plomp and it was quite good, in my understanding. the third
edition is out but i don't have it).


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2014-04-27 19:51
Frompeiman khosravi
SubjectRe: [Csnd] calculate virtual fundamental



On 27 April 2014 19:50, peiman khosravi <peimankhosravi@gmail.com> wrote:
I think you also need to take into consideration the effect of masking. 

I believe Terhardt has developed an algorithm. There is a MaxMSP object called iana~ that implements it very successfully. 

The relevant paper is: 

Terhardt Ernst, Stoll Gerhard & Seewann Manfred, "Algorithm for Extrac- tion of Pitch and Pitch Salience from Complex Tonal Signals," JASA 71 (3), March 1982, pp. 679-688.

P

 





On 27 April 2014 16:05, luis jure <ljc@internet.com.uy> wrote:

el 2014-04-27 a las 11:08 Stefan Thomas escribió:

> I'm doing some experiments with additive synthesis and selections of the
> harmonic series of sounds. For example I create a sound with partials in
> relations like 1,7/4,10/4,13/4 etc.
> With some of those sounds one can recognize very clearly a virtual
> fundamental.
> My question now: is it possible to predict if a special row will have a
> fundamental and is it possible to calculate its fequency,

mathematically, the fundamental is just the greatest common divisor of all
the frequencies in the spectrum. in your case, the fundamental would be
1/4, and you'll have a spectrum with harmonics 4, 7, 10, 13, etc.

what you can't predict is if you'll perceive the pitch associated to that
fundamental, because that's a complex and subjective phenomenon.

some of the intervening factors are:

- the fundamental frequency
- the number of the lowest harmonic present in the spectrum
- its frequency
- the number of harmonics
- the relative amplitude of each one
- the spacing between them

taking your example again, i can "predict" that you'll most probably
perceive the pitch of the fundamental 1/4, if it's in the comfortable
audio range, of course (let's say between 70 or 80 and 1000Hz, or so).

but i guess that reading for example "the perception of musical tones" in
the book the psychology of music, edited by diana deutsch, would be more
helpful... (in the second edition this particular chapter was written by
rasch and plomp and it was quite good, in my understanding. the third
edition is out but i don't have it).


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"