[PlanetCCRMA] Some questions about Chuck

Ebrahim Mayat ebmayat at mac.com
Thu May 19 05:22:27 PDT 2011


On May 19, 2011, at 2:59 AM, luca paganotti wrote:

> Hi all,
>
> I recently discovered the ChucK programming language and I have some  
> questions for you about possible applications.
>
> I'm trying to use/evaluate the usage of faust, pd and ChucK for a  
> single application that is not directly related to music. I work as  
> a developer for noise related applications (in particular we manage  
> aircraft noise and in general noise pollution).
>
> I briefly explain what I would like to do. Let's say that I have a  
> noise source that I would like to limit. Let's say that I measure  
> the noise with a microphone in the vicinity of the noise source  
> where i think the noise could disturb someone. The mic input is  
> needed to compute some meaningfull indexes in a defined time  
> interval, let's say 1 second or more, and then this value could be  
> used as a reference to change the amplitude of the noise source if  
> it exceeds the reference value.
> I make a couple of examples:
> maybe I need to limit the noise production of a pub where there is  
> live music so to reduce noise pollution outside the pub ...
> maybe I gather with my friends to play some music in my house and I  
> would like not to annoy my neighbours ...
> I've read the ChucK docs and found that I can have analyzer units  
> but at the moment they are only built in (fft, ifft, ...) and that  
> in the near future there will be the possibility to develop my own  
> analyzer unit ...
>
> So my questions are:
> Do you think that ChucK could be a profitable choice to have this  
> job done?
> Have you plans and timings for the user built analyzers unit support  
> in ChucK?
> Thanks by now for any answer.
>
> Luca Paganotti

Hello

I imagine that you have already looked at proprietary solutions  
provided by National Instruments DAQ applications where you can build  
your own analyzers/executables using objects already built into the  
programming environment and of course  MATLAB.

Another possibility is using octave (which is a FOSS project with a  
MATLAB-like language). Octave can be built and linked to the fftw3 or  
FFTPack libraries.  This enables the user to load functions like  fft  
(a, n, dim) and ifft (a) to manipulate matrices. There are also other  
similar functions which enable applications with 2-dimensional and N- 
dimensional matrices. It is also possible to extend octave via  
dynamically-loaded modules using user-defined functions written in C, C 
++ and Fortran.

I don't know ChucK at all. There are likely others on this list who  
could advise you further.

E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20110519/ac648c98/attachment.html 


More information about the PlanetCCRMA mailing list