minim: moving up or down a selected part of the soundspectrum

edited August 2015 in Library Questions


The last days I spent a lot of time trying to move down a selected part of the soundspectrum from the Line In of my soundcard. So that when there is a signal at 5 khz at the souncards input I wanna hear the same signal at a frequency of only 1 kHz at the output. The only idea I had was to modifying the samples in an AudioSignal class. The result is that the frequency of the incoming signal is divided by 2, but there seem to be scheduling asynchronies or any other problem because the outgoing signal isn't clean. I would be grateful if anybody could help me to find any mistakes in my code or showing me another way to get a better result. So here is my code:


Sign In or Register to comment.