-
Notifications
You must be signed in to change notification settings - Fork 822
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
Temperament BugFix and ES6+ port #2772
Conversation
@meganindya please review this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bug is fixed but I can spot a few other crashes using some of the UI buttons in the widget. Please check.
temperament.js:1946 Uncaught TypeError: Cannot set property 'fillAttr' of undefined
at __playLoop (temperament.js:1946)
at temperament.js:2056
temperament.js:862 Uncaught ReferenceError: ratios is not defined
at TemperamentWidget.performEqualEdit (temperament.js:862)
at HTMLDivElement.<anonymous> (temperament.js:761)
Thankyou for the feedback. I have rectified my errors:- Temprament-UI-Fixes.mp4 |
@meganindya In ad5bb2b I have added some of the JSDoc content. If this is fine by you, I'll add JSDoc styling comments for the entire file. |
ad5bb2b
to
5d1a342
Compare
Yeah pls do. I've fixed the linting errors and formatted the code. If possible, add a |
ddfe83e
to
2eb218d
Compare
2eb218d
to
b9c7263
Compare
Did the necessary changes. Any corrections? |
Bugfix-1 Bugfix ratios Bugfix for Ui elements
Widgetblocks.js modification for logo Linting finishes for temprament JSDoc styling comments Typo in JSDoc
99685bb
to
6a86702
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I clustered your commits and formatted the code. However, the widget shows anomalous behavior. Last time it was alright. Please check.
Thanks
Tested again:- Temp-Test.mp4This time even with formatting changes that you have done, I did not encounter any error, can you please describe the anomalous behavior? |
Can't reproduce it again. |
Issue reference:- #2767, #2630, #2609
Bug:-
When stop button is pressed, temperament widget continues to play the previous value of the pitch in conjunction to the pitch values from the start. Notice the erratic behavior in the video below.
Temprament-1.mp4
Obviation of bug post fixes:-
Temprament2.mp4
Post port, the behavior of rest of functionalities of the temperament widget:-
Temprament3.mp4
As is, this port didn't produce any errors for me on my system locally, however if any error/erratic behavior is produced due to this port, do let me know. Thanks