Skip to content

Commit b7085d8

Browse files
committed
docs: Update multi-track examples with diverse cello, correct constraints, and model_dim=8
1 parent 1c2d7df commit b7085d8

31 files changed

Lines changed: 1461 additions & 0 deletions

docs/assets/extra.css

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,100 @@
120120
background-color: #0a0c12;
121121
border-top: 1px solid rgba(255, 255, 255, 0.06);
122122
}
123+
124+
/* ── MIDI Player & Visualizer (Slate/Red Theme) ─────────────── */
125+
midi-player {
126+
display: block;
127+
width: 100%;
128+
background: #161b25;
129+
color: #e2e8f0;
130+
border: 1px solid rgba(255, 255, 255, 0.08);
131+
border-radius: 8px;
132+
margin: 1rem 0 0.5rem 0;
133+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
134+
}
135+
136+
midi-player::part(control-panel) {
137+
background: #161b25;
138+
color: #e2e8f0;
139+
border: none;
140+
border-radius: 8px;
141+
padding: 8px 16px;
142+
}
143+
144+
midi-player::part(play-button) {
145+
color: #eb1c3b;
146+
background: rgba(235, 28, 59, 0.1);
147+
border-radius: 50%;
148+
padding: 4px;
149+
}
150+
151+
midi-player::part(play-button):hover {
152+
background: rgba(235, 28, 59, 0.2);
153+
}
154+
155+
midi-player::part(time-text) {
156+
font-family: 'JetBrains Mono', monospace;
157+
font-size: 0.85rem;
158+
color: #94a3b8;
159+
}
160+
161+
midi-visualizer {
162+
display: block;
163+
width: 100%;
164+
height: 150px;
165+
background: #0a0c12;
166+
border: 1px solid rgba(255, 255, 255, 0.08);
167+
border-radius: 8px;
168+
margin-bottom: 1.5rem;
169+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
170+
overflow: hidden;
171+
}
172+
173+
/* Customizing the visualizer canvas internally (piano-roll notes color) */
174+
midi-visualizer piano-roll-visualizer {
175+
--piano-roll-background: #0a0c12;
176+
--piano-roll-grid-color: rgba(255, 255, 255, 0.03);
177+
--piano-roll-note-color: #eb1c3b;
178+
--piano-roll-note-active-color: #ef4d63;
179+
}
180+
181+
.midi-example-card {
182+
background: #161b25;
183+
border: 1px solid rgba(255, 255, 255, 0.06);
184+
border-radius: 8px;
185+
padding: 1.2rem;
186+
margin: 1.5rem 0;
187+
}
188+
189+
.midi-example-video {
190+
display: block;
191+
width: 100%;
192+
aspect-ratio: 16 / 9;
193+
background: #0a0c12;
194+
border: 1px solid rgba(255, 255, 255, 0.08);
195+
border-radius: 6px;
196+
margin: 0.8rem 0 0.7rem;
197+
}
198+
199+
.midi-download-btn {
200+
display: inline-flex;
201+
align-items: center;
202+
gap: 0.5rem;
203+
background-color: rgba(255, 255, 255, 0.06);
204+
color: #e2e8f0;
205+
padding: 0.4rem 0.8rem;
206+
border-radius: 4px;
207+
font-size: 0.8rem;
208+
font-weight: 500;
209+
text-decoration: none !important;
210+
transition: background-color 0.2s, color 0.2s;
211+
border: 1px solid rgba(255, 255, 255, 0.1);
212+
margin-top: 0.5rem;
213+
}
214+
215+
.midi-download-btn:hover {
216+
background-color: var(--md-primary-fg-color);
217+
color: #ffffff;
218+
border-color: var(--md-primary-fg-color);
219+
}

docs/assets/midi/ar_chordal.mid

1.36 KB
Binary file not shown.

docs/assets/midi/ar_monophonic.mid

1.34 KB
Binary file not shown.

docs/assets/midi/harp_chordal.mid

1.62 KB
Binary file not shown.
1.61 KB
Binary file not shown.
1.2 KB
Binary file not shown.

docs/assets/midi/infill_sparse.mid

1.06 KB
Binary file not shown.

docs/assets/midi/prompt_ar.mid

964 Bytes
Binary file not shown.

docs/assets/midi/prompt_bach.mid

1.6 KB
Binary file not shown.

docs/assets/midi/prompt_harp.mid

950 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)