RemiFabre commited on
Commit
151f7c6
·
1 Parent(s): b34be12

Updating default index.html

Browse files
Files changed (2) hide show
  1. index.html +18 -26
  2. style.css +10 -0
index.html CHANGED
@@ -13,7 +13,7 @@
13
  <header class="hero">
14
  <p class="eyebrow">Reachy Mini App</p>
15
  <h1>Theremini</h1>
16
- <p class="lede">Head roll drives pitch, head height controls the volume and the right antenna switches instruments. Exactly the same mapping as the original <code>simple_theremini.py</code>, now packaged as an app.</p>
17
  </header>
18
 
19
  <section class="card">
@@ -30,7 +30,7 @@
30
  <tr>
31
  <td>Head roll</td>
32
  <td>-60° ⇢ +60°</td>
33
- <td>MIDI notes 48 (C3) ⇢ 84 (C6)</td>
34
  </tr>
35
  <tr>
36
  <td>Head Z</td>
@@ -38,17 +38,22 @@
38
  <td>Amplitude 0 ⇢ 100 %</td>
39
  </tr>
40
  <tr>
41
- <td>Right antenna</td>
42
  <td>-π/3 ⇢ +π/3 rad</td>
43
  <td>Instrument index 0 ⇢ (#active−1)</td>
44
  </tr>
 
 
 
 
 
45
  </tbody>
46
  </table>
47
  </section>
48
 
49
  <section class="card">
50
  <h2>Instrument Programs</h2>
51
- <p class="caption">Theremini cycles through a curated subset of FluidSynth GM presets. The dashboard lets you swap presets live; these are the defaults.</p>
52
  <ul class="instrument-list">
53
  <li><span class="label">0</span>choir_aahs</li>
54
  <li><span class="label">1</span>orchestra_hit</li>
@@ -60,33 +65,20 @@
60
  </section>
61
 
62
  <section class="card">
63
- <h2>Runtime Defaults</h2>
64
- <dl class="kv">
65
- <div>
66
- <dt>Loop frequency</dt>
67
- <dd>50 Hz (sleep 20 ms)</dd>
68
- </div>
69
- <div>
70
- <dt>Session threads</dt>
71
- <dd>SCAMP Session(max_threads=1024)</dd>
72
- </div>
73
- <div>
74
- <dt>MIDI expression</dt>
75
- <dd>CC 11 scaled 0 ⇢ 127</dd>
76
- </div>
77
- <div>
78
- <dt>Volume clamp</dt>
79
- <dd>Amplitude 0.0 ⇢ 1.0</dd>
80
- </div>
81
- </dl>
82
  </section>
83
 
84
  <section class="card future">
85
  <h2>Next Iterations</h2>
86
  <ul>
87
- <li>Expose the mapping ranges and instrument list as editable controls.</li>
88
- <li>Plot head pose, antenna and amplitude as tiny charts for quick debugging.</li>
89
- <li>Preview GM programs with audio snippets or links.</li>
90
  </ul>
91
  </section>
92
  </main>
 
13
  <header class="hero">
14
  <p class="eyebrow">Reachy Mini App</p>
15
  <h1>Theremini</h1>
16
+ <p class="lede">Head roll shapes the pitch, head height acts as a volume fader, the left antenna scrolls through your curated FluidSynth presets, and a gentle nudge of the rested right antenna can act as a master mute when enabled. The full-screen dashboard at <code>http://localhost:8095/index.html</code> mirrors the HUD, exposes instrument editing, and now includes toggles for roll-stop playing and antenna muting.</p>
17
  </header>
18
 
19
  <section class="card">
 
30
  <tr>
31
  <td>Head roll</td>
32
  <td>-60° ⇢ +60°</td>
33
+ <td>MIDI notes 48 ⇢ 84</td>
34
  </tr>
35
  <tr>
36
  <td>Head Z</td>
 
38
  <td>Amplitude 0 ⇢ 100 %</td>
39
  </tr>
40
  <tr>
41
+ <td>Left antenna</td>
42
  <td>-π/3 ⇢ +π/3 rad</td>
43
  <td>Instrument index 0 ⇢ (#active−1)</td>
44
  </tr>
45
+ <tr>
46
+ <td>Right antenna</td>
47
+ <td>±2° nudge (after being still)</td>
48
+ <td>Toggle master mute (optional)</td>
49
+ </tr>
50
  </tbody>
51
  </table>
52
  </section>
53
 
54
  <section class="card">
55
  <h2>Instrument Programs</h2>
56
+ <p class="caption">Theremini cycles through a curated subset of FluidSynth GM presets. The dashboard lets you search the GM bank and save up to eight presets; these are the defaults shipped on first launch. Changes persist to <code>config.json</code>.</p>
57
  <ul class="instrument-list">
58
  <li><span class="label">0</span>choir_aahs</li>
59
  <li><span class="label">1</span>orchestra_hit</li>
 
65
  </section>
66
 
67
  <section class="card">
68
+ <h2>Dashboard Highlights</h2>
69
+ <ul class="feature-list">
70
+ <li>Live HUD mirrors pitch, amplitude, antenna angle, and clearly indicates when the roll has settled or the master mute is active.</li>
71
+ <li>“Live instrument set” card combines search + drag ordering with toggles for “Play once roll stops” and “Enable antenna mute”.</li>
72
+ <li>The circular dial visual shows the left-antenna angle against the eight-slot preset wheel, so you know exactly which voice Reachy will play.</li>
73
+ </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  </section>
75
 
76
  <section class="card future">
77
  <h2>Next Iterations</h2>
78
  <ul>
79
+ <li>Expose pitch/volume ranges, scales, and chord filters directly in the dashboard.</li>
80
+ <li>Plot head pose, antenna and amplitude as sparkline charts for quick feedback.</li>
81
+ <li>Preview GM programs with audio snippets before adding them to the rotation.</li>
82
  </ul>
83
  </section>
84
  </main>
style.css CHANGED
@@ -157,6 +157,16 @@ body {
157
  margin-top: 0.5rem;
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
160
  code {
161
  background: rgba(15, 23, 42, 0.6);
162
  padding: 0.1rem 0.3rem;
 
157
  margin-top: 0.5rem;
158
  }
159
 
160
+ .feature-list {
161
+ margin: 0;
162
+ padding-left: 1rem;
163
+ color: rgba(226, 232, 240, 0.95);
164
+ }
165
+
166
+ .feature-list li + li {
167
+ margin-top: 0.45rem;
168
+ }
169
+
170
  code {
171
  background: rgba(15, 23, 42, 0.6);
172
  padding: 0.1rem 0.3rem;