Skip to content

Commit c2196fc

Browse files
authored
Merge pull request #7 from brylie/update-abcjs
Upgrade astro-abcjs to version 2.0.0 and refactor AbcjsPlayer
2 parents 9d69107 + 932b1df commit c2196fc

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@iconify-json/simple-icons": "^1.2.66",
1919
"@tailwindcss/vite": "^4.1.13",
2020
"astro": "^5.16.6",
21-
"astro-abcjs": "^1.1.0",
21+
"astro-abcjs": "^2.0.0",
2222
"astro-embed": "^0.12.0",
2323
"astro-icon": "^1.1.5",
2424
"markdown-it": "^14.1.0",
@@ -31,4 +31,4 @@
3131
"@types/markdown-it": "^14.1.2",
3232
"unplugin-fonts": "^1.4.0"
3333
}
34-
}
34+
}

src/components/scales/CMajorScale.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ import AbcjsPlayer from "astro-abcjs/AbcjsPlayer.astro";
55
<AbcjsPlayer
66
notation={`X:1\nT:C Major\nM:4/4\nL:1/4\nK:C\nC D E F | G A B c |`}
77
showControls={true}
8-
responsive={true}
98
abcjsVersion="6.6.0"
109
/>

src/components/scales/DDorianMode.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ import AbcjsPlayer from "astro-abcjs/AbcjsPlayer.astro";
55
<AbcjsPlayer
66
notation={`X:1\nT:D Dorian\nM:4/4\nL:1/4\nK:Ddor\nD E F G | A B c d |`}
77
showControls={true}
8-
responsive={true}
98
abcjsVersion="6.6.0"
109
/>

src/content/blog/parallel-major-chords.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ Have you ever wondered how some of your favorite songs create such emotionally r
1212
import CMajorScale from '../../components/scales/CMajorScale.astro';
1313
import DDorianMode from '../../components/scales/DDorianMode.astro';
1414

15-
## Parallel Majors Example (ABC Notation)
16-
17-
Have you ever wondered how some of your favorite songs create such emotionally rich and unexpected chord progressions? Many composers and songwriters use a powerful technique that involves borrowing chords from different scales or modes. Today, we'll explore a specific approach called "parallel majors" that can immediately add new colors to your compositions.
18-
1915
## What Are Parallel Majors?
2016

2117
Before diving into parallel majors, let's establish some foundational concepts.

0 commit comments

Comments
 (0)