Hi Nycholas,

happy new year to you and everybody else here. :)

On Sun, Jan 3, 2016 at 5:22 PM, Nycholas Maia <[email protected]> wrote:

> *1-* The FAUST receive a MIDI input? How I do it?
>

You need to use an architecture (-a option of the Faust compiler) that
supports that kind of thing. Both Yan Michalevsky's VST architecture
(available in recent Faust versions) and my own VST architecture (available
at https://bitbucket.org/agraef/faust-vst) readily support both VST effects
and instruments. There are different helper scripts which let you compile
the Faust source to a VST or VSTi. You can find a description of Yan's
architecture in the LAC 2014 proceedings; for faust-vst please check the
README at https://bitbucket.org/agraef/faust-vst. (Basically, with
faust-vst you can just put a declaration like nvoices "16"; at the
beginning of your Faust program so that it knows that you want to build a
VSTi rather than a simple VST.)

If you have multi-channel MIDI input, I'd recommend my own architecture,
since Yan's doesn't support this (its note processing algorithm assumes a
single MIDI channel). faust-vst also offers some extra goodies like
built-in MIDI CC processing and MTS tuning capabilities, please check the
README for details. Also, one of my students has created an experimental
version of faust-vst which does custom Qt GUIs using Faust's Qt support (
https://github.com/rosvid/faust-vst-qt; please note that this is still work
in progress). And there's a very similar architecture (
https://bitbucket.org/agraef/faust-lv2) to produce LV2 plugins for Linux.

OTOH, Yan's architecture has a very nice portamento feature which I haven't
ported over to faust-vst yet, so if you don't need faust-vst's extra
capabilities then you might want to give it a go as well.


> *2-* If I can do FAUST receive a MIDI input (Sibelius in real time), I
> connect the Sibelius and FAUST by JACK?
>

No, if you're building a VSTi then everything is in the architecture, no
Jack required.


> *3-* Once developed VSTi plugin, to have it as 100% functional, just put
> it in the VST folder on my Mac?
>

Exactly. You compile the plugin with the corresponding helper script, which
invokes the Faust and C++ compilers and outputs a bundle named like
myplugin.vst. Then just copy that bundle to your VST plugin folder and
you're ready to go. (Some hosts might have to be told to rescan the
plugins, though.) It should work out of the box in Sibelius or any other
VST host, I'm running Faust-generated VSTis created with faust-vst on both
the Mac and Linux all the time, using various DAWs such as Ardour, Bitwig
Studio, Reaper and Tracktion, as well as stand-alone VST hosts such as
Carla. Works great. :)

*4-* Is there *any example of VSTi plugin* that I can use? Any project that
> receives a MIDI message and synthesizes this MIDI message in audio?
>

faust-vst contains several basic examples and a Makefile to compile them,
please check the examples folder at
https://bitbucket.org/agraef/faust-vst/src.

HTH,
Albert

-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email:  [email protected]
WWW:    https://plus.google.com/+AlbertGraef
------------------------------------------------------------------------------
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to