Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The way it processes data returned from c++ program in json format is not right #40

Open
ty1135 opened this issue Jul 5, 2023 · 1 comment

Comments

@ty1135
Copy link

ty1135 commented Jul 5, 2023

If you read their source code, or their website(https://waveform.prototyping.bbc.co.uk/), you'll find out its data is in a form that positives and negtives alternate, meaning two values stands for one sample.

if you want to resample and make it positve, the right way to do so would be like : [abs(0)+abs(1)]/2

And actually you don't have to do downsampling, cause it is offered in that C++, with command options.

@rutvik110
Copy link
Owner

oh, I'll have to look into this.
Thanx for pointing this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants