question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] Help with custom renderer & calculations

See original GitHub issue

@thijstriemstra @sundayz Wanted to see if either of you can help me out on a custom renderer. I found other previous issues that showed code examples to setup the CustomRenderer.

So, in short: I got my own renderer running but my issue is that I want to remove the reflections and have the bars come from the bottom up. See screenshots for example:

What I have: Screen Shot 2021-01-25 at 1 31 22 PM

What I want: Screen Shot 2021-01-25 at 1 33 26 PM

Additionally, I wanted to know how can I calculate the percentage of overlap that occurs on the channel peaks splitPeaks, the amount of silence on the mergedPeaks, the percentage of audio on each channel vs the mergedPeaks.

Ultimately, I have a split audio with a customer on left and an agent on the right. I would like to be able to see the stats below. I have no understanding of the audio and decoded audio peaks so I am lost.

Agent: 73% Customer: 27% Overlap: 3% Silence: 4%

And if it’s not too much to ask - how can I use the annotations to create markers similar to this:

Screen Shot 2021-01-25 at 1 34 26 PM

Any guidance would be appreciated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
thijstriemstracommented, Jan 25, 2021

Just wanted to clarify that " web audio always resamples your audio to 48khz " depends on the sample rate you give to the audio context.

0reactions
johnpaulmedinacommented, Jan 26, 2021

Thank you all! I will peak in to those areas of code and try to accomplish what I need.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Formula, columns - Questions - Handsontable Forum
Hello, I apologize for this stupid question, but I can't find any example ... that were calculated using a custom renderer to actual...
Read more >
How to implement custom feature renderers
The custom feature renderers can be developed by creating simple Java class that implements IFeatureRenderer. The Java class must be annotated with @ ......
Read more >
Creating Custom Questions - Learnosity Help
Learnosity Custom Question types allow you to create your own unique Questions, giving you full control over the rendering of the response area, ......
Read more >
Supercharging Xamarin Forms with Custom Renderers, Part 2
In Part 1 of this series, I introduced custom renderers in Xamarin Forms and presented a pair of custom renderers – one for...
Read more >
Custom renderer for List Views (UI16) - ServiceNow Community
At the field "Calculation" the following script has to be entered: (function calculatedFieldValue(current) { if (current ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found