[Faudiostream-devel] include paths

2013-05-01 Thread Julius Smith
Hi All, I wanted to try out "faust2jackconsole -osc" this morning on a MacBook Pro, and below are the diffs I used to make it compile (resulting script attached).  It seems there should be some centralized way to handle this for all the scripts with less distraction in the main script.  Perhaps a

Re: [Faudiostream-devel] [sc-users] n-channel SuperCollider UGens generated from faust

2013-09-03 Thread Julius Smith
nd various tweaks. But yes, it's quite nice, and an excuse to ramp up on Ruby! - Julius >:) > Till > > > >On 30.08.2013, at 22:50, Julius Smith wrote: > > > Hi Till, > > > > Since I was probably the last person to touch the > Faust-SuperCo

Re: [Faudiostream-devel] plotting frequency response

2013-09-12 Thread Julius Smith
Hi Urban, I always use the "pfo.m" script below ("plot faustout") - NOT pretty, but handy. - Julius % input parameters: if !exist('fs') fs = 1; freqstr = 'Normalized Frequency (cycles/sample)'; else if fs<1000 % (Hack) freqstr = 'Frequency (kHz)'; else freqstr = 'Frequency

Re: [Faudiostream-devel] plotting frequency response

2013-09-14 Thread Julius Smith
Hi Urban, You surmise correctly. Here is my implementation: function [xdb] = db(x,mindb) % [y] = db(x,mindb) % convert x to db, optionally clipped to mindb ax = abs(x); xmax = max(ax(:)); if nargin<2, xmin = xmax*eps; else xmin = 10^(mindb/20); end xdb = 20*log10(max(abs(x),xmin*ones(size(x

Re: [Faudiostream-devel] next faust release

2013-12-18 Thread Julius Smith
Hi Yann, Your timing is perfect for the holidays! :-) Perhaps this is a good time to mention that faust2au, by Reza Payami, has been recently much upgraded, again thanks to Reza: • Normal Faust GUI horizontal and vertical box layout support • Normal Faust GUI widgets including hsliders, vsli

Re: [Faudiostream-devel] faust2*qt on Mavericks

2014-01-11 Thread Julius Smith
Update: I rebooted my computer and pulled and installed the latest Faust git master, and now faust2jack binaries are now getting sound through the latest JackPilot. The Qt cases are still broken. - Julius At 03:22 PM 1/11/2014, Julius O. Smith wrote: >Hi All, > >Since there is a Faust release c

Re: [Faudiostream-devel] faust2*qt on Mavericks

2014-01-11 Thread Julius Smith
Ok, below is a solution for faust2caqt on Mac OS X Mavericks (use g++ in place of clang). The attempt to use macx-clang fails because that spec is in the "unsupported" directory: /opt/local/share/qt4/mkspecs/unsupported/macx-clang > port installed | grep qt4-mac qt4-mac @4.8.5_1 (activ

Re: [Faudiostream-devel] New faustvst.cpp architecture

2014-12-06 Thread Julius Smith
Hi Albert, Wow, thanks for bringing VST support up to the level of LV2 support! As always, it was a pleasure to follow your README file and get everything installed. Sorry if this question is "politically incorrect" on this list, but do you or anyone happen to know the easiest way to get VS

Re: [Faudiostream-devel] New faustvst.cpp architecture

2014-12-09 Thread Julius Smith
Hi Albert, That's great news, thanks! I cloned VSTAU and it compiled after removing 'const' from some NSString declarations for k* symbols, and commenting out "SetString(stringHandle, pstr);" which is not defined anywhere that I can find (yet). I guess this is my version of the "twiddling"

Re: [Faudiostream-devel] gate_gain_mono broken?

2015-01-02 Thread Julius Smith
Hi Jonatan, Thanks very much for your reporting and for figuring out the hold bug. (There was even one more!) I have incorporated your suggested fix and rewritten a bit for hopefully improved clarity in the git master (pushed). Apparently this bug has always been there and the "hold" parame

Re: [Faudiostream-devel] gate_gain_mono broken?

2015-01-05 Thread Julius Smith
At 12:33 PM 1/4/2015, Jonatan Liljedahl wrote: ... Would you mind explaining this line, changing time from /2 to /10? inlevel = amp_follower_ud(att/10,rel/10.0); I've been thinking about that line. What's the thought about coupling it to the noise gate attack and release, instead of having fix

Re: [Faudiostream-devel] gate_gain_mono broken?

2015-01-08 Thread Julius Smith
At 12:39 PM 1/6/2015, Jonatan Liljedahl wrote: Actually, changing the level detector times can change the reported level (quite naturally), so if one wants to carefully adjust the gate to open on certain peaks, and then tweak the release time, it will effectively move the threshold. I find it mo

Re: [Faudiostream-devel] amp_follower_ar

2015-01-19 Thread Julius Smith
Thanks for your useful and crisply written utilities! I have added them to effect.lib after the preexisting envelope followers. - Julius On Sun, Jan 18, 2015 at 1:18 PM, Jonatan Liljedahl wrote: > Oh, here's a version that actually works, and without the one sample delay: > > amp_follower_ar(at

Re: [Faudiostream-devel] amp_follower_ar

2015-01-19 Thread Julius Smith
Nice - pushed - Julius At 05:19 AM 1/19/2015, Jonatan Liljedahl wrote: Thanks! Actually, amp_follower_ar can be better written: amp_follower_ar(att,rel) = abs : lag_ud(att,rel); On Mon, Jan 19, 2015 at 9:44 AM, Julius Smith <<mailto:j...@ccrma.stanford.edu>j...@ccrma.stanford.e

Re: [Faudiostream-devel] question about peak detector

2015-01-20 Thread Julius Smith
I think amp_follower came out that way because a unit-sample delay was needed in the comparison of y[n] to x[n] in the computation of y[n] (at least the way I approached it). When x is rising, it is larger than both y[n] and y[n-1] and there is no difference. When it is falling, it will normal

Re: [Faudiostream-devel] question about peak detector

2015-01-21 Thread Julius Smith
nding errors? /Jonatan On Wed, Jan 21, 2015 at 8:47 AM, Julius Smith wrote: > I think amp_follower came out that way because a unit-sample delay was > needed in the comparison of y[n] to x[n] in the computation of y[n] (at > least the way I approached it). When x is rising, it is larger th

Re: [Faudiostream-devel] problematic character in effect.lib

2015-07-04 Thread Julius Smith
Thanks for your report - Julius On Sat, Jul 4, 2015 at 8:22 AM, Ebm Boy wrote: > Hi, > I'd like to report an error I had with TeXLive and faust2mathdoc which was > resolved by changing line 705 of effect.lib: > // "Digital Dynamic Range Compressor Design—A Tutorial and Analysis", by > > by this

Re: [Faudiostream-devel] Generating standalone Windows application on Linux

2016-06-01 Thread Julius Smith
Hi Jingjie, Search /usr/local/bin/faust2jaqt (for example) for "rm" and comment that out to keep the temporary files around. - Julius On Tue, May 31, 2016 at 9:07 AM, Jingjie Zhang wrote: > > Hello, Kjetil! > > > Thank you for your advice! > > I have installed the MXE on my Ubuntu today, and I

Re: [Faudiostream-devel] SR now a float

2016-06-14 Thread Julius Smith
Hi guys, Making SR a float is great, but can we make it double? A 32-bit float can specify a quartz clock frequency to only about 1% accuracy. - Julius On Tue, Jun 14, 2016 at 11:40 AM Albert Graef wrote: > Hi Yann, > > > On Tue, Jun 14, 2016 at 7:40 PM, Yann Orlarey wrote: > >> But you kno

Re: [Faudiostream-devel] bargraph

2016-12-31 Thread Julius Smith
Hi Paul, This stuff is handled in the architecture files. You can take a look at the source to (1) see what all is supported now for various cases, and (2) see how to add whatever you want to the case you need. Cheers, - Julius On Sat, Dec 31, 2016 at 2:09 AM, Paul Hoffmann wrote: > Hello, > a

Re: [Faudiostream-devel] Web Audio Conférence : we got the poster prize !

2017-08-23 Thread Julius Smith
That's tremendous! Congratulations! 2017-08-23 1:48 GMT-07:00 Stéphane Letz : > -- Julius O. Smith III Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ --

Re: [Faudiostream-devel] [Faudiostream-users] Performances of audio DSP code compiled in WebAssembly

2017-09-21 Thread Julius Smith
Hi Stéphane, Thanks for the interesting and informative report! It appears that the big differentiator in performance is small audio feedback loops, such as used in filterbank. If this is the case, then the simple one-pole filter, "pole(p) = + ~ *(p);" should show substantially the same performa

Re: [Faudiostream-devel] [Faudiostream-users] Performances of audio DSP code compiled in WebAssembly

2017-09-22 Thread Julius Smith
; wasm path is better and by how much compared to our own > Faust internal wasm backend. > > - I think we should avoid to go for a "use native primitives » strategy... > > - so I’m trying to get feedback from a french Mozilla developer, who works in > the compiler part. I

Re: [Faudiostream-devel] [Faudiostream-users] Performances of audio DSP code compiled in WebAssembly

2017-09-25 Thread Julius Smith
>> - that for this « fastapprox » reference. I guess one way to switch between >> the standard math functions to specific ones would be to have a kind of « >> function mapping file » described somewhere that the compiler would use with >> a special -approx parameter or somethin

Re: [Faudiostream-devel] faust2xxx

2017-11-09 Thread Julius Smith
I agree with all points! I personally like the current style of including everything that _might_ work, and then it is up to me to finish the job if anything I need does not work. A great example is the faust2supercollider script which I would _never_ have written had it not already existed in a

[Faudiostream-devel] make uninstall overreach

2017-12-16 Thread Julius Smith
Splitting out the libraries from the main release is nice - however, I see that "make uninstall" removes /usr/local/share/faust/, which is where the libraries are installed. Also, the faustlibraries project presently has no make file at all. I hear there is a transition to CMake in progress, so m

Re: [Faudiostream-devel] make uninstall overreach

2017-12-16 Thread Julius Smith
Let me know if you still have problems. > > Cheers > > Yann > > > - > > Yann Orlarey > Directeur scientifique > www.grame.fr > > > > 2017-12-16 13:08 GMT-08:00 Julius Smith : >> >> Splitting out the libraries from the main release is nice - h

Re: [Faudiostream-devel] make uninstall overreach

2017-12-16 Thread Julius Smith
fr > > > > 2017-12-16 16:01 GMT-08:00 Julius Smith : > >> Ah ok, thanks. Maybe there should be a dependency in the Makefile that >> does a "git submodule update --init" when the directory isn't there? I >> instead went to the main repo and kept readin

Re: [Faudiostream-devel] make uninstall overreach

2017-12-16 Thread Julius Smith
Has anyone on the ml ever done > anything similar? > > - > > Yann Orlarey > Directeur scientifique > www.grame.fr > > > > 2017-12-16 16:01 GMT-08:00 Julius Smith : > >> Ah ok, thanks. Maybe there should be a dependency in the Makefil

[Faudiostream-devel] faust2caqt on a Mac

2018-03-12 Thread Julius Smith
After today's "port upgrade outdated" on my Mac, due to apparent changes in Qt4, I needed to type this in a Terminal to get faust2caqt working again: cd /opt/local/libexec/qt4/share/mkspecs/ ln -s macx-llvm macx-clang fyi, jos -

Re: [Faudiostream-devel] [Faudiostream-users] "ZDF" SVF in C++, could this be converted to FAUST?

2018-08-22 Thread Julius Smith
e. Is there such a literature for ZDFs? If so, under what conditions do they win over all the others? Thanks, - Julius On Wed, Aug 22, 2018 at 8:44 PM Oleg Nesterov wrote: > > On 08/22, Julius Smith wrote: > > > > Hey, thanks for posting. I made a faust2octave test pr

Re: [Faudiostream-devel] [Faudiostream-users] "ZDF" SVF in C++, could this be converted to FAUST?

2018-08-23 Thread Julius Smith
eems nice! > > thanks Oleg, > > oli > > > > On 23 Aug 2018, at 12:14, Julius Smith wrote: > > > > Yes, tf2snp is the most luxurious filter section I know about: exact > > power normalization of both states. > > > > A comparison to the

Re: [Faudiostream-devel] mterm normalization bug, integer overflow

2018-08-24 Thread Julius Smith
I think this one may have been fixed. I cannot reproduce it in the latest git master-dev branch: faust -v FAUST : DSP to C, C++, Java, JavaScript, old C++, asm.js, WebAssembly (wast/wasm) compiler, Version 2.8.1 Copyright (C) 2002-2018, GRAME - Centre National de Creation Musicale. All rights reser

Re: [Faudiostream-devel] mterm normalization bug, integer overflow

2018-08-24 Thread Julius Smith
. > > Yann > > Le ven. 24 août 2018 à 16:30, Oleg Nesterov a écrit : >> >> On 08/24, Julius Smith wrote: >> > >> > I think this one may have been fixed. I cannot reproduce it in the >> > latest git master-dev branch: >> >> I am on master

Re: [Faudiostream-devel] [Faudiostream-users] mterm normalization bug, integer overflow

2018-09-10 Thread Julius Smith
Hi All, I thought I would mention that, according to my experience, the "real-time signal processing way" is to define @(-1) and all other "negative delays" as a delay of zero, i.e., negative delays simply "clip" to 0. The "offline signal processing way" would be to access the future noncausally

Re: [Faudiostream-devel] [Faudiostream-users] mterm normalization bug, integer overflow

2018-09-10 Thread Julius Smith
Since Faust is a compiled language, I would vote for @(1). On Mon, Sep 10, 2018 at 5:54 AM Oleg Nesterov wrote: > > On 09/10, Julius Smith wrote: > > > > I personally think Faust should stay in > > the "real time" paradigm and not offer this. &g

Re: [Faudiostream-devel] [Faudiostream-users] mterm normalization bug, integer overflow

2018-09-11 Thread Julius Smith
> We should not consider local non-causal computations (i. e. @(-1)) to be incorrect There could be a compiler option for choosing between "local non-causality" and "causal non-locality". Sorry - I couldn't resist :-) - Julius On Tue, Sep 11, 2018 at 8:56 AM Yann Orlarey wrote: > Hi Oleg, > >

Re: [Faudiostream-devel] kSamp delays: sharing annotation is wrong

2018-10-07 Thread Julius Smith
Hi Oleg, Thanks for the tutorial analysis and what looks like an excellent patch. Regarding ffunctions with side effects, Stéphane recently helped me get each of my ffunctions-with-state to have its own separate state struct. If anyone needs that, let us know. We could post our simple examples

Re: [Faudiostream-devel] faust && ffunctions-with-state

2018-10-08 Thread Julius Smith
Very nice! Stéphane's solution is to add the needed state in a subclass of dsp defined in the architecture file. See the attached simple example ttfs = "test ffunction with state". - Julius On Mon, Oct 8, 2018 at 2:14 AM Oleg Nesterov wrote: > > damn, sorry for noise ... > > On 10/08, Oleg Nest

Re: [Faudiostream-devel] faust && ffunctions-with-state

2018-10-09 Thread Julius Smith
Sorry I didn't send Stéphane's more general code - thanks for stepping in. On Tue, Oct 9, 2018 at 2:12 AM Stéphane Letz wrote: > > > > Le 9 oct. 2018 à 10:42, Oleg Nesterov a écrit : > > > > On 10/08, Julius Smith wrote: > >> > >> Very nice!

Re: [Faudiostream-devel] faust && ffunctions-with-state

2018-10-09 Thread Julius Smith
Here's what I should have sent (attached). In my use case, I'm instancing individual modules from C++. Yes, it would be cool to see FPP! - Julius On Tue, Oct 9, 2018 at 1:01 PM Julius Smith wrote: > > Sorry I didn't send Stéphane's more general code - thanks for st

Re: [Faudiostream-devel] Fw: feature request for CHECKBOX

2019-01-10 Thread Julius Smith
I agree! For this reason I use integer sliders ranging from 0 to 1 for this purpose - Julius On Thu, Jan 10, 2019 at 9:29 AM wrote: > > Hi Yann, hi all, > > I'd like a default value for the checkbox ui. E.g. > > checkbox("descr",1); > > Does that make sense? > > -- > Urban Schlemmer > - Diplomto

[Faudiostream-devel] Making a Faust snapshot that builds from source

2019-03-30 Thread Julius Smith
I need to maintain a source snapshot of the Faust compiler that builds along with everything else in a dependent project. To get around problems I was having with cmake derived files, I settled on the following "make target" for now. Please let me know if you see anything wrong with it, and other

Re: [Faudiostream-devel] Making a Faust snapshot that builds from source

2019-03-30 Thread Julius Smith
If you think that's complex, you should see my previous shell-script solution. :-) Simpler make target welcome! Thanks, - Julius On Sat, Mar 30, 2019 at 2:17 PM Stéphane Letz wrote: > > I still don’t understand why t has to be so complex ((-; > > Stéphane > > > Le 30

Re: [Faudiostream-devel] Making a Faust snapshot that builds from source

2019-03-31 Thread Julius Smith
2019 at 2:18 PM Julius Smith wrote: > > If you think that's complex, you should see my previous shell-script > solution. :-) > > Simpler make target welcome! > > Thanks, > - Julius > > On Sat, Mar 30, 2019 at 2:17 PM Stéphane Letz wrote: > >

Re: [Faudiostream-devel] Making a Faust snapshot that builds from source

2019-04-01 Thread Julius Smith
r repository. But presumably you've already > thought about this and have your reasons not to follow that route? > > Greetings, > Albert > > > On Sun, Mar 31, 2019 at 11:13 PM Julius Smith wrote: >> >> UPDATE: A little safer make target in case a step fails: >&g

Re: [Faudiostream-devel] Making a Faust snapshot that builds from source

2019-04-02 Thread Julius Smith
on, Apr 1, 2019 at 10:25 PM Julius Smith wrote: >> >> However, what happens if the submodule code gets edited? > > > By default, the submodule is always a snapshot (in "detached HEAD" state) at > whatever revision was current when you created it. If you need to up

Re: [Faudiostream-devel] Making a Faust snapshot that builds from source

2019-04-03 Thread Julius Smith
commit -m "updating submodule to latest" > > Bye, > > Pierre > > On 2 Apr 2019, at 22:19, Julius Smith wrote: > > cd submodule_name > git checkout master && git pull > cd .. > git add submodule_name > git commit -m "updating submodule

Re: [Faudiostream-devel] Error when compiling examples/misc/guitarix.dsp

2019-09-08 Thread Julius Smith
Hi Stéphane, I would comment out the definition in guitarix.dsp and expect it to work. - Julius On Sun, Sep 8, 2019 at 6:23 AM Stéphane Letz wrote: > > > > Le 8 sept. 2019 à 10:26, Hermann Meyer a écrit : > > > > > > Am 08.09.19 um 09:28 schrieb Stéphane Letz: > >> Are there any guitarix devel

Re: [Faudiostream-devel] Error when compiling examples/misc/guitarix.dsp

2019-09-08 Thread Julius Smith
Hi Stéphane, I think it is very useful to be able to switch among various modules! However, the deselected modules need to be able to "mute" themselves (stop computing) after their outputs reach zero. Cheers, - Julius On Sun, Sep 8, 2019 at 3:23 PM Stéphane Letz wrote: > > Fix, see > https://

Re: [Faudiostream-devel] [Faudiostream-users] Online Editor - Knob Not Working

2019-09-09 Thread Julius Smith
sibly choose another sample-rate and use the « Plot First > Samples » button to see the values. > > More info on the editor here: https://github.com/Fr0stbyteR/fausteditorweb > > Stéphane > > > Le 9 sept. 2019 à 17:55, Julius Smith a écrit : > > > > Wow! That

Re: [Faudiostream-devel] Documentation on architectures files

2021-02-06 Thread Julius Smith
This is excellent! Thanks! Julius On Wed, Feb 3, 2021 at 12:14 AM Stéphane Letz wrote: > Hi all, > > Never too late, an extensive documentation on architecture files is now > published: https://faustdoc.grame.fr/manual/architectures/ > > Feedback welcome: parts still not so clear, missing explan

Re: [Faudiostream-devel] Open Science Award for Open Source Research Software for Faust

2022-02-05 Thread Julius Smith
Congratulations!!! Richly deserved indeed! - Julius On Sat, Feb 5, 2022 at 8:43 AM Yann Orlarey wrote: > Great birthday present for the 20th anniversary of the FAUST language! > Developed by Grame since 2002, supported by a whole community of users and > contributors, FAUST is one of the four

Re: [Faudiostream-devel] [PATCH] implement meta.{serial,order}

2023-08-27 Thread Julius Smith
> note that atan2(fTemp0, fTemp0) == %pi/4 That's only true if fTemp0 is positive. For negative fTemp0, it's 5 * %pi / 4, or - 3 * %pi / 4, depending on your choice of domain. On Sat, Apr 29, 2023 at 9:42 AM Oleg Nesterov wrote: > Stephane, Yann, > > Can I suggest another feature? The patch is

Re: [Faudiostream-devel] [PATCH] implement meta.{serial,order}

2023-08-27 Thread Julius Smith
Ok great - sorry I didn't read the whole thread carefully - just a drive-by observation On Sun, Aug 27, 2023 at 11:08 AM Oleg Nesterov wrote: > On 08/27, Julius Smith wrote: > > > > > note that atan2(fTemp0, fTemp0) == %pi/4 > > > > That's only true

Re: [Faudiostream-devel] [PATCH] implement meta.{serial,order}

2023-08-28 Thread Julius Smith
Thanks for the forward progress! On Mon, Aug 28, 2023 at 11:35 AM Stéphane Letz wrote: > Done in > https://github.com/grame-cncm/faust/commit/8fb5a2b47adb6a7efa125ee5be224b08ac371ec8 > > Stéphane > > > Le 28 août 2023 à 20:27, Oleg Nesterov a écrit : > > >