[Csnd] Help request for my first steps with CSound C++ API audio analysis
Date | 2019-09-08 10:06 |
From | Marco Ippolito |
Subject | [Csnd] Help request for my first steps with CSound C++ API audio analysis |
Hi all, I just approached CSound library. My aim is to find ways to use CSound with C++ API for audio analysis like the one that can be grasped with LibROSA in python (https://librosa.github.io/librosa/index.html). But I'm finding difficulties in trying to understand how to use CSound C++ API. For example... how to load .flac files? How to resample the loaded .flac file with a sampling_rate? Are there any examples of CSound C++ API usage? Looking forward to your kind help. Marco |
Date | 2019-09-08 12:31 |
From | Francois PINOT |
Subject | Re: [Csnd] Help request for my first steps with CSound C++ API audio analysis |
As librosa is written in Python, why don't you use ctcsound wich is a Python wrapper to the Csound API? François Le dim. 8 sept. 2019 à 11:17, Marco Ippolito <ippolito.marco@gmail.com> a écrit :
|
Date | 2019-09-08 12:41 |
From | Rory Walsh |
Subject | Re: [Csnd] Help request for my first steps with CSound C++ API audio analysis |
Or just use Csound to do the audio analysis? Why complicate things. That being said, I'm not familiar with libRosa. Perhaps it can do things Csound can't. On Sun 8 Sep 2019, 12:31 Francois PINOT, <fggpinot@gmail.com> wrote:
|
Date | 2019-09-08 15:10 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] Help request for my first steps with CSound C++ API audio analysis |
Hi Marco, If you want to analyse the sound in Csound, perhaps some of the routines from my feature-extractor-modulator code can be useful. The audio analysis code is in the analyze_audio.inc file. It will probably not give you what you need for a standard MIR system out of the box. It is more geared towards realtime analysis. Just thought I should mention, in case it is useful for you. best Oeyvind søn. 8. sep. 2019 kl. 13:41 skrev Rory Walsh <rorywalsh@ear.ie>:
|