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

Noise Suppression Properly Verify #70

Closed
dack-fe opened this issue Jan 22, 2021 · 4 comments · Fixed by #72
Closed

Noise Suppression Properly Verify #70

dack-fe opened this issue Jan 22, 2021 · 4 comments · Fixed by #72
Assignees

Comments

@dack-fe
Copy link
Contributor

dack-fe commented Jan 22, 2021

The Noise Suppression model contains additional scripts - https://github.com/fpga-open-speech-tools/simulink_models/tree/dev/models/noise_suppression/MATLAB_scripts

What are these scripts? Can they be removed?

@dack-fe dack-fe added the question Further information is requested label Jan 22, 2021
@tvannoy
Copy link
Member

tvannoy commented Jan 22, 2021

They were during development and testing. Essentially, the algorithm was implemented in MATLAB first, then implemented in Simulink.

They can be removed. They could perhaps be incorporated into verifySim; the output of adaptiveWienerFilt.m should be close to the output of the Simulink model, but I don't believe it was ever rigorously verified.

@fe-wickham
Copy link
Member

I think it would be worth it to get the scripts used in verifySim as ideally we can show in our example projects actual verification going on. If any of the scripts end up not being needed for verification we can get rid of them then

@tvannoy
Copy link
Member

tvannoy commented Jan 23, 2021

Agreed. This would be a good example of a non-trivial verification, versus something trivial like the simple gain. adaptiveWienerFilt should be the only file needed for verification.

We can either keep adaptiveWienerFilt as a separate file or put the functions into verifySim as local functions. Do we have a preference here?

@fe-wickham
Copy link
Member

fe-wickham commented Jan 23, 2021

Personally I am preferential to keeping something as complicated as adaptiveWienerFilt as a separate file just to keep the verifySim file still easy and quick to parse for readers rather than getting bogged down in the details if they aren't interested.

Its also a bit better practice as it enables to us to do more complex validation when it is used as part of a bigger model, ie the ANM components and validating the larger and larger sections of it.

I have updated this issue's title to reflect that the verification should be updated

@fe-wickham fe-wickham changed the title Noise Suppression Additional Scripts Noise Suppression Properly Verify Jan 23, 2021
@tvannoy tvannoy removed the question Further information is requested label Jan 23, 2021
@fe-wickham fe-wickham linked a pull request Jan 26, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants