I obviously forgot the lowpass after the abs in level_meter(chan)

On Sun, Jul 11, 2021 at 6:08 PM Julius Smith <julius.sm...@gmail.com> wrote:

> Hi Klaus,
>
> I sympathize!  Been there!
>
> There are various examples in demos.lib.   This seems to be right, but let
> me know if not:
>
> import("stdfaust.lib");
>
> level_meter(chan) = abs : max(ma.EPSILON) : 20*log10 : hbargraph("Channel
> %chan [unit:dB]",-70,10);
> meter_lk(N) = si.bus(N) <: ro.interleave(N,N) :
> par(i,N,attach(level_meter(i+1)));
>
> // Test:
> sig(i) = 0.1 * no.noise;
> process = sig(1),sig(2) : meter_lk(2) : _,_;
>
> Where would be a good place for this in the Faust libraries or examples?
>
> Cheers,
> Julius
>
>
> On Sun, Jul 11, 2021 at 10:23 AM Klaus Scheuermann <kla...@posteo.de>
> wrote:
>
>> Guys, I am biting my teeth out here, although it is probably super
>> simple... (making a new thread, as the lufs-loudness-meter is getting
>> quite full...)
>>
>> I have a function Lk2 which has 2 inputs and one output. The output does
>> not matter to me, but it contains a vbargraph meter.
>>
>> How do I make a function meter_lk2 that has 2 inputs, 2 outputs and no
>> arguments, that attaches Lk2 to it only for metering, passing through
>> the inputs to the outputs?
>>
>> process = _,_ : meter_lk2 : _,_;
>>
>> meter_lk2 = ???
>>
>> (mono is easy, but stereo is killing me.)
>>
>> Thanks,
>> Klaus
>>
>>
>> _______________________________________________
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
>
>
> --
> "Anybody who knows all about nothing knows everything" -- Leonard Susskind
>


-- 
"Anybody who knows all about nothing knows everything" -- Leonard Susskind
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to