Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Close
From: <pibsid@su...>  20071024 09:35:21

Hi! I'm new to pretty much everything but I have an idea for a new way to create sound. Well actually it's not a new idea. It has been around for quite some time but I haven't seen it in any music or audio software yet. It goes like this: Instead of modifying the waveform of the sound one would modify it's spectrum ie. harmonics. As some of you may remember from the math lessons any periodic function can be represented as sum of Sines and Cosines resulting in the Fourrier series for that function. This series tells the frequency composition of that function. Sounds or waveforms can in turn be represented as a spectrogram that tells how the frequencies change over time. I have so far only found software that turns a waveform in to it's spectrogram but none that do the opposite. And that's what I'd like to be able to do; to draw and paint harmonics to produce sound. It would offer a great deal of control over how the wave sounds like than plotting the waveform directly. Expressing the idea in a mathematical form: wave = Sum( Sin(2*pi*base_frequency*time*n)*frequency_weight[n](time) ) where n runs from 1 to n_max so that it stays within the limits of the sample rate and frequency_weight[i](t) is a time dependent function that tells how much of the frequency i is added to the final output. These weights are what I'd like to able to control somehow, maybe by plotting with the mouse. This approach produces very clean sounding results. For a more noisy and interesting sounds one would need to modify all the frequencies. Not just some base frequency and it's integer multiples. Well actually one could set the base frequency so low that the ear can't tell the difference. I understand that this kind of spectrogram painting could utilize the Fast Fourrier Transform (FFT), or in this case Inverse FFT. If something like this is implemented I hope it doesn't become too CPU hungry... Adding a ton of Sines or Cosines together can take some processing power. It should be optimizable... and FFT is fast right? I'm still learning programming so it will take some time before I can for example write a plugin that does this. But I wanted to throw the idea out there meanwhile. Pyry 
From: Vedran Vucic <vedran.vucic@gm...>  20071024 09:38:36
Attachments:
Message as HTML

Hello, Did you try Ceres3 software? Maybe something inspiring may be found there too. regards, vedran On 10/24/07, pibsid@... <pibsid@...> wrote: > > Hi! I'm new to pretty much everything but I have an idea for a new way > to create sound. > Well actually it's not a new idea. It has been around for quite some > time but I haven't seen it in any music or audio software yet. > > It goes like this: Instead of modifying the waveform of the sound one > would modify it's spectrum ie. harmonics. > > As some of you may remember from the math lessons any periodic > function can be represented as sum of Sines and Cosines resulting in > the Fourrier series for that function. This series tells the frequency > composition of that function. > Sounds or waveforms can in turn be represented as a spectrogram that > tells how the frequencies change over time. > I have so far only found software that turns a waveform in to it's > spectrogram but none that do the opposite. And that's what I'd like to > be able to do; to draw and paint harmonics to produce sound. It would > offer a great deal of control over how the wave sounds like than > plotting the waveform directly. > > Expressing the idea in a mathematical form: > > wave = Sum( Sin(2*pi*base_frequency*time*n)*frequency_weight[n](time) > ) > where n runs from 1 to n_max so that it stays within the limits of the > sample rate and frequency_weight[i](t) is a time dependent function > that tells how much of the frequency i is added to the final output. > These weights are what I'd like to able to control somehow, maybe by > plotting with the mouse. > > This approach produces very clean sounding results. For a more noisy > and interesting sounds one would need to modify all the frequencies. > Not just some base frequency and it's integer multiples. Well actually > one could set the base frequency so low that the ear can't tell the > difference. I understand that this kind of spectrogram painting could > utilize the Fast Fourrier Transform (FFT), or in this case Inverse FFT. > > If something like this is implemented I hope it doesn't become too CPU > hungry... Adding a ton of Sines or Cosines together can take some > processing power. It should be optimizable... and FFT is fast right? > > I'm still learning programming so it will take some time before I can > for example write a plugin that does this. But I wanted to throw the > idea out there meanwhile. > > Pyry > >  > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > LMMSdevel mailing list > LMMSdevel@... > https://lists.sourceforge.net/lists/listinfo/lmmsdevel > 