Skip to content

Commit

Permalink
moved interval notepaint after key on url detection
Browse files Browse the repository at this point in the history
  • Loading branch information
deltadada committed Aug 21, 2014
1 parent f22e34d commit 05fbde6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
9 changes: 5 additions & 4 deletions boxfrets.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,15 +800,16 @@ jQuery(document).ready(function() {
ctl_updateColorIntMode(true);
}
}

if (is_defined(url_params['key'])){
// key should use safename
ctl_change_key.keyChangeNotegroup(url_params['key']);
}
if (is_defined(url_params['intNames'])){
if(url_params['intNames'] == "true"){
ctl_updateIntervalMode(true);
}
}
if (is_defined(url_params['key'])){
// key should use safename
ctl_change_key.keyChangeNotegroup(url_params['key']);
}
if (is_defined(url_params['dash'])){
var arrNotgroups = url_params['dash'];
ctl_populateDash(arrNotgroups);
Expand Down
32 changes: 32 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<html>
<head>
<title>Fretboard Studies</title>
</head>
<body>
<h1><a href="fretboard.html">Fretboard Studies v.2</a></h1>

<p>I added some functionality to the Fretboard Studies app by Elias Dorneles:</p>

<ul>
<li>There is a note painter which paints wherever the mouse is until turned off.</li>

<li>There are also "fretpainters" at the bottom which will paint all the notes in a fret.</li>

<li>You can show the note names or the note intervals relative to the selected root.</li>

<li>There is a root pull-down and a set Root mode with the next mouse click.</li>

<li>There is also a notegroups browser which will replace any painted notes with scales or arpeggios (and update the root). I haven't figured out the best way to present chords yet.</li>

<li>The paint by Interval color mode will continue to paint with this note group.</li>

<li>You can drag the notegroups to the notegroup dashboard. From there you can single click to convert painted notes to the new notegroup. These notegroup "buttons" can be resorted and double-clicked to trash.</li>

<li>There are also Player controls which will cycle through the notes relative to the speed spinner.</li>

<li>The generate link works pretty much the same.</li>
</ul>

<p>My git-hub repository for this verion is <a href="https://github.com/deltadada/Fretboard-Studies">here</a>.</p>
</body>
</html>

0 comments on commit 05fbde6

Please sign in to comment.