Skip to main content
gamedev.net
🔒 Locked

Untitled

Started by sap00 0 replies 300+ views
Original Post
sap00
sap00
guys im a dummy when it comes to c++ buy our professor gave us a project that uses capturesound, low pass filter, downsampling and fft...i implemented it first in MATLAB but the problem is that i cant translate it into c++.. guys please help me find a code source code for the low pass filter and downsampling since i already got capturesoung and fft...tnx guys for your help.. MATLAB code: b=fir1(120,Wc,hanning(121)) y=filter(b,1,x(:,1)); z=y(1:30:length(y)) H=specgram(z,512,735*2,hanning(512)); for i=1:60;plot(abs(H(:,i)));pause;end please help me guys translate this one... i just need a starting point..
Sneftel
Sneftel
Sorry, homework questions aren't allowed here. And anyway, this is not related to game development.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.