-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98a0c53
commit 60bd075
Showing
21 changed files
with
113 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title: $:/config/shortcuts/musicsheets-tune-body | ||
|
||
alt-shift-B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title: $:/plugins/BTC/musicsheets/images/tune-body | ||
|
||
Tune Body |
35 changes: 35 additions & 0 deletions
35
plugins/musicsheets/ui/Buttons/Dropdowns/editor-button-tune-body-dropdown.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/tune-body | ||
|
||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/MusicSheets/TuneBody]!is[draft]each[category]]"> | ||
|
||
<div class="tc-dropdown-item"> | ||
<$text text={{!!category}}/> | ||
</div> | ||
|
||
<$macrocall $name="list-tagged-draggable" tag="$:/tags/MusicSheets/TuneBody" subFilter="!is[draft]category{!!category}" itemTemplate="$:/plugins/BTC/musicsheets/ui/Templates/toolbar-item-template-symbols"/> | ||
|
||
</$list> | ||
|
||
---- | ||
|
||
<$button tag="a"> | ||
|
||
<$action-sendmessage | ||
$message="tm-new-tiddler" | ||
tags="$:/tags/MusicSheets/TuneBody" | ||
caption="this is shown in the menu" | ||
text="this is inserted when clicking the button" | ||
category="'Tune Body' or a category you like" | ||
/> | ||
|
||
<$action-deletetiddler | ||
$tiddler=<<dropdown-state>> | ||
/> | ||
|
||
<em> | ||
|
||
<$text text="new entry"/> | ||
|
||
</em> | ||
|
||
</$button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/tune-body | ||
tags: $:/tags/EditorToolbar | ||
icon: $:/plugins/BTC/musicsheets/images/tune-body | ||
condition: [<targetTiddler>type[]] [<targetTiddler>get[type]match[text/vnd.tiddlywiki]] +[first[]] | ||
dropdown: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/tune-body | ||
description: tune body | ||
shortcuts: ((musicsheets-tune-body)) | ||
caption: Tune Body | ||
button-classes: tc-musicsheets-toolbar-button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/macro | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: m: Macro | ||
category: Tune Header and Body | ||
description: | ||
|
||
m: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/remark | ||
tags: $:/tags/MusicSheets/TuneBody | ||
caption: [r: remark] - (wrap selection) | ||
category: Tune Body | ||
wrap-selection: true | ||
description: you can use the syntax [r:remark] to write a remark in the middle of a line of music. | ||
prefix: [r: | ||
suffix: ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/symbolline | ||
tags: $:/tags/MusicSheets/TuneBody | ||
caption: s: Symbol line | ||
category: Tune Body | ||
description: Adding many symbols to a line of music can make a tune difficult to read. In such cases, a symbol line (a line that contains only !…! decorations, "…" chord symbols or annotations) can be used, analogous to a line of lyrics. | ||
|
||
s: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/words | ||
tags: $:/tags/MusicSheets/TuneBody | ||
caption: w: Words | ||
category: Tune Body | ||
description: supplies lyrics to be aligned syllable by syllable with previous notes of the current voice. | ||
|
||
w: |
6 changes: 3 additions & 3 deletions
6
plugins/musicsheets/ui/Symbols/TuneHeader/default-note-length.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/NoteLength | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
caption: L: Default Note Length | ||
category: Tune Header | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: L: (Default) Note Length | ||
category: Tune Header and Body | ||
description: The L: field specifies the unit note length - the length of a note as represented by a single letter in abc | ||
|
||
L: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Information | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: I: Information | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: The I:(instruction) field is used for an extended set of instruction directives concerned with how the abc code is to be interpreted. | ||
|
||
I: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Key | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: K: Key | ||
category: Tune Header | ||
description: The key signature should be specified with a capital letter (A-G) which may be followed by a # or b for sharp or flat respectively. In addition the mode should be specified (when no mode is indicated, major is assumed). | ||
category: Tune Header and Body | ||
description: Note that the first occurrence of the K: field, which must appear in every tune, finishes the tune header. All following lines are considered to be part of the tune body. The key signature should be specified with a capital letter (A-G) which may be followed by a # or b for sharp or flat respectively. In addition the mode should be specified (when no mode is indicated, major is assumed). | ||
|
||
K: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Meter | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: M: Meter | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: The M: field indicates the meter. Apart from standard meters, e.g. M:6/8 or M:4/4, the symbols M:C and M:C| give common time (4/4) and cut time (2/2) respectively. The symbol M:none omits the meter entirely (free meter). It is also possible to specify a complex meter, e.g. M:(2+3+2)/8, to make explicit which beats should be accented. The parentheses around the numerator are optional. | ||
|
||
M: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Notes | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: N: Notes | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: Contains general annotations, such as references to other tunes which are similar, details on how the original notation of the tune was converted to abc, etc. | ||
|
||
N: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Parts | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: P: Parts | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: The P: field can be used in the tune header to state the order in which the tune parts are played, i.e. P:ABABCDCD, and then inside the tune body to mark each part, i.e. P:A or P:B. (In this context part refers to a section of the tune, rather than a voice in multi-voice music.) | ||
|
||
P: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Rhythm | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: R: Rhythm | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: Contains an indication of the type of tune (e.g. hornpipe, double jig, single jig, 48-bar polka, etc). This gives the musician some indication of how a tune should be interpreted as well as being useful for database applications. | ||
|
||
R: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Tempo | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: Q: Tempo | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: The Q: field defines the tempo in terms of a number of beats per minute, e.g. Q:1/2=120 means 120 half-note beats per minute. | ||
|
||
Q: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Title | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: T: Title | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: A T: (title) field must follow immediately after the X: field; it is the human identifier for the tune (although it may be empty). | ||
|
||
T: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/UserDefined | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: U: User defined | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: As a short cut to writing symbols which avoids the !symbol! syntax, the letters H-W and h-w and the symbol ~ can be assigned with the U: field. | ||
|
||
U: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Voices | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: V: Voices | ||
category: Tune Header and Body | ||
description: The V: field allows the writing of multi-voice music. In multi-voice abc tunes, the tune body is divided into several voices, each beginning with a V: field. All the notes following such a V: field, up to the next V: field or the end of the tune body, belong to the voice. | ||
|
||
V: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
title: $:/plugins/BTC/musicsheets/ui/Symbols/Words | ||
tags: $:/tags/MusicSheets/TuneHeader | ||
tags: $:/tags/MusicSheets/TuneHeader $:/tags/MusicSheets/TuneBody | ||
caption: W: Words | ||
category: Tune Header | ||
category: Tune Header and Body | ||
description: can be used for lyrics to be printed separately below the tune. | ||
|
||
W: |