< Back to IRCAM Forum

An experimental SDIF-sampler in cSound

Hi,
the title means to imitate a old practical IRCAM project:
An experimental SDIF-sampler in Max/MSP, http://recherche.ircam.fr/anasyn/rioux/publis/icmc02-draft-sampler-sdif.pdf

After 15 years cSound work in a more interactive way and it remains a solid open source DSP foundation. AudioSculpt can provide precise data than the model adopted.

The purpose is two-fold:

  • explore the tonal dimension of resynthesis/cross-synthesis (with freedom)
  • create an effective sampler implementation
    .

In modeling a signal, it is of primary importance that the model be adapted to the signal in question. This leads to compact models which are useful for analysis, compression, denoising and true perceptual processing. The fundamental goal is for the recombination to be perceptually equivalent to the original signal with a transient and release management, and not for the synthesized residual to be a transparent version of the original residual.

Csound does not directly manage the SDIF format, apart Loris opcodes. Obviously you can do a conversion to a raw format for importing and write the algorithm from scratch but probably the ATS opcodes can be very effective for spectral time-domain resynthesis using a bank of oscillators.

ATSread facilitates individual control of the frequency and amplitude values of each one of the partials. As the unit works at k-rate, the frequency and amplitude data must be interpolated in order to avoid unwanted clicks in the resynthesis.

ATSreadnz is simpler than ATSread, because whilst the number of partials of an ATS file is variable, the noise data (if any) is stored always as 25 values per analysis frame each value corresponding to the energy of the noise in each one of the critical bands.

Perhaps there is someone in the group who may be interested in creating a link between AudioSculpt and cSound?

Best regards,
Elia

I have forgotten some interesting works by John Glover that are relevant to the topic…(with the aim of creating a bridge with AudioSculpt)…

John Glover
Ph.D. thesis, National University of Ireland, Maynooth
Supervised by Dr. Victor Lazzarini
“Sinusoids, noise and transients: spectral analysis, feature detection and real-time transformations of audio signals for musical applications”.

John Glover, Victor Lazzarini, Joseph Timoney
“Metamorph: Real-Time High-Level Sound Transformations Based On A Sinusoids Plus Noise Plus Transients Model”.
Proceedings of the 15th Int. Conference on Digital Audio Effects (DAFx-12)
York, England, 2012.

Metamorph
Metamorph is an open source library for performing high-level sound transformations based on a sinusoids plus noise plus transients model. It is written in C++, can be built as both a Python extension module and a Csound opcode, and currently runs on Mac OS X and Linux. It is designed to work primarily on monophonic, quasi-harmonic sound sources and can be used in a non-real-time context to process pre-recorded sound files or can operate in a real-time (streaming) mode. Metamorph is available under the terms of the GNU General Public License (GPL). For download and installation information, go to http://github.com/johnglover/metamorph.