Allright, I solved all my problems :
I can now mix (mute, volume, pan) any-number-of-voices, and I made my
own "additiveDrum" replacement so I got rid of all its weird
idiosyncrasies. Plus I learned how to properly instantiate stuff and
keep things neat and tidy. The CSS is also under control, so, yeah.
What I'd like to understand now is how to assign dynamic values to Faust
function controls ; Specifically what I need is a "Pitch Envelope
<https://modeaudio.com/magazine/drum-synth-sound-design-kick-snare>" to
modulate my low-frequency/AR-enveloped sine kick (from powww to piewww,
so, evolving in time) so I'll have to feed a (moving) parameter from a
module/function into another's, is there a recipe for that?
I hope I'm making sense..?
yPhil
On 16/07/17 02:04, Marc Joliet wrote:
Am Sonntag, 16. Juli 2017, 01:01:07 CEST schrieb Yassin Philip:
> I guess what I'm trying to say (in my poor English) is that I
> misunderstood the function of "," (comma) ; I was under the impression
> that it mixed sources in parallel, but look:
I assume this is your non-native English showing itself here, but to
be clear: "," does not mix anything, it is simply the parallel
composition operator, i.e., it places two signal paths in parallel
(note that bus() can be used for more than two signal paths).
> if process = a; and process = b; work, then how in heaven can process =
> a,b; produce a (quite literally) "Error in sequential composition
(A:B)?!
>
> yPhil
I'll have to have a look tomorrow, because I should be going to bed
now, but I'll grant you that the error messages of FAUST are not the
best. You kind of have to have a good picture of the flow diagram in
your head, at least that was my experience (but that is somewhat
compensated by the way you can layer things nicely in FAUST, so you
can usually work through the various sub-graphs separately, at least
that's my debugging strategy).
This is why I find that being able to see the full source code is
somewhat more important in FAUST than in other languages, because a
change in a sub-graph can break the rest of the graph, and then FAUST
"helps" you by dumping the fully expanded graph (kind of like what C++
compilers used to do with template errors), making it somewhat
difficult to figure out where exactly the error originated. (Again,
that reflects my experience from a few years ago, maybe things have
gotten better. I'll have to check out your code tomorrow, er, later
today ;) .)
HTH
--
Marc Joliet
--
"People who think they know everything really annoy those of us who
know we
don't" - Bjarne Stroustrup
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users
--
Yassin Philip New album NOW
http://yassinphilip.bitbucket.io
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users