Revision history for RaetselToene


Revision [11885]

Last edited on 2011-04-06 15:52:15 by ToBo
Additions:
Die Lösung zu Rätsel 4 lautet "Nerd"


Revision [11884]

Edited on 2011-04-06 15:51:45 by ToBo
Additions:
%%(matlab)
clear
clc
A = dec2bin('Nerd');
fs = 8000;
vk = 1:2000;
amp = kaiser(length(vk),20).' * .5;
f1 = 300;
f2 = 1000;
[N,M] = size(A);
x = zeros(1,8000);
for n = 1:N
for m = 1:M
if A(n,m)=='1'
f = f1;
else
f = f2;
end
x = [x sin(2*pi*f/fs*vk) .* amp zeros(1,2000)];
end
x = [x zeros(1,8000)];

end

wavwrite(x,fs,16,'raetsel4.wav');
%%


Revision [11868]

Edited on 2011-04-04 17:29:40 by ToBo
Additions:
=====Töne=====
Deletions:
=====Titel=====


Revision [11867]

The oldest known version of this page was created on 2011-04-04 17:29:14 by ToBo
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki