Csound Csound-dev Csound-tekno Search About

[Csnd] Sound Analysis Tool

Date2025-06-26 09:28
FromPhilipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] Sound Analysis Tool
Hello everybody!

For a current project i want to setup a csound device that can analyse a broad spectrum of information from an incoming sound. I want to use these information to control sound transforming processes.
I know, that there are some possibilities in Csound for this, like RMS, central spectroid and other stuff.

I guess, a lot of you already done something like this and i wanted to ask for examples or someone has collect all build in opcodes that can provide some information of an incoming sound?
All ideas are welcomed for this.

Hope to hear from you :)

Greetings,
Philipp

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

Date2025-06-26 09:41
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Sound Analysis Tool
Oeyvind has lots of experience on this. He should have a thing or two to say.

> On 26 Jun 2025, at 09:28, Philipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Hello everybody!
>
> For a current project i want to setup a csound device that can analyse a broad spectrum of information from an incoming sound. I want to use these information to control sound transforming processes.
> I know, that there are some possibilities in Csound for this, like RMS, central spectroid and other stuff.
>
> I guess, a lot of you already done something like this and i wanted to ask for examples or someone has collect all build in opcodes that can provide some information of an incoming sound?
> All ideas are welcomed for this.
>
> Hope to hear from you :)
>
> Greetings,
> Philipp
>
> 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

Date2025-06-26 09:44
From"Jeanette C."
SubjectRe: [Csnd] Sound Analysis Tool
Attachmentsebu.csd  
Hi Philipp,
attached is a CSD I wrote a while ago. It uses the lufs opcode to implement an 
EBU-meter with audible output. Lufs has three outputs for momentary, 
integrated and short term loudness.

I suppose a virtual analogue vocoder approach might also help in combination, 
i.e. isolating only certain frequency bands. If you work on monophonic 
signals, you could perhaps use a pitchtracking opcode again to control the 
frequency bands for analysis. I found that compression before pitchtracking 
may help, don't forget the extra latency introduced by compress or compress2 
through their look-ahead time.

In the back of my mind there is something about converting allpass filter 
coefficients to classic centre frequencies and bandwidhts, but I can't 
remember the opcode or formula. I looked into that to achieve a kind of 
formant analysis in combination with lpc. You certainly have the new streaming 
lpc opcodes.

Hope any of that hels.

Best wishes,

Jeanette

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

I saw your smile
Stay with me a while <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

Date2025-06-26 23:40
FromOeyvind Brandtsegg
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Sound Analysis Tool
Hi

Yes, sounds familiar 😉.
There are methods for extracting most of the usual features here 
In the file analyze_audio.inc and analyze_udos.inc

All best
Øyvind 

tor. 26. jun. 2025, 09:41 skrev Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie>:
Oeyvind has lots of experience on this. He should have a thing or two to say.

> On 26 Jun 2025, at 09:28, Philipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Hello everybody!
>
> For a current project i want to setup a csound device that can analyse a broad spectrum of information from an incoming sound. I want to use these information to control sound transforming processes.
> I know, that there are some possibilities in Csound for this, like RMS, central spectroid and other stuff.
>
> I guess, a lot of you already done something like this and i wanted to ask for examples or someone has collect all build in opcodes that can provide some information of an incoming sound?
> All ideas are welcomed for this.
>
> Hope to hear from you :)
>
> Greetings,
> Philipp
>
> 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
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

Date2025-06-27 00:13
From"Jeanette C."
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Sound Analysis Tool
Thanks Oeyvind for reminding me of these tools. I had completely forgotten 
about them, even though I have them installed.

Best wishes,

Jeanette

Jun 27 2025, Oeyvind Brandtsegg has written:

> Hi
>
> Yes, sounds familiar 😉.
> There are methods for extracting most of the usual features here
> https://github.com/Oeyvind/featexmod
> In the file analyze_audio.inc and analyze_udos.inc
>
> All best
> Øyvind
>
> tor. 26. jun. 2025, 09:41 skrev Victor Lazzarini <
> 000010b17ddd988e-dmarc-request@listserv.heanet.ie>:
>
>> Oeyvind has lots of experience on this. He should have a thing or two to
>> say.
>>
>>> On 26 Jun 2025, at 09:28, Philipp Neumann <
>> 0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE> wrote:
>>>
>>> *Warning*
>>>
>>> This email originated from outside of Maynooth University's Mail System.
>> Do not reply, click links or open attachments unless you recognise the
>> sender and know the content is safe.
>>>
>>> Hello everybody!
>>>
>>> For a current project i want to setup a csound device that can analyse a
>> broad spectrum of information from an incoming sound. I want to use these
>> information to control sound transforming processes.
>>> I know, that there are some possibilities in Csound for this, like RMS,
>> central spectroid and other stuff.
>>>
>>> I guess, a lot of you already done something like this and i wanted to
>> ask for examples or someone has collect all build in opcodes that can
>> provide some information of an incoming sound?
>>> All ideas are welcomed for this.
>>>
>>> Hope to hear from you :)
>>>
>>> Greetings,
>>> Philipp
>>>
>>> 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
>>
>
> 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
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

I believe
We all have one true love
Somewhere in this world <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