1) MIDI controllable instruments (that is the notes can be played on) must 
follow the freq/gate/gain convention as explained in 
https://faustdoc.grame.fr/manual/midi/ in "MIDI Polyphony Support » section 

so try for instance:

import("stdfaust.lib");
freq = hslider("freq",200,50,1000,0.01);
gain = hslider("gain",0.5,0,1,0.01);
gate = button("gate");
process = os.sawtooth(freq)*gain*gate;

2) then you *must* choose voice > 1 in the « PolyVoices » section of the Faust 
IDE 

Stéphane 

> Le 28 juin 2020 à 00:58, francesco mulassano <francesco.mulass...@gmail.com> 
> a écrit :
> 
> hi Stéphane, look at this example
> https://faustide.grame.fr/?code=https://faustdoc.grame.fr/manual/midi/exfaust4/exfaust4.dsp
> 
> as you can see in the screenshot, i receive the note 62 from my arturia 
> keystep but the sound can't change
> 
> Il giorno sab 27 giu 2020 alle ore 09:51 Stéphane Letz <l...@grame.fr> ha 
> scritto:
> Have you :
> 
> - use a polyphonic aware DSP, see https://faustdoc.grame.fr/manual/midi/ « 
> MIDI Polyphony Support » section 
> 
> - activated the Polyphonic mode:
> 
> <PastedGraphic-1.tiff>
> 
> Stéphane 
> 
> 
>> Le 27 juin 2020 à 09:46, francesco mulassano <francesco.mulass...@gmail.com> 
>> a écrit :
>> 
>> That's exactly what I wrote... I use faust ide, I see my keyboard connected, 
>> I see the number of midi notes but the loaded code does not sound (
>> Is there a desktop version of Faust ide?) 
>> 
>> Inviato dal mio telefono Huawei
>> 
>> 
>> -------- Messaggio originale --------
>> Da: Stéphane Letz <l...@grame.fr>
>> Data: sab 27 giu 2020, 07:22
>> A: francesco mulassano <francesco.mulass...@gmail.com>
>> Cc: faudiostream-users <Faudiostream-users@lists.sourceforge.net>
>> Oggetto: Re: [Faudiostream-users] Faustide and Midi input
>> Have you tried the Faust Web IDE ?  (running on Chrome so that you can have 
>> MIDI)
>> 
>> https://faustide.grame.fr/
>> 
>> Stéphane 
>> 
>> > Le 27 juin 2020 à 01:10, francesco mulassano 
>> > <francesco.mulass...@gmail.com> a écrit :
>> > 
>> > Hi, I'm trying to use a midi keyboard with the faustide, i see the notes 
>> > but nothing plays ... I use for example MarimbaMIDI
>> > 
>> > I need to add midi to a simple synth program
>> > _______________________________________________
>> > Faudiostream-users mailing list
>> > Faudiostream-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>> 
> 
> <Schermata 2020-06-28 alle 00.57.39.png>



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to