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

Added a Fs check between source and function input #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Toktom
Copy link

@Toktom Toktom commented Oct 7, 2022

Using a different Fs value in the function 'simulate_measuremente_mvs' would lead to an error when trying to create the Audio. The standard error raised by Matlab would not give many details on what is precisely the problem. Therefore, it was added a statement that checks the values and informs (as an error) that the values don't match. This will allow the user to verify the correct Fs to be used when trying to use the function 'simulate_measuremente_mvs'.

Using a different Fs value as an input parameter in the 'simulate_measuremente_mvs.m' then the Fs value of the source will result in an error that doesn't give many details. Therefore, was added a if statement that raises an error if the Fs values doesn't match.
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 this pull request may close these issues.

1 participant