Csound Csound-dev Csound-tekno Search About

[Csnd] [semi-OT] Looking for sighted assistance: translating formulae to readable text

Date2019-10-25 13:15
From"Jeanette C."
Subject[Csnd] [semi-OT] Looking for sighted assistance: translating formulae to readable text
Hey hey,
I am currently looking at modelling engine sounds. I have found a good 
article, but can't read the formulae, a typical issue with PDFs.

Would someone perhaps help me and translate a few equations into something 
like pseudo code or pseudo Tex?

After some of the equations variables are explained, it would be helpful to at 
least have a clear-text list of the names so I can properly read the text 
again.

Here's the article and relevant parts (I hope):
Link:
https://www.hindawi.com/journals/sv/2018/5209207/
Direct download of the PDF:
http://downloads.hindawi.com/journals/sv/2018/5209207.pdf

The following sections with the nubmered equations and figures are vital (I 
think):
2. (Measurements of Acoustic Characteristics of Engine Sounds)
figure: 2(?)

2.1 (Spectral Characteristics of Engine Sounds)
eq.: 1

3.1 (Mechanical Sound Synthesis)
figure: 4
eq.: 2, 3 and 4

3.2 (Combustion Sound Synthesis)
figure: 5, 6(?)
eq.: 5

I'd be very grateful if someone could and would spare the time. If that 
balances the scales either way: the resultant Csound code will be released 
freely.

Best wishes and many thanks for reading this far,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

If there's nothing missing in my life
Then why do these tears come at night <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-10-25 15:20
FromVictor Lazzarini
SubjectRe: [Csnd] [semi-OT] Looking for sighted assistance: translating formulae to readable text
would latex do?

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 25 Oct 2019, at 13:15, Jeanette C.  wrote:
> 
> Hey hey,
> I am currently looking at modelling engine sounds. I have found a good article, but can't read the formulae, a typical issue with PDFs.
> 
> Would someone perhaps help me and translate a few equations into something like pseudo code or pseudo Tex?
> 
> After some of the equations variables are explained, it would be helpful to at least have a clear-text list of the names so I can properly read the text again.
> 
> Here's the article and relevant parts (I hope):
> Link:
> https://www.hindawi.com/journals/sv/2018/5209207/
> Direct download of the PDF:
> http://downloads.hindawi.com/journals/sv/2018/5209207.pdf
> 
> The following sections with the nubmered equations and figures are vital (I think):
> 2. (Measurements of Acoustic Characteristics of Engine Sounds)
> figure: 2(?)
> 
> 2.1 (Spectral Characteristics of Engine Sounds)
> eq.: 1
> 
> 3.1 (Mechanical Sound Synthesis)
> figure: 4
> eq.: 2, 3 and 4
> 
> 3.2 (Combustion Sound Synthesis)
> figure: 5, 6(?)
> eq.: 5
> 
> I'd be very grateful if someone could and would spare the time. If that balances the scales either way: the resultant Csound code will be released freely.
> 
> Best wishes and many thanks for reading this far,
> 
> Jeanette
> 
> -- 
> * Website: http://juliencoder.de - for summer is a state of sound
> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
> * SoundCloud: https://soundcloud.com/jeanette_c
> * Twitter: https://twitter.com/jeanette_c_s
> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
> * GitHub: https://github.com/jeanette-c
> 
> If there's nothing missing in my life
> Then why do these tears come at night <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-10-25 16:33
From"Jeanette C."
SubjectRe: [Csnd] [semi-OT] Looking for sighted assistance: translating formulae to readable text
Oct 25 2019, Victor Lazzarini has written:

> would latex do?
Yes, it would do very well. 
...
>> Link:
>> https://www.hindawi.com/journals/sv/2018/5209207/
>> Direct download of the PDF:
>> http://downloads.hindawi.com/journals/sv/2018/5209207.pdf
>>
>> The following sections with the nubmered equations and figures are vital (I think):
>> 2. (Measurements of Acoustic Characteristics of Engine Sounds)
>> figure: 2(?)
>>
>> 2.1 (Spectral Characteristics of Engine Sounds)
>> eq.: 1
>>
>> 3.1 (Mechanical Sound Synthesis)
>> figure: 4
>> eq.: 2, 3 and 4
>>
>> 3.2 (Combustion Sound Synthesis)
>> figure: 5, 6(?)
>> eq.: 5
>>
>> I'd be very grateful if someone could and would spare the time. If that balances the scales either way: the resultant Csound code will be released freely.
>>
>> Best wishes and many thanks for reading this far,
>>
>> Jeanette
>>
>> --
>> * Website: http://juliencoder.de - for summer is a state of sound
>> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
>> * SoundCloud: https://soundcloud.com/jeanette_c
>> * Twitter: https://twitter.com/jeanette_c_s
>> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
>> * GitHub: https://github.com/jeanette-c
>>
>> If there's nothing missing in my life
>> Then why do these tears come at night <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

She's so lucky,
she's a star
But she cry, cry, cries in her lonely heart... <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-10-25 16:34
FromVictor Lazzarini
SubjectRe: [Csnd] [semi-OT] Looking for sighted assistance: translating formulae to readable text
Ok, I'll do it in a little while...

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 25 Oct 2019, at 16:33, Jeanette C.  wrote:
> 
> Oct 25 2019, Victor Lazzarini has written:
> 
>> would latex do?
> Yes, it would do very well. ...
>>> Link:
>>> https://www.hindawi.com/journals/sv/2018/5209207/
>>> Direct download of the PDF:
>>> http://downloads.hindawi.com/journals/sv/2018/5209207.pdf
>>> 
>>> The following sections with the nubmered equations and figures are vital (I think):
>>> 2. (Measurements of Acoustic Characteristics of Engine Sounds)
>>> figure: 2(?)
>>> 
>>> 2.1 (Spectral Characteristics of Engine Sounds)
>>> eq.: 1
>>> 
>>> 3.1 (Mechanical Sound Synthesis)
>>> figure: 4
>>> eq.: 2, 3 and 4
>>> 
>>> 3.2 (Combustion Sound Synthesis)
>>> figure: 5, 6(?)
>>> eq.: 5
>>> 
>>> I'd be very grateful if someone could and would spare the time. If that balances the scales either way: the resultant Csound code will be released freely.
>>> 
>>> Best wishes and many thanks for reading this far,
>>> 
>>> Jeanette
>>> 
>>> --
>>> * Website: http://juliencoder.de - for summer is a state of sound
>>> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
>>> * SoundCloud: https://soundcloud.com/jeanette_c
>>> * Twitter: https://twitter.com/jeanette_c_s
>>> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
>>> * GitHub: https://github.com/jeanette-c
>>> 
>>> If there's nothing missing in my life
>>> Then why do these tears come at night <3
>>> (Britney Spears)
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> 
> 
> -- 
> * Website: http://juliencoder.de - for summer is a state of sound
> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
> * SoundCloud: https://soundcloud.com/jeanette_c
> * Twitter: https://twitter.com/jeanette_c_s
> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
> * GitHub: https://github.com/jeanette-c
> 
> She's so lucky,
> she's a star
> But she cry, cry, cries in her lonely heart... <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-10-25 16:53
FromVictor Lazzarini
SubjectRe: [Csnd] [semi-OT] Looking for sighted assistance: translating formulae to readable text
Here they go

Eq.1

f_0 = N \cdot \frac n 2 \cdot 60

Eq. 2

p_m (t) = \sum_{k=1}^K \left(a_k \cos\left(\frac {2\pi kf_0t} {N_m}\right) + b_k \sin\left(\frac {2\pi kf_0t} {N_m}\right)\right)

Eq. 3 (there are two)

a_k = \frac 1 m \sum_{m=1}^M \left(\frac 1 T \int_0^T p(t + (m-1)T)\cos \frac{2\pi kt} T dt\right)

and

b_k = \frac 1 m \sum_{m=1}^M \left(\frac 1 T \int_0^T p(t + (m-1)T)\sin \frac{2\pi kt} T dt\right)

Eq.4 (two again)

A_k = \sqrt{a_k^2 + b_k^2}

and

\phi_k = \tan^{-1} \frac {b_k} {a_k}


Eq. 5

p_c(t) = C \cdot M_f \cdot p_e(t) \cdot [p_m(t) + C_r \cdot  M_f]

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 25 Oct 2019, at 13:15, Jeanette C.  wrote:
> 
> Hey hey,
> I am currently looking at modelling engine sounds. I have found a good article, but can't read the formulae, a typical issue with PDFs.
> 
> Would someone perhaps help me and translate a few equations into something like pseudo code or pseudo Tex?
> 
> After some of the equations variables are explained, it would be helpful to at least have a clear-text list of the names so I can properly read the text again.
> 
> Here's the article and relevant parts (I hope):
> Link:
> https://www.hindawi.com/journals/sv/2018/5209207/
> Direct download of the PDF:
> http://downloads.hindawi.com/journals/sv/2018/5209207.pdf
> 
> The following sections with the nubmered equations and figures are vital (I think):
> 2. (Measurements of Acoustic Characteristics of Engine Sounds)
> figure: 2(?)
> 
> 2.1 (Spectral Characteristics of Engine Sounds)
> eq.: 1
> 
> 3.1 (Mechanical Sound Synthesis)
> figure: 4
> eq.: 2, 3 and 4
> 
> 3.2 (Combustion Sound Synthesis)
> figure: 5, 6(?)
> eq.: 5
> 
> I'd be very grateful if someone could and would spare the time. If that balances the scales either way: the resultant Csound code will be released freely.
> 
> Best wishes and many thanks for reading this far,
> 
> Jeanette
> 
> -- 
> * Website: http://juliencoder.de - for summer is a state of sound
> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
> * SoundCloud: https://soundcloud.com/jeanette_c
> * Twitter: https://twitter.com/jeanette_c_s
> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
> * GitHub: https://github.com/jeanette-c
> 
> If there's nothing missing in my life
> Then why do these tears come at night <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-10-25 17:18
From"Jeanette C."
SubjectRe: [Csnd] [semi-OT] Looking for sighted assistance: translating formulae to readable text
Hello Victor,
many, many thanks for that. I'll reread the appropriate sections again and see 
how far this can take me.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

She's so lucky,
she's a star
But she cry, cry, cries in her lonely heart... <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here