Algunas preguntas que Dani Gomez hace en referencia a ChucK:

> but im stuck with trying to start an envelope that contours the filter
> frequency just when i hit any key. 

En tu patch no estas cambiando los valores del filtro pasa-bajos con una
envolvente. Si utilizas el generador de impulsos(Stp) para entrar a una
envolvente, el impulso es un valor de DC(1.0), en una muestra(u otras
pocas mas) y el resto es cero, por lo que tiendo a pensar que los
valores de frecuencia de corte del filtro están en cero.

Están tratando de utilizar un joystick como input a ChucK?. Ensayen el
patch con patrones de escape con teclas y después se pasan a métodos
sofisticados.

Que pena no poder ensayar el patch directamente, pero ChucK es todavía
una de esas aplicaciones que funcionan tan solo en i386-32bits. 

Pilas con los nombres de las variables.



Paso el mensaje original para que el asunto quede en el archivo.
===============================================================

> but im stuck with trying to start an envelope that contours the filter
> frequency just when i hit any key. I have this patch (below) that
> (supposedly) contours the filter and the oscilator at the same time,
> but i dont get what is wrong cause it is not working. It seems as if
> the envelope is sliding but it is not being updated when the amplitude
> envelope is on.  Im sorry if this is too obvious but have not found a
> way to do it. 


> Hid entrada;  
> HidMsg mensaje; 
> 0 => int device;  
> if( !entrada.openKeyboard( device ) ) me.exit(); 
> 
> //El patch 
> SawOsc o1 => LPF f=> Envelope e1 => dac; 
> Step stp => Envelope e => blackhole; 
> 
> 1 => stp.next; 
> 400 => e.value; 
> 800 => e.target; 
> 2 => e.time; o1.gain (.2); 
> 0.020 => e1.time; 
> o1.freq(200); 
> 
> while (true){ entrada => now; 
> e.last()+200=> o1.freq; 
> e.last()+200=> f.freq; 
> while( entrada.recv( mensaje ) ) //cuando 'entrada' reciba un
> 'mensaje' 
> { if( mensaje.isButtonDown() ) 
> { 1=>e1.keyOn;
>   1=>e.keyOn;
>  } if(mensaje.isButtonUp()) 
> { 0=> e.keyOn; 
> 0 => e1.keyOn;  } } }



_______________________________________________

Expyezp mailing list
[email protected]
http://lists.slow.tk/listinfo.cgi/expyezp-slow.tk

Archivo de mensajes:
http://lists.slow.tk/pipermail/expyezp-slow.tk/

Responder a