Hi,

I'm newer in Faust.
How can I use FaustLive with my USB MIDI keyboard in real time?

I checked the "MIDI Enable" parameter, but nothing happens.

I'm trying the "Simple Organ.dsp" example:
// Simple Organ
midigate = button ("gate");                             // MIDI keyon-keyoff
midifreq = hslider("freq[unit:Hz]", 440, 20, 20000, 1); // MIDI keyon key
midigain = hslider("gain", 0.5, 0, 10, 0.01);       // MIDI keyon velocity

process = voice(midigate, midigain, midifreq) * hslider("volume", 0, 0, 1,
0.01);

// Implementation

phasor(f)   = f/fconstant(int fSamplingFreq, <math.h>) : (+,1.0:fmod) ~ _ ;
osc(f)      = phasor(f) * 6.28318530718 : sin;

timbre(freq)= osc(freq) + 0.5*osc(2.0*freq) + 0.25*osc(3.0*freq);

envelop(gate, gain) = gate * gain : smooth(0.9995)
                with { smooth(c) = * (1-c) : + ~ * (c) ; } ;

voice(gate, gain, freq) = envelop(gate, gain) * timbre(freq);


I'm using a OSX 10.10.

Thanks!
Nyck
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to