Mike0021 commited on
Commit
c201838
·
verified ·
1 Parent(s): 010a4f9

Replace synthetic examples with real performances

Browse files
.gitattributes CHANGED
@@ -36,3 +36,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
36
  examples/clockwork-waltz.mp3 filter=lfs diff=lfs merge=lfs -text
37
  examples/glass-arpeggio.mp3 filter=lfs diff=lfs merge=lfs -text
38
  examples/neon-groove.mp3 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
36
  examples/clockwork-waltz.mp3 filter=lfs diff=lfs merge=lfs -text
37
  examples/glass-arpeggio.mp3 filter=lfs diff=lfs merge=lfs -text
38
  examples/neon-groove.mp3 filter=lfs diff=lfs merge=lfs -text
39
+ examples/bach-air-violin-piano.mp3 filter=lfs diff=lfs merge=lfs -text
40
+ examples/double-tracked-pop-rock.mp3 filter=lfs diff=lfs merge=lfs -text
41
+ examples/livery-stable-blues-jazz-band.mp3 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -16,7 +16,7 @@ A custom ZeroGPU interface for [MuScriptor](https://github.com/muscriptor/muscri
16
 
17
  The app runs the 307M-parameter medium checkpoint, streams transcription progress after each 5-second audio window, renders an interactive color-coded piano roll, and exports both the full arrangement and isolated instrument MIDI files.
18
 
19
- Three one-click example sessions are included: a synth-funk groove, a drumless glass arpeggio, and a clockwork 3/4 waltz. They are original procedural recordings made entirely from generated oscillators and seeded noise, with no third-party samples. Example results are cached lazily after first use so startup never consumes ZeroGPU quota.
20
 
21
  The checkpoint is gated under CC BY-NC 4.0. This Space requires an `HF_TOKEN` secret whose owner has accepted access to [`MuScriptor/muscriptor-medium`](https://huggingface.co/MuScriptor/muscriptor-medium).
22
 
 
16
 
17
  The app runs the 307M-parameter medium checkpoint, streams transcription progress after each 5-second audio window, renders an interactive color-coded piano roll, and exports both the full arrangement and isolated instrument MIDI files.
18
 
19
+ Three one-click real-music examples are included: a 1920 violin-and-piano performance of Bach's *Air*, the Original Dixieland Jass Band's 1917 *Livery Stable Blues*, and a modern double-tracked pop-rock guitar performance. Their public-domain and Creative Commons provenance is documented in [`examples/README.md`](examples/README.md). Example results are cached lazily after first use so startup never consumes ZeroGPU quota.
20
 
21
  The checkpoint is gated under CC BY-NC 4.0. This Space requires an `HF_TOKEN` secret whose owner has accepted access to [`MuScriptor/muscriptor-medium`](https://huggingface.co/MuScriptor/muscriptor-medium).
22
 
app.py CHANGED
@@ -586,37 +586,37 @@ EXAMPLES_HEADING = """
586
  <div>
587
  <span class="examples-kicker">Try a session</span>
588
  <h2>Start with an example</h2>
589
- <p>Original procedural clips with different rhythms, textures and instrument roles.</p>
590
  </div>
591
- <span class="examples-hint">One click · 9–12 seconds</span>
592
  </div>
593
  """
594
 
595
  EXAMPLE_ROWS = [
596
  [
597
- str(EXAMPLE_ROOT / "neon-groove.mp3"),
598
- ["electric_bass", "synth_lead", "drums"],
599
  False,
600
  1.0,
601
  ],
602
  [
603
- str(EXAMPLE_ROOT / "glass-arpeggio.mp3"),
604
- ["electric_piano", "synth_pad", "electric_bass"],
605
  False,
606
  1.0,
607
  ],
608
  [
609
- str(EXAMPLE_ROOT / "clockwork-waltz.mp3"),
610
- ["chromatic_percussion", "acoustic_bass", "drums"],
611
  False,
612
  1.0,
613
  ],
614
  ]
615
 
616
  EXAMPLE_LABELS = [
617
- "Neon Groove · synth-funk, bass & drums · 12s",
618
- "Glass Arpeggio · keys, pad & sub-bass · 10s",
619
- "Clockwork Waltz · bells, bass & 3/4 drums · 9s",
620
  ]
621
 
622
  FOOTNOTE = """
 
586
  <div>
587
  <span class="examples-kicker">Try a session</span>
588
  <h2>Start with an example</h2>
589
+ <p>Real performances spanning classical, early jazz and layered pop-rock.</p>
590
  </div>
591
+ <span class="examples-hint">One click · 10–12 seconds</span>
592
  </div>
593
  """
594
 
595
  EXAMPLE_ROWS = [
596
  [
597
+ str(EXAMPLE_ROOT / "bach-air-violin-piano.mp3"),
598
+ ["violin", "acoustic_piano"],
599
  False,
600
  1.0,
601
  ],
602
  [
603
+ str(EXAMPLE_ROOT / "livery-stable-blues-jazz-band.mp3"),
604
+ ["trumpet", "clarinet", "trombone", "drums"],
605
  False,
606
  1.0,
607
  ],
608
  [
609
+ str(EXAMPLE_ROOT / "double-tracked-pop-rock.mp3"),
610
+ [],
611
  False,
612
  1.0,
613
  ],
614
  ]
615
 
616
  EXAMPLE_LABELS = [
617
+ "Bach Air · 1920 violin & piano · 12s",
618
+ "Livery Stable Blues · 1917 jazz band · 12s",
619
+ "Layered Pop-Rock · real guitars & bass · 10s",
620
  ]
621
 
622
  FOOTNOTE = """
examples/README.md CHANGED
@@ -1,9 +1,27 @@
1
- # Example audio
2
 
3
- These three short clips are original procedural recordings created for MuScriptor Studio. They use only synthesized oscillators and deterministically seeded noise; no third-party samples or compositions are present. They may be reused royalty-free.
4
 
5
- - `neon-groove.mp3`12 seconds of synth-funk lead, root-motion bass, kick, snare, and hi-hat.
6
- - `glass-arpeggio.mp3` — 10 seconds of drumless four-chord arpeggio, sustained pad, and sub-bass.
7
- - `clockwork-waltz.mp3` — 9 seconds of 3/4 bell melody, walking bass, kick, rim, and hi-hat.
8
 
9
- All files are stereo 44.1 kHz MP3 audio encoded at approximately 96 kbps.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Real-music example audio
2
 
3
+ These examples are excerpts from genuine performances hosted by Wikimedia Commons. Each source, recording license, excerpt range, and modification is documented below. The clips were shortened, given brief edge fades, and transcoded to stereo 44.1 kHz MP3 at 112 kbps for this Space.
4
 
5
+ ## BachAir on the G String
 
 
6
 
7
+ - File: `bach-air-violin-piano.mp3`
8
+ - Recording: J. S. Bach, *Air on the G String* (BWV 1068), recorded in 1920; Joel Belov, violin, with Robert Gayler, piano.
9
+ - Source: [Air (Bach).ogg — Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Air_(Bach).ogg)
10
+ - Rights: [Public Domain Mark 1.0](https://creativecommons.org/publicdomain/mark/1.0/); Commons identifies the recording as free of known copyright restrictions, including related and neighboring rights.
11
+ - Modification: excerpt `03:16–03:28`, shortened to 12 seconds, faded at the cut boundaries, and transcoded to MP3.
12
+
13
+ ## Livery Stable Blues
14
+
15
+ - File: `livery-stable-blues-jazz-band.mp3`
16
+ - Recording: *Livery Stable Blues* by the Original Dixieland Jass Band, recorded 26 February 1917; cornet, clarinet, trombone, piano, and traps.
17
+ - Source: [1917 alternate edit — Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Original_Dixieland_Jass_Band_-_Livery_Stable_Blues_(1917)_alternate_edit.ogg)
18
+ - Rights: public-domain composition and U.S. public-domain sound recording under 17 U.S.C. § 1401 because it was published before 1926. Adam Cuerden also released the restoration edits into the public domain. The Commons page notes that public-domain status may differ outside the United States.
19
+ - Modification: excerpt `00:28–00:40`, shortened to 12 seconds, faded at the cut boundaries, and transcoded to MP3.
20
+
21
+ ## Layered Pop-Rock
22
+
23
+ - File: `double-tracked-pop-rock.mp3`
24
+ - Recording: *Example of double tracking in a pop-rock song (3 guitar tracks)* by Wikimedia Commons user Skimel; real Yamaha Pacifica electric guitar and Marcus Miller Sire electric-bass performances through amp simulations, with Addictive Drums.
25
+ - Source: [original recording — Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Example_of_double_tracking_in_a_pop-rock_song_(3_guitar_tracks).ogg)
26
+ - Rights: [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). The excerpt remains available under CC BY-SA 4.0.
27
+ - Modification: excerpt `00:08–00:18`, shortened to 10 seconds, faded at the cut boundaries, and transcoded to MP3.
examples/{clockwork-waltz.mp3 → bach-air-violin-piano.mp3} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:92a241512dea927b85f8cd4c090b4437c1f0f0932a793a799b5d44a4e769f1ec
3
- size 108818
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7f34cae592a9532bbd747ba96ac4a10082095139bffbb622ce0d0759d91e4c0
3
+ size 169004
examples/{glass-arpeggio.mp3 → double-tracked-pop-rock.mp3} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2b7b88a3cfa83fd7e7495f5f1612f5bf44efa2573726d0cb798070d34d70f77
3
- size 120730
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0951fed4b259868621e794d68766335aad9db84186cab3cffab47371dbcaf91a
3
+ size 140844
examples/{neon-groove.mp3 → livery-stable-blues-jazz-band.mp3} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae0da40b49b9ebafad5ecd356545fa4a40139019d14f88a2b0002b08827316b1
3
- size 144867
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b247235d48ac85e87ee77dd85947151dde31ef8db16ed92b4ae59771d35c9bfa
3
+ size 169004