Spaces:
Running on Zero
Running on Zero
use verified five-track orchestral example
Browse files- .gitattributes +1 -0
- README.md +1 -1
- app.py +4 -4
- examples/README.md +6 -6
- examples/{bach-brandenburg-no2-ensemble.mp3 → mozart-magic-flute-overture.mp3} +2 -2
.gitattributes
CHANGED
|
@@ -41,3 +41,4 @@ 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
|
| 42 |
examples/bach-brandenburg-no2-ensemble.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 43 |
examples/harry-mitchell-jazz-quartet.mp3 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 41 |
examples/livery-stable-blues-jazz-band.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 42 |
examples/bach-brandenburg-no2-ensemble.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 43 |
examples/harry-mitchell-jazz-quartet.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
examples/mozart-magic-flute-overture.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 real-music examples are included:
|
| 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: Mozart's *Magic Flute* overture with symphony orchestra, a live modern performance by the Harry Mitchell Quartet, and a double-tracked pop-rock guitar performance. Each example uses verified instrument guidance selected from live quality tests. Their 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
|
@@ -604,7 +604,7 @@ EXAMPLES_HEADING = """
|
|
| 604 |
<div>
|
| 605 |
<span class="examples-kicker">Try a session</span>
|
| 606 |
<h2>Start with an example</h2>
|
| 607 |
-
<p>Real performances spanning
|
| 608 |
</div>
|
| 609 |
<span class="examples-hint">One click · 10–14 seconds</span>
|
| 610 |
</div>
|
|
@@ -612,8 +612,8 @@ EXAMPLES_HEADING = """
|
|
| 612 |
|
| 613 |
EXAMPLE_ROWS = [
|
| 614 |
[
|
| 615 |
-
str(EXAMPLE_ROOT / "
|
| 616 |
-
["
|
| 617 |
False,
|
| 618 |
1.0,
|
| 619 |
1,
|
|
@@ -640,7 +640,7 @@ EXAMPLE_ROWS = [
|
|
| 640 |
]
|
| 641 |
|
| 642 |
EXAMPLE_LABELS = [
|
| 643 |
-
"
|
| 644 |
"Harry Mitchell Quartet · live jazz · 14s",
|
| 645 |
"Layered Pop-Rock · real guitars & bass · 10s",
|
| 646 |
]
|
|
|
|
| 604 |
<div>
|
| 605 |
<span class="examples-kicker">Try a session</span>
|
| 606 |
<h2>Start with an example</h2>
|
| 607 |
+
<p>Real performances spanning symphony orchestra, modern jazz and layered pop-rock.</p>
|
| 608 |
</div>
|
| 609 |
<span class="examples-hint">One click · 10–14 seconds</span>
|
| 610 |
</div>
|
|
|
|
| 612 |
|
| 613 |
EXAMPLE_ROWS = [
|
| 614 |
[
|
| 615 |
+
str(EXAMPLE_ROOT / "mozart-magic-flute-overture.mp3"),
|
| 616 |
+
["string_ensemble", "flutes", "oboe", "clarinet", "bassoon"],
|
| 617 |
False,
|
| 618 |
1.0,
|
| 619 |
1,
|
|
|
|
| 640 |
]
|
| 641 |
|
| 642 |
EXAMPLE_LABELS = [
|
| 643 |
+
"Mozart — Magic Flute Overture · orchestra · 12s",
|
| 644 |
"Harry Mitchell Quartet · live jazz · 14s",
|
| 645 |
"Layered Pop-Rock · real guitars & bass · 10s",
|
| 646 |
]
|
examples/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
| 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, loudness-normalized where needed, and transcoded to compact 44.1 kHz MP3 files for this Space.
|
| 4 |
|
| 5 |
-
##
|
| 6 |
|
| 7 |
-
- File: `
|
| 8 |
-
- Recording:
|
| 9 |
-
- Source: [
|
| 10 |
-
- Rights: [
|
| 11 |
-
- Modification: excerpt `
|
| 12 |
|
| 13 |
## Harry Mitchell Quartet
|
| 14 |
|
|
|
|
| 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, loudness-normalized where needed, and transcoded to compact 44.1 kHz MP3 files for this Space.
|
| 4 |
|
| 5 |
+
## Mozart — The Magic Flute Overture
|
| 6 |
|
| 7 |
+
- File: `mozart-magic-flute-overture.mp3`
|
| 8 |
+
- Recording: W. A. Mozart, overture to *The Magic Flute*, performed by the Musopen Symphony Orchestra. The selected fast passage has clearly separated ensemble strings and paired woodwinds.
|
| 9 |
+
- Source: [Mozart — Magic Flute Overture — Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Mozart_-_Magic_Flute_Overture.ogg)
|
| 10 |
+
- Rights: [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/).
|
| 11 |
+
- Modification: excerpt `01:35–01:47`, shortened to 12 seconds, loudness-normalized, faded at the cut boundaries, and transcoded to MP3.
|
| 12 |
|
| 13 |
## Harry Mitchell Quartet
|
| 14 |
|
examples/{bach-brandenburg-no2-ensemble.mp3 → mozart-magic-flute-overture.mp3}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48ab439d426de06556d70a0423428ee1ccf15250a46e36635c26cc91c3513c24
|
| 3 |
+
size 169004
|