-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
101 lines (89 loc) · 3.62 KB
/
index.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE HTML>
<html>
<head>
<title>eGuitar</title>
<link rel="shortcut icon" type="image/png" href="logo.png">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="
La page eGuitar aide à visualiser les gammes, les arpèges et les intervalles sur le manche d'une guitare.
Elle aide aussi à trouver les accords présents dedans.
Choix possible gaucher, accordage de la guitare, frequence du La...">
<meta name="author" content="Raphaël Pellicier | Web developer">
<meta name="keywords" content="Guitare Gamme Arpège Intervalle Accord Gaucher Accordage Tonique Notes LA3 Octave Bémol">
<link rel="stylesheet" type="text/css" href="css/app.css">
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<!--[if IE]>
<p>Désolé, je ne travaille plus avec Internet Explorer...</p>
<p>Sorry, I'm not working with Internet Explorer anymore...</p>
<![endif]-->
<div id="eHead"><img src="logo.png"><h1>eGuitar </h1></div>
<div id="eLang"></div>
<h2 id="eTitle">...</h2>
<!--
<ul>
<li><a href="https://github.com/raphpell/eGuitar/">eGuitar sur Github</a></li>
</ul>
ToDo List v2.2 ?
( - Vrai sons de guitare... )
( - Accordeur... )
- Ajouter des accords...
-->
<div id="eTarget1"></div>
<div id="eTarget2"></div>
<div id="eTarget3"></div>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/L10n.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" src="js/data.js"></script>
<script type="text/javascript" src="js/tSorter.js"></script>
<script type="text/javascript" src="js/audio.js"></script>
<script>
eHead.firstChild.onclick = function(){
if( confirm( L10n('DELETE_PREF'))){
Memoire.clear()
document.location.reload()
}
}
L10n.createMenu( eLang )
Config.defaultValue.title.addSubscriber( 'eTitle innerHTML', a => eTitle.innerHTML=a )
var oManche = new Manche ( eTarget1 )
var oCB = new ChordsBox ( eTarget2, oManche )
var oHistory = new ScaleHistory ( eTarget2 )
var oIB = new IntervalBox ( eTarget3 )
var oHF = new Harmonie.Form ( eTarget3 )
</script>
<div class="layout">
<input name="nav" type="radio" id="tab1" checked><div class="page" id="eChords"></div><label class="nav" for="tab1"></label>
<input name="nav" type="radio" id="tab2"><div class="page" id="eArpeggios"></div><label class="nav" for="tab2"></label>
<input name="nav" type="radio" id="tab3"><div class="page" id="eScalesM"></div><label class="nav" for="tab3"></label>
<input name="nav" type="radio" id="tab4"><div class="page" id="eScales"></div><label class="nav" for="tab4"></label>
<input name="nav" type="radio" id="tab5"><div class="page" id="eTunings"></div><label class="nav" for="tab5"></label>
</div>
<a href="#" class="top">▲</a>
<footer><a href="https://github.com/raphpell/eGuitar" target="_blank">Github</a> - <span id="eDateM">Dernière modification le</span> 27/02/2024.</footer>
<script>
let f = function( e, sL10n, s ){
e.nextSibling.innerHTML = L10n(sL10n) + (s?"<span>"+s+"</span>":'')
e.previousSibling.onclick = function(){ Memoire.set( 'tab', this.id )}
return f
}
f
( eChords, 'ACCORDS', '≤' )
( eScalesM, 'GAMMES', '≤' )
( eArpeggios, 'ARPEGES', '≥' )
( eScales, 'GAMMES', '≥' )
( eTunings, 'ACCORDAGES' )
let sId = Memoire.get( 'tab')
if( sId ) window[ sId ].checked = true
;new Harmonie.Table ( eChords, Arpeggios )
;new Harmonie.Mask ( eArpeggios, Arpeggios )
;new Harmonie.Table ( eScalesM, Scales )
;new Harmonie.Mask ( eScales, Scales )
;new TuningsList ( eTunings )
eDateM.innerHTML = L10n('DATEM')
</script>
</body>
</html>