Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- generate white noise
- --
- clear all
- close all
- N=44100;
- s=randn(N,1);
- f=fft(s);
- figure
- subplot(211)
- plot(s)
- subplot(212)
- plot(20*log10(abs(s)))
- --
- [y,Fs,NBits] = wavread('name');
- % Fs : sampling frequency
- audiowrite(filename,y,Fs)
- sound(y,Fs);
- size(y) ==> bits soundtunnel
- --
- C++ thread https://kheresy.wordpress.com/2012/07/06/multi-thread-programming-in-c-thread-p1/
Advertisement
Add Comment
Please, Sign In to add comment