[Faudiostream-users] Simple VSTi

2016-01-11 Thread Nycholas Maia
Hi everybody,

I'm studying the FaustLive examples and trying to understand *how a MIDI
information is received by the VSTi plugin *to be possible create a MIDI
synth.
I'm still studying the "flute.dsp" because is simple and works inside my
DAW.

*The problem is:*
Inside the faust code I don't see any "MIDI input", or "MIDI note"
variable...
I just see the hslider that controls the frequency...but it disappears
"magically" when I ran this example as a VSTi inside a DAW and this plugin
recognized the MIDI input "magically" from a DAW.

*How can I receive a MIDI input inside a Faust code?*

Here below I put some code that declares* nvoices "16" to create a VSTi.*
After this, I put the same libraries that are used in "flute.dsp";
After this I will start the MIDI Synthbut in my mind, I have to receive
the MIDI message from "somewhere"...

declare name "MIDI2Sine";
declare description "VSTi MIDI2Sine";
declare author "Nyck";
declare copyright "Nyck";
declare version "1.0";
declare licence "STK-4.3";
declare description "A simple VSTi test";
*declare nvoices "16";*

import("music.lib");
import("instrument.lib");
import("effect.lib");

process = _;

I know that I'm wrong because "flute.dsp" code doesn't receive a MIDI
message inside your code, but I would like to understand how is possible it
work right.

In my mind, I was thinking something like:
freq = MIDI_INPUT * CONSTANT; // Convert a MIDI number (note) to a freq
process = osc(freq) * gain;

Could you help me?

Thanks,
Nyck
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] osc aliases

2016-01-11 Thread Stéphane Letz
You can specify "-xmit 2" at launch time like :

./your_faust_pgm  -xmit 2

or you can possibly send on OSC message to change -xmit to 2

Note that aliases work also at "-xmit 0" (which is the default value)

(anything new on the processing side ?)

Stéphane
 
Le 11 janv. 2016 à 14:21, pierre.leco...@gadz.org a écrit :

> It's working now  ! Thank you. 
> An other question  : is it possible to specify -xmit 2 at compilation time to 
> fix the default transmission mode i.e. something like
> $  faust2jaqt mydsp.dsp -osc -xmit 2
> Thanks for help
> Pierre
> -- Message d'origine--
> De: Stéphane Letz
> Date: dim., 10/01/2016 8:56
> À: Pierre Lecomte;
> Cc: faudiostream-users@lists.sourceforge.net;
> Objet :Re: [Faudiostream-users] osc aliases
>  
> Le 10 janv. 2016 à 00:34, Pierre Lecomte 
>  a écrit :
> 
> > Hello,
> > I'm a bit confused with the use of osc aliases in Faust :
> > Let's say i've a slider in code
> > 
> > hslider("volume",0,-5,5,0,0.1);
> > 
> > when I run
> > 
> > $ oscsend localhost 5510 "/*" s get
> > 
> > I see it but the osc adress is very long :
> > 
> > /the/osc/adress/is/very/long/volume fff 0. -5. 5.
> 
> Yes the parameter OSC address reflects the complete "hierarchy" of 
> groups..etc.. that your UI code is using
> 
> > 
> > So I try to use aliases :
> > 
> > hslider("volume[osc:/level 0 10]",0,-5,5,0,0.1);
> > 
> > now when I run 
> > 
> > $ oscsend localhost 5510 "/*" s get 
> > 
> > /level ffssff -5. 5. "alias" "/the/osc/adress/is/very/long/volume" 
> > -5. 5.
> > 
> > /the/osc/adress/is/very/long/volume fff 0. -5. 5.
> > 
> > but the commands
> > $ oscsend localhost 5510 "/level" s get 
> > or
> > $ oscsend localhost 5510 "/level" f 10 
> > don't work
> > 
> > why ?
> > Thank you
> > 
> > Pierre
> 
> Bug fixed in GIT, please try again and report.
> 
> Stéphane 
> 


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] osc aliases

2016-01-11 Thread pierre.leco...@gadz.org
It's working now  ! Thank you. An other question  : is it possible to specify -xmit 2 at compilation time to fix the default transmission mode i.e. something like $  faust2jaqt mydsp.dsp -osc -xmit 2Thanks for helpPierre-- Message d'origine-- De: Stéphane LetzDate: dim., 10/01/2016 8:56À: Pierre Lecomte;Cc: faudiostream-users@lists.sourceforge.net;Objet :Re: [Faudiostream-users] osc aliases 
Le 10 janv. 2016 à 00:34, Pierre Lecomte  a écrit :

> Hello,
> I'm a bit confused with the use of osc aliases in Faust :
> Let's say i've a slider in code
> 
> hslider("volume",0,-5,5,0,0.1);
> 
> when I run
> 
> $ oscsend localhost 5510 "/*" s get
> 
> I see it but the osc adress is very long :
> 
> /the/osc/adress/is/very/long/volume fff 0. -5. 5.

Yes the parameter OSC address reflects the complete "hierarchy" of groups..etc.. that your UI code is using

> 
> So I try to use aliases :
> 
> hslider("volume[osc:/level 0 10]",0,-5,5,0,0.1);
> 
> now when I run 
> 
> $ oscsend localhost 5510 "/*" s get 
> 
> /level ffssff -5. 5. "alias" "/the/osc/adress/is/very/long/volume" 
> -5. 5.
> 
> /the/osc/adress/is/very/long/volume fff 0. -5. 5.
> 
> but the commands
> $ oscsend localhost 5510 "/level" s get 
> or
> $ oscsend localhost 5510 "/level" f 10 
> don't work
> 
> why ?
> Thank you
> 
> Pierre

Bug fixed in GIT, please try again and report.

Stéphane 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] VST support: Problem

2016-01-11 Thread Albert Graef
On Sun, Jan 10, 2016 at 11:54 PM, Nycholas Maia  wrote:

> When I read for the first time about the Faust I was *extremely excited 
> *because
> it seemed to me an API "ready for use", especially within the Sibelius /
> Finale.
>

Well, Faust the programming language is already very mature, but the Faust
compiler, FaustLive and some of the architectures are still subject of
ongoing research and development. And nobody has had your specific
Finale/Sibelius use case yet, so you can't expect everything to just work
out of the box for you. ;-)

I do not even know where to begin researching how to create such
> compatibility with Faust.
>

Ok, that was a misunderstanding on my side. I thought that you were
considering the options of either using Faust or rolling your own plugin,
in which case you might as well have helped us getting the Sibelius/Finale
integration right because you're the only one with that specific use case
right now. But it's not a problem if you can't, then you'll just have to
live with the workarounds I pointed out earlier, until someone else comes
along and fixes the AU and/or VST architectures accordingly.

I do not know if I understand correctly, but it looks like the *Faust 2 can
> compile AU plugins.*
>

In principle yes, but as I pointed out before, they're not working, at
least not on Yosemite. :( I actually tried with faust2au, and the created
plugins fail to load in *every* AU host I tried. Your mileage may vary,
though, so give it a whirl and see for yourself.

That's why I suggested as workarounds to either use (1) a VST/AU bridge or
(2) a standalone host which could then be hooked up as an external MIDI
device to Sibelius or Finale. So that gives you two good (if not ideal)
ways to run your Faust programs with Finale and Sibelius right away.

I'm open to discussions on the subject.
> I'm sorry the amount of e-mails on this subject, I hope not disturb much.
>

No sweat. That's what mailing lists are for. :)

Albert

-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email:  aggr...@gmail.com
WWW:https://plus.google.com/+AlbertGraef
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive: stkmain error

2016-01-11 Thread Albert Graef
It looks like you're using the flute.dsp from faust-vst/examples. This
requires the custom instrument.lib in the same place, so make sure that you
invoke it from that directory (otherwise it will pick up the instrument.lib
from the standard Faust library which doesn't define that stkmain function).

Or just run the same STK example from the Faust sources (see, e.g.,
faust2/examples/faust-stk/flute.dsp) which works with the standard
instrument.lib.

Also note that some of the STK examples (e.g., bass.dsp) require external
(C/C++) functions and thus won't run in FaustLive.


On Mon, Jan 11, 2016 at 1:52 AM, Nycholas Maia  wrote:

> Hi everybody,
>
> I am new in FaustLive and I'm trying to run a "flute.dsp" example.
>
> I got the error:
> Undefined Symbol: BoxIdent[*stkmain*]
>
> Should I install some Faust library?
>
> Thanks,
> Nyck
>
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>


-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email:  aggr...@gmail.com
WWW:https://plus.google.com/+AlbertGraef
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive: stkmain error

2016-01-11 Thread Nycholas Maia
Hi Stéphane,

1- I'm using *Mac OSX 10.10.5*

2- Sorry, I wrote wrong...*the stkmain error is not in FaustLive...is in
the FaustWorks!*

I got FaustWorks from git...
FaustWorks open normally...

Then I open a any DSP example file in a text editor, I copy all lines, and
I paste all lines inside the FaustWorks to see the block diagram of the DSP
example...

The only line that I got the error is the "process line":
*Undefined Symbol: BoxIdent[stkmain]*

Should I install some Faust library?

Thanks,
Nyck
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users