Skip to content

Commit

Permalink
Merge pull request #1 from louis-coding/patch-1
Browse files Browse the repository at this point in the history
Patch 1
  • Loading branch information
louis-coding committed Mar 12, 2015
2 parents d49cf96 + bb6c648 commit 1758ba0
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/js/editor/ugsEditorPlus.submenuUi.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ ugsEditorPlus.submenuUi = (function(){
'zoomDiagrams' : ['Tiny', 'Small', 'Medium', 'Large', 'Stupid Large'],
'layout' : ['Reference diagrams on left', 'Reference diagrams at top', 'No reference diagrams'],
'placement' : ['Chord names inline with lyrics', 'Chord names above lyrics', 'Names & diagrams above lyrics'],
'tuning' : ['Soprano (GCEA) tuning', 'Baritone (DBEA) tuning']
'tuning' : ['Standard (GCEA) tuning', 'Baritone (DGBE) tuning']
};

/**
Expand Down Expand Up @@ -247,4 +247,4 @@ ugsEditorPlus.submenuUi = (function(){
// ---------------------------------------
return _public;

}());
}());
6 changes: 3 additions & 3 deletions src/js/scriptasaurus/ukeGeeks.definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ ukeGeeks.definitions = (function() {
* @type JSON
*/
_public.instrument = {
sopranoUke: 0, // GCEA
baritoneUke: 5 // DGBA -- Baritone's "A" fingering is the Soprano's "D"
sopranoUke: 0, // GCEA -- standard tuning G4 (or G3)-C4-E4-A4
baritoneUke: 5 // DGBE -- 5 steps lower than standard Soprano tuning: D3-G3-B3-E4
};

/* PUBLIC METHODS
Expand Down Expand Up @@ -192,4 +192,4 @@ ukeGeeks.definitions = (function() {
};

return _public;
}());
}());
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ukeGeeks.definitions.sopranoUkuleleGcea = [
// Required: Instruement Name and Tuning (string names)
// -------------------------------------------------------
'{instrument: Soprano Ukulele}',
'{instrument: Standard Ukulele}',
'{tuning: G C E A}',
// Ab returns G#
// A
Expand Down Expand Up @@ -210,4 +210,4 @@ ukeGeeks.definitions.sopranoUkuleleGcea = [
'{define: G/F# frets 0 2 2 2}',
'{define: G/F frets 0 2 1 2}',
'{define: G7/B frets 0 2 1 2}'
];
];
3 changes: 2 additions & 1 deletion ugsphp/settings.json_example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
// Remove the double-slashes (the "//" are JavaScript line comment markers) preceeding any option you wish to change
// Make sure you don't have a trailing comma after the last enabled option

/* If true the Edit Song box is shown when the page loads; false hides it.
* Allowed values: true, false
Expand Down Expand Up @@ -61,4 +62,4 @@
* Allowed values (string or array of strings): as an array of strings: ["A", "G"] or comma delimited list: "A, G"
*/
// "commonChords": ["A", "B", "C", "D", "E", "F", "G", "Am"]
}
}
8 changes: 4 additions & 4 deletions ugsphp/views/song-editable.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function GetDisplayStyle($value){
</article>
</article>
<footer>
<p>Note: <span id="footTuningInfo">Standard <strong>GCEA</strong> Soprano Ukulele</span> Tuning. <small>Powered by <a href="http://ukegeeks.com/" title="Uke Geeks for free ukulele JavaScript tools">UkeGeeks' Scriptasaurus</a> &bull; ukegeeks.com</small></p>
<p>Note: <span id="footTuningInfo"><strong>GCEA</strong> Standard Ukulele</span> Tuning. <small>Powered by <a href="http://ukegeeks.com/" title="Uke Geeks for free ukulele JavaScript tools">UkeGeeks' Scriptasaurus</a> &bull; ukegeeks.com</small></p>
</footer>
</section>
<!-- EDIT SONG (DIALOG) -->
Expand Down Expand Up @@ -159,10 +159,10 @@ function GetDisplayStyle($value){
<li><a href="#up_6">+6 <em>F#</em></a></li>
</ul>
</dd>
<dt><label for="tuningPicker"><span>Soprano ukulele tuning</span> <em>&#9658;</em></label></dt>
<dt><label for="tuningPicker"><span>Standard ukulele tuning</span> <em>&#9658;</em></label></dt>
<dd id="tuningPicker" data-action="tuning">
<ul class="pseudoSelect">
<li class="checked"><a href="#soprano">Soprano</a></li>
<li class="checked"><a href="#soprano">Standard</a></li>
<li><a href="#baritone">Baritone</a></li>
</ul>
</dd>
Expand Down Expand Up @@ -311,4 +311,4 @@ function GetDisplayStyle($value){
});
</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions ugsphp/views/song.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
</div>
</section>
<footer>
<p>Note: Standard <strong>GCEA</strong> Soprano Ukulele Tuning. <small>Powered by UkeGeeks' Scriptasaurus &bull; ukegeeks.com</small></p>
<p>Note: <strong>GCEA</strong> Standard Ukulele Tuning. <small>Powered by UkeGeeks' Scriptasaurus &bull; ukegeeks.com</small></p>
</footer>
<script type="text/javascript" src="<?php echo($model->StaticsPrefix); ?>/js/ukeGeeks.scriptasaurus.min.js"></script>
<script type="text/javascript" src="<?php echo($model->StaticsPrefix); ?>/js/startup.js"></script>
</body>
</html>
</html>

0 comments on commit 1758ba0

Please sign in to comment.