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

change "Soprano" to "Standard" tuning throughout the scriptosaurus #7

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/js/editor/ugsEditorPlus.actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,11 @@ ugsEditorPlus.actions = (function() {
*/
var doTuning = function(value){
var tuning = ukeGeeks.definitions.instrument.sopranoUke,
msg = 'Standard <strong>GCEA</strong> Soprano Ukulele';
msg = '<strong>GCEA</strong> Standard Ukulele';

if (value == 'baritone') {
tuning = ukeGeeks.definitions.instrument.baritoneUke;
msg = 'Standard <strong>DGBE</strong> Baritone Ukulele';
msg = '<strong>DGBE</strong> Baritone Ukulele';
}

$('#footTuningInfo').html(msg);
Expand Down Expand Up @@ -497,4 +497,4 @@ ugsEditorPlus.actions = (function() {
// ---------------------------------------
return _public;

}());
}());
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>