首页 > 其他分享 >Record of ABC Notation Used in Obsidian

Record of ABC Notation Used in Obsidian

时间:2024-09-26 16:50:59浏览次数:7  
标签:treble ABC octaves %% four Record Used Obsidian

When typing code snippet

 %%linebreak <none>
 X: 1
 K: C treble
 % C major, four octaves:
 C, D, E, F, G, A, B, C | C D E F G A B c |
 c d e f g a b c' | c' e' g' c'' |
in Making Music with Abc 2 - A practical guide to the Abc notation, it was expected to show the staff in one line, however it showed like this:

I once thought the editor width was not enough, actually it was wide enough to display:

Then I found this issue and "the plugin is currently using the latest (officially released, non-beta) version of abcjs" caught my eyes.

So I searched for ABC standard 2.2, found I:<directive> took place of %%<directive>:

So, I modified it to

 I: linebreak <none>
 X: 1
 K: C treble
 % C major, four octaves:
 C, D, E, F, G, A, B, C | C D E F G A B c |
 c d e f g a b c' | c' e' g' c'' |
However it still didn't work:

Either I:<directive> or %%<directive> worked well in EasyABC, but neither of them worked in ABCJS Editor, is this caused by the changes of ABC standard?

 The answer is yes.

 X: 1
 K: C treble
 % C major, four octaves:
 C, D, E, F, G, A, B, C | C D E F G A B c |\
 c d e f g a b c' | c' e' g' c'' |

So we just need a backslash, and it do work.
With Win11 23H2, Obsidian 1.6.7 and ABC Music Notation plugin Version 1.4.0, left at Sept 26, 2024.

标签:treble,ABC,octaves,%%,four,Record,Used,Obsidian
From: https://www.cnblogs.com/Shelly-S/p/18433689

相关文章

  • 题解:AT_abc204_e [ABC204E] Rush Hour 2
    变形的dijkstra。先思考什么情况下需要等待以及等待多长时间最优。我们把题目上的计算方法按照当前的时间\(t\)和通过所需的时间\(f(t)\)列个函数关系:\[f(t)=t+c+\lfloor\frac{d}{t+1}\rfloor\]然后用Desmos画个图可以得到图像(其实就是对勾函数):因为\(c,d\geq0\),所......
  • C# Winform 如何查找TabControl中某个tabPage
    在C#WinForms应用程序中,如果你需要查找TabControl中的某个特定TabPage,可以使用多种方法来实现。以下是一些常见的方法:方法1:通过索引查找如果你知道TabPage的索引位置,可以直接使用TabControl的TabPages集合来获取它。Csharp深色版本//假设我们知道TabPage......
  • C# .net 8 used Pomelo.EntityFrameworkCore.MySql
    1.dotnetaddpackagePomelo.EntityFrameworkCore.MySqlusingMicrosoft.EntityFrameworkCore;namespaceConsoleApp84{internalclassProgram{staticvoidMain(string[]args){using(varcontext=newDbBookDataContex......
  • ABC245G Foreign Friends 题解 / 二进制分组
    ABC245GForeignFriends题解回顾一下二进制分组。题目大意给定一张\(N\)个点\(M\)条边的无向图,及\(L\)个特殊点。每个点有颜色\(C_i\)。求每个点到离他最近的与他颜色不同特殊点的距离。Solve两个点颜色不同,等价于他们的颜色在二进制下至少有一位不同。所以我们考......
  • 题解:AT_abc372_e [ABC372E] K-th Largest Connected Components
    题意给出\(q\)个操作。将\(u\)和\(v\)连边。问\(u\)所在的连通块中编号第\(k\)大的点。思路连通块很容易想到并查集,求第\(k\)大可以用平衡树(虽然赛时没看到\(k\le10\)),合并时将信息从将小的连通块合并到大的连通块,这样可以减少时间复杂度。什么?你不会写平衡......
  • 【好题乱做】ABC-G
    【好题乱做】ABC-GABC216G01Sequence设\(f_i\)表示前\(i\)个中\(0\)的个数,则条件可以转化为差分约束的模型。发现边权非负,跑Dijkstra即可。ABC217GGroups设\(f_{i,j}\)表示前\(i\)个数分为\(j\)组的方案数,则可以对\(i\)放入之前的一组还是新开一组讨论,得到......
  • [ABC371F] Takahashi in Narrow Road 题解
    洛谷题目链接Atcoder题目链接前言这道题我赛时想到了正解并打了出来,然后因为把\(l\)打成了\(1\)导致WA\(\times23\),然后又没场切六道题(悲。然后赛后有人说正解是珂朵莉树/线段树,然而我是珂朵莉树\(+\)线段树,呵。题意数轴上有\(n\)个人,第\(i\)个人初始在\(X_i\)处,每一次操作......
  • abc367F 判断区间构成的多重集合是否相同
    给定长度为N的两个数组A[i]和B[i],有Q组询问,每次给定(l[i],r[i],L[i],R[i]),问由A[l[i]]A[r[i]]构成的multiset,与B[L[i]]B[R[i]]构成的multiset是否相同?范围:1<=N,Q<=2E5,1<=A[i],B[i]<=N,1<=l[i]<=r[i]<=N,1<=L[i]<=R[i]<=N分析:将int映射为u64,因为集合不区分先后,而加法满足交换......
  • 『比赛记录』ABC 372
    赛时差点改出了F,遂写比赛记录纪念。delete.ABC的T1一般都直接看完样例就莽的,比如这个就一眼是将字符串中的.删去然后输出其他的。Reviewrecord.B.3^A发现\(M\)范围很小,可以直接处理出值域内所有三的不同次幂,然后从大的开始减即可。因为把\(5\times10^5\)当成......
  • ABC372 F 题解
    F-TeleportingTakahashi2先把问题转化一下:把环断开成链,复制\((K+1)\)层,每走一步就相当于前进一层:可以想到一个简单的dp:设\(f(i,j)\)表示走到第\(i\)层第\(j\)个位置的方案数。初始化:\(f(0,1)=1\),其它均为\(0\),表示Takahashi从第\(0\)层的\(1\)位置......