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 an octave manager for more complex(?) RTTTL #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

PlantLily
Copy link

just a very simple octave changing snippet

main.js Outdated


//octave manager
if(isNaN(oct) == false){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does oct get set?

Copy link
Author

@PlantLily PlantLily May 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright added oct to it
and changed the refinement of octave, sorry I'm really tired

main.js Outdated
if(isNaN(oct) == false){
octave = octave*1 + (oct*1-octave*1);
}else{
var octave = settings.getOctave();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't redefine octave within the else scope

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.

None yet

2 participants