Escolar Documentos
Profissional Documentos
Cultura Documentos
Vida Nueva
DMQ, 29 de octubre de 2018
Dr.
Wilfrido Robalino
Rector
INSTITUTO TECNOLÓGICO SUPERIOR VIDA NUEVA
Presente. -
De mis consideraciones:
Av. Maldonado y 4ta transversal (Guamaní – antiguo peaje) Teléfono: 3076032 / 3653212
www.istvidanueva.edu.ec Tecnológico Vida Nueva
Instituto Tecnológico Superior
Vida Nueva
INFORME DEL PROCESO DE CONEXIÓN ENTRE JAVA Y LABVIEW
Av. Maldonado y 4ta transversal (Guamaní – antiguo peaje) Teléfono: 3076032 / 3653212
www.istvidanueva.edu.ec Tecnológico Vida Nueva
Instituto Tecnológico Superior
Vida Nueva
Envelope envelope;
Gain vca;
BiquadFilter hpf;
LPRezFilter lpf;
Av. Maldonado y 4ta transversal (Guamaní – antiguo peaje) Teléfono: 3076032 / 3653212
www.istvidanueva.edu.ec Tecnológico Vida Nueva
Instituto Tecnológico Superior
Vida Nueva
// construct the synthesizer
public void setup()
{
AudioContext ac = new AudioContext();
// the square and saw generators - this leaves out the sub generator and PWM
square = new WavePlayer(ac, 440.0f, Buffer.SQUARE);
saw = new WavePlayer(ac, 440.0f, Buffer.SAW);
// set up the high pass filter and add the square and saw generators as input
hpf = new BiquadFilter(ac, BiquadFilter.BESSEL_HP, 100.0f, 1.0f);
hpf.addInput(square);
hpf.addInput(saw);
// set up the low pass filter and connect the hpf as input
lpf = new LPRezFilter(ac, filterEnvelope, 0.95f);
lpf.addInput(hpf);
Av. Maldonado y 4ta transversal (Guamaní – antiguo peaje) Teléfono: 3076032 / 3653212
www.istvidanueva.edu.ec Tecnológico Vida Nueva
Instituto Tecnológico Superior
Vida Nueva
// if the event is not null
if( e != null )
{
// if the event is a MIDI event
if( e.getSource() instanceof ShortMessage )
{
// get the MIDI event
ShortMessage sm = (ShortMessage)e.getSource();
ac.start();
}
// attack segment
envelope.addSegment(0.5f, 0.1f);
// decay segment
envelope.addSegment(0.3f, 0.1f);
}
Av. Maldonado y 4ta transversal (Guamaní – antiguo peaje) Teléfono: 3076032 / 3653212
www.istvidanueva.edu.ec Tecnológico Vida Nueva
Instituto Tecnológico Superior
Vida Nueva
}
Av. Maldonado y 4ta transversal (Guamaní – antiguo peaje) Teléfono: 3076032 / 3653212
www.istvidanueva.edu.ec Tecnológico Vida Nueva