Skip to content

Commit f43cd97

Browse files
authored
Release 1.6.0 (#2162)
2 parents a7cda51 + fe36f60 commit f43cd97

File tree

161 files changed

+10278
-2250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+10278
-2250
lines changed

biome.jsonc

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
22
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
33
"files": {
4-
"include": ["src/**", "test/**", "src.compiler/**"],
5-
"ignore": ["dist", ".rollup.cache", "node_modules", "test-data", "src/generated/**"]
4+
"ignore": [
5+
"dist",
6+
".rollup.cache",
7+
"node_modules",
8+
"test-data",
9+
"src/generated/**"
10+
]
611
},
712
"formatter": {
13+
"include": [
14+
"src/**",
15+
"test/**",
16+
"src.compiler/**",
17+
"playground/**",
18+
"playground-template/**"
19+
],
820
"enabled": true,
921
"formatWithErrors": true,
1022
"ignore": [],
@@ -15,6 +27,12 @@
1527
"lineEnding": "lf"
1628
},
1729
"linter": {
30+
"include": [
31+
"src/**",
32+
"test/**",
33+
"src.compiler/**",
34+
"playground-template/**"
35+
],
1836
"enabled": true,
1937
"rules": {
2038
"style": {
@@ -62,4 +80,4 @@
6280
"trailingCommas": "none"
6381
}
6482
}
65-
}
83+
}

package-lock.json

Lines changed: 335 additions & 460 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
22
"name": "@coderline/alphatab",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"description": "alphaTab is a music notation and guitar tablature rendering library",
5-
"keywords": ["guitar", "music-notation", "music-sheet", "html5", "svg", "guitar-tablature"],
5+
"keywords": [
6+
"guitar",
7+
"music-notation",
8+
"music-sheet",
9+
"html5",
10+
"svg",
11+
"guitar-tablature"
12+
],
613
"homepage": "https://alphatab.net",
714
"bugs": {
815
"url": "https://github.com/coderline/alphaTab/issues"
@@ -66,8 +73,8 @@
6673
"devDependencies": {
6774
"@biomejs/biome": "^1.9.4",
6875
"@coderline/alphaskia": "^3.3.135",
69-
"@coderline/alphaskia-windows": "^3.3.135",
7076
"@coderline/alphaskia-linux": "^3.3.135",
77+
"@coderline/alphaskia-windows": "^3.3.135",
7178
"@fontsource/noto-sans": "^5.1.1",
7279
"@fontsource/noto-serif": "^5.1.1",
7380
"@fortawesome/fontawesome-free": "^6.7.2",
@@ -78,6 +85,7 @@
7885
"@rollup/plugin-replace": "^6.0.2",
7986
"@rollup/plugin-terser": "^0.4.4",
8087
"@rollup/plugin-typescript": "^12.1.2",
88+
"@types/bootstrap": "^5.2.10",
8189
"@types/chai": "^5.0.1",
8290
"@types/cors": "^2.8.17",
8391
"@types/express": "^5.0.0",
@@ -100,7 +108,7 @@
100108
"html-webpack-plugin": "^5.6.3",
101109
"jest-snapshot": "^29.7.0",
102110
"mocha": "^11.1.0",
103-
"multer": "^1.4.5-lts.1",
111+
"multer": "^2.0.0",
104112
"opener": "^1.5.2",
105113
"rimraf": "^6.0.1",
106114
"rollup-plugin-copy": "^3.5.0",

playground-template/alphatex-editor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</div>
4040
</div>
4141
<script type="module">
42-
import { setupControl } from './control.mjs';
42+
import { setupControl } from './control.ts';
4343

4444
function trimCode(code) {
4545
return code
Lines changed: 29 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
<div class="at-menu">
22
<div class="btn-group">
3-
<button
4-
type="button"
5-
class="btn btn-secondary dropdown-toggle"
6-
data-bs-toggle="dropdown"
7-
aria-expanded="false"
8-
>
3+
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
94
<i class="fas fa-bars fa-2x"></i>
105
</button>
116
<ul class="dropdown-menu">
127
<li><a class="dropdown-item" href="./control.html">Control</a></li>
138
<li><a class="dropdown-item" href="./alphatex-editor.html">AlphaTex Editor</a></li>
149
<li><a class="dropdown-item" href="../test-data/test-results.html">Visual Test Results</a></li>
15-
10+
1611
</ul>
1712
</div>
1813
</div>
@@ -33,6 +28,9 @@
3328
</div>
3429
</div>
3530
<div class="at-footer">
31+
<div class="at-waveform d-none">
32+
<div class="at-waveform-cursor"></div>
33+
</div>
3634
<div class="at-time-slider">
3735
<div class="at-time-slider-value"></div>
3836
</div>
@@ -42,24 +40,14 @@
4240
<i class="fas fa-step-backward"></i>
4341
</a>
4442

45-
<a
46-
href="#"
47-
class="at-play-pause disabled"
48-
data-bs-toggle="tooltip"
49-
data-bs-placement="top"
50-
title="Play/Pause"
51-
>
43+
<a href="#" class="at-play-pause disabled" data-bs-toggle="tooltip" data-bs-placement="top"
44+
title="Play/Pause">
5245
<i class="fas fa-play"></i>
5346
</a>
5447

5548
<div class="btn-group dropup">
56-
<button
57-
type="button"
58-
class="btn dropdown-toggle"
59-
data-bs-toggle="dropdown"
60-
aria-haspopup="true"
61-
aria-expanded="false"
62-
>
49+
<button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true"
50+
aria-expanded="false">
6351
<i class="fas fa-search"></i>
6452
<span class="at-speed-label">1x</span>
6553
</button>
@@ -84,55 +72,34 @@
8472
<span class="progress-bar"></span>
8573
</span>
8674
<div
87-
class="progress-value w-100 h-100 rounded-circle d-flex align-items-center justify-content-center font-weight-bold"
88-
>
75+
class="progress-value w-100 h-100 rounded-circle d-flex align-items-center justify-content-center font-weight-bold">
8976
<span class="progress-value-number">0</span><sup class="small">%</sup>
9077
</div>
9178
</div>
9279
<div class="at-song-details">
9380
<span class="at-song-title"></span> -
9481
<span class="at-song-artist"></span>
9582
</div>
96-
<div
97-
class="at-time-position"
98-
data-bs-toggle="tooltip"
99-
data-bs-placement="top"
100-
title="Time Position"
101-
></div>
83+
<div class="at-time-position" data-bs-toggle="tooltip" data-bs-placement="top" title="Time Position">
84+
</div>
10285
</div>
10386

10487
<div class="at-player-right">
10588
<div class="btn-group dropup at-output-device">
106-
<button
107-
type="button"
108-
class="btn dropdown-toggle"
109-
data-bs-toggle="dropdown"
110-
aria-haspopup="true"
111-
aria-expanded="false"
112-
title="Output Device: Default"
113-
>
114-
<i class="fas fa-headphones"></i>
89+
<button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true"
90+
aria-expanded="false" title="Output Device: Default">
91+
<i class="fas fa-headphones"></i>
11592
</button>
11693
<div class="dropdown-menu dropdown-menu-right">
11794
<a class="dropdown-item" href="#">Default</a>
11895
</div>
11996
</div>
120-
<a
121-
href="#"
122-
class="at-count-in disabled"
123-
data-bs-toggle="tooltip"
124-
data-bs-placement="top"
125-
title="Count-In"
126-
>
97+
<a href="#" class="at-count-in disabled" data-bs-toggle="tooltip" data-bs-placement="top"
98+
title="Count-In">
12799
<i class="fas fa-hourglass-half"></i>
128100
</a>
129-
<a
130-
href="#"
131-
class="at-metronome disabled"
132-
data-bs-toggle="tooltip"
133-
data-bs-placement="top"
134-
title="Metronome"
135-
>
101+
<a href="#" class="at-metronome disabled" data-bs-toggle="tooltip" data-bs-placement="top"
102+
title="Metronome">
136103
<i class="fas fa-edit"></i>
137104
</a>
138105
<a href="#" class="at-loop disabled" data-bs-toggle="tooltip" data-bs-placement="top" title="Loop">
@@ -141,18 +108,17 @@
141108
<a href="#" class="at-print" data-bs-toggle="tooltip" data-bs-placement="top" title="Print">
142109
<i class="fas fa-print"></i>
143110
</a>
144-
<a href="#" class="at-download" data-bs-toggle="tooltip" data-bs-placement="top" title="Download">
111+
<a href="#" class="at-download" data-bs-toggle="tooltip" data-bs-placement="top" title="Download GP">
145112
<i class="fas fa-download"></i>
146113
</a>
114+
<a href="#" class="at-download-audio" data-bs-toggle="tooltip" data-bs-placement="top"
115+
title="Download Audio Data">
116+
<i class="fas fa-file-audio"></i>
117+
</a>
147118

148119
<div class="btn-group dropup">
149-
<button
150-
type="button"
151-
class="btn dropdown-toggle"
152-
data-bs-toggle="dropdown"
153-
aria-haspopup="true"
154-
aria-expanded="false"
155-
>
120+
<button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true"
121+
aria-expanded="false">
156122
<i class="fas fa-search"></i>
157123
<span class="at-zoom-label">100%</span>
158124
</button>
@@ -170,13 +136,8 @@
170136
</div>
171137

172138
<div class="btn-group dropup">
173-
<button
174-
type="button"
175-
class="btn dropdown-toggle at-layout-button"
176-
data-bs-toggle="dropdown"
177-
aria-haspopup="true"
178-
aria-expanded="false"
179-
>
139+
<button type="button" class="btn dropdown-toggle at-layout-button" data-bs-toggle="dropdown"
140+
aria-haspopup="true" aria-expanded="false">
180141
Layout
181142
</button>
182143
<div class="dropdown-menu dropdown-menu-right at-layout-options">
@@ -209,4 +170,4 @@
209170
<input type="range" min="0" max="16" value="8" class="at-track-volume" />
210171
</div>
211172
</div>
212-
</template>
173+
</template>

playground-template/control.css

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,14 @@ input[type='range']::-moz-range-thumb {
338338
background: #d9d9d9;
339339
}
340340

341+
.at-time-slider:hover {
342+
transition: all 0.1s ease;
343+
height: 15px;
344+
cursor: pointer;
345+
}
346+
341347
.at-time-slider-value {
342-
height: 4px;
348+
height: 100%;
343349
background: #4972a1;
344350
width: 0;
345351
}
@@ -456,4 +462,25 @@ input[type='range']::-moz-range-thumb {
456462

457463
.at-menu .dropdown-toggle::after {
458464
display: none;
459-
}
465+
}
466+
467+
.at-waveform {
468+
position: relative;
469+
background: #f7f7f7;
470+
border-top: 1px solid rgba(0, 0, 0, 0.12);
471+
cursor: pointer;
472+
}
473+
474+
.at-waveform > canvas {
475+
width: 100%;
476+
opacity: 0.5;
477+
}
478+
479+
.at-waveform-cursor {
480+
position: absolute;
481+
top: 0;
482+
left: 0;
483+
bottom: 0;
484+
width: 1px;
485+
background: rgba(64, 64, 255, 0.75);
486+
}

playground-template/control.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
<script src="/node_modules/@popperjs/core/dist/umd/popper.min.js"></script>
99
<script src="/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
1010

11-
<script src="/node_modules/handlebars/dist/handlebars.min.js"></script>
12-
1311
<link rel="stylesheet" href="control.css" />
1412
</head>
1513

1614
<body>
1715
<div id="placeholder"></div>
1816
<script type="module">
19-
import { setupControl } from './control.mjs';
17+
import { setupControl } from './control.ts';
2018

2119
const req = new XMLHttpRequest();
2220
req.onload = function (data) {

0 commit comments

Comments
 (0)