|
mié 14-abr-2004 21:40
%Flanger
%Vikas Sahdev
%Rajani Shankar
%Rajesh Samudrala
%
[x,fs,n]=wavread('dt.wav');%read in wav file
xlen=length(x);%Calc. the number of samples in the file
%Initialize constants
a=0.5;
D=2500;%Calculate the number of samples in the delay
y=zeros(size(x));
delay = zeros(size(x));
cycle=1/2;
% filter the signal
for i=1:1:D+1
y(i) = x(i);
end;
for i=D+1:1:xlen
delay(i) = abs(round(D * cos(2*pi*i/((xlen-D-1)/cycle))));
y(i)= x(i)+a*x(i-delay(i));
end;
wavwrite(y,fs,'flang2.wav')
figure(1);
plot(delay);grid;
title('The delay function beta(n)');
|
|
mié 14-abr-2004 22:49
'// Commercial Song
'// HOW TO.. "get easy money"
'// Benny Benassi
'// Code by CK
function Benny()
{
echo("Push me");
echo("And then just touch me");
echo("Do I can't get my");
for i=1;i=4;i++
{
echo("Satisfaction");
}
}
|
|
jue 15-abr-2004 0:43
genial!!!, invito a poner sus algorritmos, este esta en matlab
function sonido(A,f,o,t)
T=0:1:t;
for i=50:1:100
for j =1:0.1:100
x=(A)*sin(2*3.14*(f^j)*T+(o+i));
sound(x,4000*j/i,16)
end
end
suena rebien
|
|
jue 15-abr-2004 22:49
[Loop Clause]
for var [type-spec] in expr1 [by step-fun]
as var [type-spec] in expr1 [by step-fun]
[Este es el segundo de 7 para.-GLS]
----------
;;; Collect some numbers.
(loop for item = 1 then (+ item 10)
repeat 5
collect item)
=> (1 11 21 31 41)
BYE BYE----> :)
|
|
jue 15-abr-2004 22:52
(loop with a = 1
with b = (+ a 2)
with c = (+ b 3)
with d = (+ c 4)
return (list a b c d))
=> (1 3 6 10)
(let* ((a 1)
(b (+ a 2))
(c (+ b 3))
(d (+ c 4)))
(block nil
(tagbody
next-loop (return (list a b c d))
(go next-loop)
end-loop)))
No sigo porquees largo, jaja. Saludos
|
enufo
músico
alta:24/01/04
|
vie 16-abr-2004 2:24
:-(
yo quiero jugar también... sniff...
disculpen que interrumpa su música, pero me siento obligado a pedirle al amigo Shileno que nos explique cómo y en donde se escriben estos códigos, supongo que el MATLAB es un programa en donde se realiza dicho proceso, pero en los resultados de búsqueda me aparecieron muchas versiones, y mucha información que poco tiene que ver con la síntesis, en realidad parece un programa con el que se puede hacer muchas, muchas, muchas cosas no?, de donde se lo puede descargar?
alguna ayuda Pablo, eso se ve re interesante...
|