Old 08-19-2019, 12:21 AM   #41
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default

You need the latest dev pre-release.. just right click and embed in MCP or TCP
heda is offline   Reply With Quote
Old 08-19-2019, 01:57 AM   #42
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by heda View Post
You need the latest dev pre-release..

Thank you!!
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 08-19-2019, 04:12 AM   #43
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by heda View Post
You need the latest dev pre-release.. just right click and embed in MCP or TCP
How do you embed in tcp ?
Coachz is offline   Reply With Quote
Old 08-19-2019, 04:28 AM   #44
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default

AHH it is cut in the gif, but there are two options in the menu, one to embed in MCP and one to embed in TCP
heda is offline   Reply With Quote
Old 08-19-2019, 06:27 AM   #45
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

When I embed in TCP it doesn't show up here. In MCP I only see Reset

Coachz is offline   Reply With Quote
Old 08-19-2019, 06:30 AM   #46
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default

This is a pre release feature. If something doesn't work well that should be discussed in the pre release forum so Developers can see it and fix it.
heda is offline   Reply With Quote
Old 08-19-2019, 06:41 AM   #47
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Thanks, I posted there so they can see it.
Coachz is offline   Reply With Quote
Old 08-19-2019, 08:33 AM   #48
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default

Quote:
Originally Posted by Coachz View Post
Thanks, I posted there so they can see it.
Use the latest version of tiny. It will work.

Maybe we could remove the reset button and make it reset when clicking the actual number. No need for a separate reset button. Because this is to make it as tiny as possible.
heda is offline   Reply With Quote
Old 08-19-2019, 11:50 AM   #49
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by heda View Post
Use the latest version of tiny. It will work.

Maybe we could remove the reset button and make it reset when clicking the actual number. No need for a separate reset button. Because this is to make it as tiny as possible.
1.2 Doesn't work with my theme. I'm happy to upload the theme for anyone to try.
Coachz is offline   Reply With Quote
Old 08-19-2019, 11:39 PM   #50
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Tiny EBU update 1.3:
- reset removed
- reset by click into the graphic area
- small CPU optimisations

Download here: EBU R128 JSFX
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 08-20-2019, 05:43 AM   #51
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by TBProAudio View Post
Tiny EBU update 1.3:
- reset removed
- reset by click into the graphic area
- small CPU optimisations

Download here: EBU R128 JSFX
The code in the file says 1.3 but Reaper shows it as 1.2 weird
Coachz is offline   Reply With Quote
Old 08-20-2019, 10:29 AM   #52
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by Coachz View Post
The code in the file says 1.3 but Reaper shows it as 1.2 weird

Really weird...
In any case i hope it works as suggested...
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 08-20-2019, 10:42 AM   #53
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by TBProAudio View Post
Really weird...
In any case i hope it works as suggested...
My theme was modified to have horizontal meters in tcp and it seems to cause a problem with the meter. oh well
Coachz is offline   Reply With Quote
Old 08-20-2019, 10:46 AM   #54
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Quote:
Originally Posted by Coachz View Post
The code in the file says 1.3 but Reaper shows it as 1.2 weird
Ya I seen that too, but i'm on portable install changing/testing all kinds of stuff so not unexpected LOL. I just exit reaper, delete the 'jsfx.ini' and restart it.

@ TBProAudio, 1.3 Tiny is very cool, Thanks!
Is it possible to edit the code so it starts in IL mode?, I tried but did't work, don't really understand JSFX too good.
Edgemeal is offline   Reply With Quote
Old 08-20-2019, 10:04 PM   #55
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by Edgemeal View Post
Is it possible to edit the code so it starts in IL mode?, I tried but did't work, don't really understand JSFX too good.

Just change line 42 to:

Code:
slider10:2<0,4,{ML,SL,IL,RLA,TP Max}>Mode
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 08-21-2019, 05:52 AM   #56
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Quote:
Originally Posted by TBProAudio View Post
Just change line 42 to:

Code:
slider10:2<0,4,{ML,SL,IL,RLA,TP Max}>Mode
Awesome, Thank you very much!
Edgemeal is offline   Reply With Quote
Old 08-21-2019, 09:41 AM   #57
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,271
Default

Quote:
Originally Posted by TBProAudio View Post
Something like this?
I already know how to do that, and am kind of embarrassed that I didn’t catch it to begin with. What actually tripped me up was that it didn’t seem to work when recording. Is that something in your code, or something stupid I did?
ashcat_lt is offline   Reply With Quote
Old 08-21-2019, 09:58 PM   #58
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by ashcat_lt View Post
I already know how to do that, and am kind of embarrassed that I didn’t catch it to begin with. What actually tripped me up was that it didn’t seem to work when recording. Is that something in your code, or something stupid I did?
Right, there is a bug with the DAW sync: recording state is ignored :-(
Fixed in latest version tiny_ebu_r128 (1.4) and ebur128_analysis (2.10).

Download here: EBU R128 JSFX
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 10-03-2019, 03:50 PM   #59
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 1,651
Default

hello, this looks awesome! please forgive my ignorance, but how does one install and use this? Looks like a plugin and a script have to be used together?
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 6,Motu 828es, Cranborne ADAT500
poetnprophet is offline   Reply With Quote
Old 03-07-2021, 11:32 PM   #60
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Tiny EBU update to 1.5:
- if meter value is below -140, the text "---" is displayed.

Download here: EBU R128 JSFX
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 05-16-2021, 04:30 PM   #61
tonalstates
Human being with feelings
 
tonalstates's Avatar
 
Join Date: Jun 2020
Posts: 656
Default

Hi @TBProAudio, is there any way I can change the text color in Tiny EBU from yellow to something like a blueish green like this #36E5CE?

Thanks

Last edited by tonalstates; 05-16-2021 at 04:39 PM.
tonalstates is offline   Reply With Quote
Old 05-16-2021, 05:05 PM   #62
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Quote:
Originally Posted by tonalstates View Post
Hi @TBProAudio, is there any way I can change the text color in Tiny EBU from yellow to something like a blueish green like this #36E5CE?

Thanks
You need to edit the jsfx code. Find the lines "gfx_r" (red) "gfx_g" (green) "gfx_b" (blue) and "gfx_a" (alpha = transparency) and change the values between 0 and 1 to tweak the RGB colors.

For green/blue you probably want to set gfx_r to 0 and gfx_g and gfx_b to 1. If the color is too aggressive you probably want to set the gfx_a to something lower than 1 or lower the green and blue part.. play around until you get the color you like. You should see it immediately when you press ctrl+s for saving the jsfx tweaks.
Phazma is offline   Reply With Quote
Old 05-16-2021, 11:51 PM   #63
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by tonalstates View Post
Hi @TBProAudio, is there any way I can change the text color in Tiny EBU from yellow to something like a blueish green like this #36E5CE?

Thanks
Yes :-) Goto to line 95 and replace

Code:
 gfx_r = 1.0; 
 gfx_g = 1.0; 
 gfx_b = 0.0;
with
Code:
 gfx_r = 0x36/0xFF; 
 gfx_g = 0xE5/0xFF; 
 gfx_b = 0xCE/0xFF;
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 06-11-2021, 11:34 AM   #64
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

@TBProAudio I have noticed that when rendering silence, having the Tiny Ebu active on the master track will cause the left channel (CH1) to show some (inaudible) audio output:



Shouldn't the Tiny Ebu not affect audio at all, just measure it? Is there a technical reason for this?
Phazma is offline   Reply With Quote
Old 06-11-2021, 10:24 PM   #65
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by Phazma View Post
@TBProAudio I have noticed that when rendering silence, having the Tiny Ebu active on the master track will cause the left channel (CH1) to show some (inaudible) audio output:



Shouldn't the Tiny Ebu not affect audio at all, just measure it? Is there a technical reason for this?
Just tested here, silence out if silence in.


you can check here:


Code:
@sample
  
  (play_state) ?
  (
    (last_play_state != play_state) ?
      EBUR128LM.LM_EBUR128_Reset_MultiCh();
  );
  last_play_state = play_state;

  play_state_tmp = (play_state == 1) || (play_state == 5);
  EBUR128LM.LM_EBUR128_Process_MultiCh(spl0, spl1, spl2, spl3, spl4, spl5, channelconfig, (metermode == 4),(metermode == 3) && (play_state_tmp == 1));
  
// EO@sample
splx go into function, but never modified.
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 06-12-2021, 05:41 AM   #66
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

See the same thing, but only happening in dev build (+dev0611), I don't see it in v6.29 release, looks like a REAPER bug.

Win10 x64
Edgemeal is offline   Reply With Quote
Old 06-12-2021, 05:47 AM   #67
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Yes, seems to be a bug related to current dev builds that affects also other JS.. so on Reaper’s side to solve.

Sorry for bothering and thanks for taking the time to check!
Phazma is offline   Reply With Quote
Old 06-12-2021, 06:10 AM   #68
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by Phazma View Post
Yes, seems to be a bug related to current dev builds that affects also other JS.. so on Reaper’s side to solve.

Sorry for bothering and thanks for taking the time to check!
Thank you.
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 06-12-2021, 03:15 PM   #69
permeke
Human being with feelings
 
Join Date: Dec 2019
Posts: 588
Default

Quote:
Originally Posted by TBProAudio View Post
OK, i updated Tiny EBU for beter CPU performance (please download here, please scroll down)
love it.
permeke is offline   Reply With Quote
Old 01-12-2022, 03:46 AM   #70
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

@TBProAudio

By looking at a spectrum analyzer at very low dB I have seen that the EBU meter adds a constant low frequency signal. Is this expected?

Phazma is offline   Reply With Quote
Old 01-12-2022, 04:33 AM   #71
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

Quote:
Originally Posted by Phazma View Post
@TBProAudio

By looking at a spectrum analyzer at very low dB I have seen that the EBU meter adds a constant low frequency signal. Is this expected?


Interessting. But this comes not from the script, because the script does touch the signal. You can check your self in the code.
__________________
www.tbproaudio.de
TBProAudio is offline   Reply With Quote
Old 01-14-2022, 12:50 AM   #72
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Interesting. After a further check I find this behavior in vast majority of JS plugins (even in some by Cockos themselves). Not in all plugins though and not in every single JS. I will report this as bug.
Phazma is offline   Reply With Quote
Old 01-14-2022, 02:18 AM   #73
PhelixK
Human being with feelings
 
PhelixK's Avatar
 
Join Date: Mar 2019
Posts: 875
Default

DC filter?
@Phazma, I notice you received a response from the Reaper devs regarding plug-ins denormalization. - Thanks for investigating (I wasn't aware of the purpose of this particular function).

Last edited by PhelixK; 01-14-2022 at 08:47 AM.
PhelixK is offline   Reply With Quote
Old 01-14-2022, 08:53 AM   #74
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Yes indeed it’s for the anti-denormalization. Here is the thread: https://forum.cockos.com/showthread....27#post2516227

Maybe it makes sense to disable it for a metering plugin? I don’t know.. up to TBProAudio to decide. I won’t mess with it.
Phazma is offline   Reply With Quote
Old 01-14-2022, 10:16 AM   #75
TBProAudio
Human being with feelings
 
TBProAudio's Avatar
 
Join Date: May 2014
Location: Germany
Posts: 643
Default

OK, here is the code with denorm switched off:



Code:
// Copyright 2022 , tb-software.com
// All rights reserved.
//
//Redistribution and use in source and binary forms, with or without modification, are permitted 
//provided that the following conditions are met:
//
//Redistributions of source code must retain the above copyright notice, this list of conditions 
//and the following disclaimer. 
//
//Redistributions in binary form must reproduce the above copyright notice, this list of conditions 
//and the following disclaimer in the documentation and/or other materials provided with the distribution. 
//
//The name of tb-software.com may not be used to endorse or 
//promote products derived from this software without specific prior written permission. 
//
//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS OR 
//IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
//FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 
//BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
//(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
//STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 
//THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

// Tiny EBU R128
// by TBProAudio 2022 (www.tbproaudio.de)

// Changelog
// 1.0: First public release
// 1.1: slider removed
// 1.2: GFX w/h adjusted, CPU reduced
// 1.3: Reset removed, reset by clicking on the big number, small CPU opti
// 1.4: Fixed DAW sync while recording
// 1.5: if meter value is below -140, the text &quot;---&quot; is displayed.
// 1.6: denorm switched off

desc:Tiny EBU R128 1.6 (TBProAudio)
options: no_meter
import memorymanager.jsfx-inc
import ebur128.jsfx-inc

////////////////////////////////////////

slider9:0<0,3,{2.0 Stereo,4.0 Surround,4.1 Surround,5.1 Surround}>-Channel Config
slider10:0<0,4,{ML,SL,IL,RLA,TP Max}>Mode

@init

  ext_nodenorm = 1.0;

 // Init our small mem manager, just to manage our own memory and align to foreign code/mem
  MM.MemMgr_Init(0);

  // EO@function

  EBUR128LM.LM_EBUR128_Init_MultiCh(srate);
  timer.EBU_Time_Init_Ms(100, srate);
 
  ext_noinit = 1;
  last_play_state = play_state;

  no_meters = 0;
// EO@init

@slider
  channelconfig = slider9;
  metermode = slider10;
// EO@slider 

@block
// EO@block
 
@sample
  
  (play_state) ?
  (
    (last_play_state != play_state) ?
      EBUR128LM.LM_EBUR128_Reset_MultiCh();
  );
  last_play_state = play_state;

  play_state_tmp = (play_state == 1) || (play_state == 5);
  EBUR128LM.LM_EBUR128_Process_MultiCh(spl0, spl1, spl2, spl3, spl4, spl5, channelconfig, (metermode == 4),(metermode == 3) && (play_state_tmp == 1));
  
// EO@sample  

@gfx 400 240

  ALIGN_CENTER_HORIZONTAL  = 1<<0;
  ALIGN_JUSTIFY_RIGHT      = 1<<1;
  ALIGN_CENTER_VERTICAL    = 1<<2;
  ALIGN_JUSTIFY_BOTTOM     = 1<<3;
  IGNORE_RIGHT_BOTTOM      = 1<<8;

  gfx_texth_tmp = gfx_texth;

  ////////////////////////////////////////////////////
  gfx_r = 1.0;
  gfx_g = 1.0;
  gfx_b = 0.0;
  gfx_a = 1.0;
  
  //gfx_r = 0x36/0xFF;
  //gfx_g = 0xE5/0xFF; 
  //gfx_b = 0xCE/0xFF;
  //gfx_a = 1.0;

  text_size = gfx_w / 4 * 1.5;
  gfx_setfont(2, &quot;Arial&quot;, text_size, 'b');
  gfx_measurestr(&quot;A&quot;, text_w, text_h);

  val = 0.0;
  mode_str = &quot;ML&quot;;
  label_str = &quot;LUFS&quot;;

  (metermode == 0) ? (val = EBUR128LM.LM_EBUR128_GetML_LUFS();  mode_str = &quot;ML&quot;;    label_str = &quot;LUFS&quot;;);
  (metermode == 1) ? (val = EBUR128LM.LM_EBUR128_GetSL_LUFS();  mode_str = &quot;SL&quot;;    label_str = &quot;LUFS&quot;;);
  (metermode == 2) ? (val = EBUR128LM.LM_EBUR128_GetIL_LUFS();  mode_str = &quot;IL&quot;;    label_str = &quot;LUFS&quot;;);
  (metermode == 3) ? (val = EBUR128LM.LM_EBUR128_GetLRA_LU();   mode_str = &quot;LRA&quot;;   label_str = &quot;LU&quot;;);
  (metermode == 4) ? (val = EBUR128LM.LM_EBUR128_GetTP_dbFS();  mode_str = &quot;TP M.&quot;; label_str = &quot;dBTP&quot;;);

  gfx_x = 10;
  gfx_y = 10;
  (val > -140) ?
  (
    sprintf(str, &quot;%.1f&quot;, val); gfx_drawstr(str, ALIGN_JUSTIFY_RIGHT, gfx_w-10, gfx_h);
  ):
  (
    sprintf(str, &quot;%s&quot;, &quot;---&quot;); gfx_drawstr(str, ALIGN_JUSTIFY_RIGHT, gfx_w-10, gfx_h);
  );
 
  gfx_x = 10;
  gfx_y += text_h;
  sprintf(str, &quot;%s&quot;, mode_str); gfx_drawstr(str, ALIGN_JUSTIFY_RIGHT, gfx_w-10, gfx_h);

  gfx_x = 10;
  gfx_y += text_h;
  sprintf(str, &quot;%s&quot;, label_str); gfx_drawstr(str, ALIGN_JUSTIFY_RIGHT, gfx_w-10, gfx_h);

  // Reset
  doreset = 0;
  mouse_cap ?
  (
    doreset = 1; 
  );
  doreset ?
  (
      EBUR128LM.LM_EBUR128_Reset_MultiCh();
  );
// EOL@GFX
__________________
www.tbproaudio.de

Last edited by TBProAudio; 01-18-2022 at 11:11 PM.
TBProAudio is offline   Reply With Quote
Old 01-14-2022, 03:21 PM   #76
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Thanks for the code edit!
Phazma is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:15 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.