预览地址
提示:点击页面顶部可以唤出更多操作,包括调整字体大小、显示唱名、切换主题。
预览截图
阿卡语法
3 3_5_ (6_1u_) 1u_6_ |
#[0]好一朵美 丽的
5 (5_6_) 5 - |
#[1]茉莉 花
3 3_5_ (6_1u_) 1u_6_ |
#[2]好一朵美 丽的
5 (5_6_) 5 - |
#[3]茉莉 花
5 5 5 (3_5_) |
#[4]芬芳美丽
6 (6_5_) 5 - |
#[5]满枝 桠
3 (2_3_) 5 (3_2_) |
#[6]又香 又白
1 (1_2_) 1 - |
#[7]人人 夸
(3_2_) (1_3_) 2. 3_ |
#[8]让 我 来将
5 (6_1u_) 5 - |
#[9]你摘 下
2 (3_5_) (2_3_) (1_6d_) |
#[10]送给 别 人
5d - 6d (6d_1_) |
#[11]家茉莉
2. 3_ (1_2_) (1_6d_) |
#[12]花呀茉 莉
[1. 5d - - - ] :||
#[13]花
[2. 5d - 6d (6d_1_) |
#[14]花呀茉莉
2. 3_ (1_2_) (1_6d_) |
#[15]花呀茉 莉
5d - - - ] _||
#[16]花
下面阿卡乐谱语法文章的latex代码:
tex文件与pdf
https://download.csdn.net/download/yiluochenwu/86397294
阿卡乐谱语法Latex生成的PDF
阿卡乐谱语法Latex
\documentclass{article}
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\usepackage{algorithm}
\usepackage{algorithmicx}
\usepackage{algpseudocode}
\usepackage{amsmath}
\usepackage{amssymb}%空集符号
\usepackage{ctex}
\usepackage{float}
\usepackage{arydshln}
%\usepackage{fontspec}
%\setmainfont{jpfont-nds}
\title{阿卡乐谱语言}
\author{阿卡}
\date{2022年7月}
\begin{document}
\maketitle
\section{阿卡乐谱语言}
\begin{center}
普通人都能录入的乐谱语言
\end{center}
\section{语言设计原则}
与简谱符号象形
易于通过键盘或手机录入
基本音符语法,包括唱名、音长、音高、小节分隔符、分组、重复符号。
扩展音符语法,转义、分段字符、重复。
歌词语法,与唱名的对应、乐谱信息、分小节、分段
\section{基本规则}
\subsection{唱名}
使用1234567表示各个唱名,0表示休止符。X表示唱白,或RAP歌词。
\begin{table}[H]
\begin{center}
\caption{唱名}
\begin{tabular}{c|c|c|c|c|c|c|c|c|c}
\hline
\textbf{功能} & \textbf{do} & \textbf{re} & \textbf{mi} & \textbf{fa} & \textbf{sol} & \textbf{la} & \textbf{xi} & \textbf{休止符} & \textbf{节拍} \\
\cdashline{1-10}[1pt/3pt]
\textbf{语法} & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 0 & X \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{音高}
通过d表示下降一个八度(down, 向下单词的首字母),u表示上升一个八度(up,向上单词的首字母)。
一个表示一个八度,两个表示两个八度。
一般不超过三个,四个的极少,不支持五个及五个以上。
\begin{table}[H]
\begin{center}
\caption{音高}
\begin{tabular}{c|c|c|c|c}
\hline
\textbf{功能} & \textbf{正常音} & \textbf{高音} & \textbf{倍高音} & \textbf{超高音} \\
\cdashline{1-5}[1pt/3pt]
\textbf{语法} & 1 & 2u & 3uu & 4uuu \\
\hline
\textbf{功能} & \textbf{正常音} & \textbf{低音} & \textbf{倍低音} & \textbf{超低音} \\
\cdashline{1-5}[1pt/3pt]
\textbf{语法} & 5 & 6d & 7dd & 1ddd \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{升降音}
\begin{table}[H]
\begin{center}
\caption{升降音}
\begin{tabular}{c|c|c|c|c|c}
\hline
\textbf{功能} & \textbf{升半音} & \textbf{降半音} & \textbf{还原符号} & \textbf{升全音}
& \textbf{降全音} \\
\cdashline{1-6}[1pt/3pt]
\textbf{语法} & \^{}\#1 & \^{}b2 & \^{}z3 & \^{}x4 & \^{}bb5 \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{时长}
时长符号与简谱的展现象形,一个下划线用\_,两个下划线用=,三个下划线用+,四个下划线用\#。
不支持五个及以上下划线,即,不支持大于六十四分音符的标记。
\begin{table}[H]
\begin{center}
\caption{音符时长}
\begin{tabular}{c|c|c|c|c}
\hline
\textbf{功能} & \textbf{二全音符} & \textbf{全音符} & \textbf{二分音符} & \textbf{四分音符} \\
\cdashline{1-5}[1pt/3pt]
\textbf{语法} & 1 - - - - - - - & 2 - - - & 3 - & 4 \\
\hline
\textbf{功能} & \textbf{八分音符} & \textbf{十六分音符} & \textbf{三十二分音符} & \textbf{六十四分音符} \\
\cdashline{1-5}[1pt/3pt]
\textbf{语法} & 5\_ & 6= & 7+ & X\#\\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{附点}
\textbf{附点},表示延长上一个音符时长一半(二分之一)。
如四分音符加附点,就是四分音符时长再加八分音符时长。
\textbf{双附点},第一个附点与一个附点时含义一样,第二个附点,表示延长上一个音符时长的四分之一。
如四分音符加双附点,就是四分音符时长再加八分音符时长再加上十六分音符时长。
\begin{table}[H]
\begin{center}
\caption{附点}
\begin{tabular}{c|c|c|c}
\hline
\textbf{标题} & \textbf{四分音符附点} & \textbf{四分音符双附点} & \textbf{八分音符附点} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & 1. & 2.. & 3\_. \\
\cdashline{1-4}[1pt/3pt]
\textbf{等价} & 1 1\_ & 2 2\_ 2= & 3\_ 3= \\
\hline
\textbf{标题} & \textbf{八分音符双附点} & \textbf{十六分音符附点} & \textbf{三十二分音符附点}\\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & 4\_.. & 5=. & 6+.\\
\cdashline{1-4}[1pt/3pt]
\textbf{等价} & 4\_ 4= 4+ & 5= 5+ & 6+ 6\#\\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{分组}
连续输入不含空白的相关标识字符表示分组。结束分组,可以是空白(空格、制表符、回车),也可以是小节符号、乐谱结束等。
转义的字符、连音标记等标识字符不能打断分组。
\begin{table}[H]
\begin{center}
\caption{分组}
\begin{tabular}{c|c|c|c|c}
\hline
\textbf{功能} & \textbf{普通分组} & \textbf{混合分组} & \textbf{包含转义字符} & \textbf{包含连音}\\
\cdashline{1-5}[1pt/3pt]
\textbf{语法} & 1\_2\_ 3. 4=5= & 1\_2=3= 4 5=1u=1u=5= \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{小节分隔符与重复小节符}
单竖线(\textbar)表示小节结束
双竖线(\textbar \textbar)表示该小节有一个整体的结束。
\begin{table}[H]
\begin{center}
\caption{小节分隔符}
\begin{tabular}{c|c|c|c}
\hline
\textbf{功能} & \textbf{单竖线} & \textbf{双竖线} & \textbf{结束小节} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \textbar & \textbar\textbar & \_\textbar\textbar \\
\hline
\textbf{功能} & \textbf{重复开始} & \textbf{重复结束} & \textbf{重复开始与结束}\\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \textbar\textbar: & :\textbar\textbar & :\textbar\textbar: \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{连音}
用()包围表示连音,连音应该有两个及以上个音符。
\begin{table}[H]
\begin{center}
\caption{连音}
\begin{tabular}{c|c|c|c}
\hline
\textbf{功能} & \textbf{普通连音} & \textbf{跨分组连音} & \textbf{全音符连音} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & (1\_2\_) 3. (4=5=) & 1\_(2=3=) (4 5=)1u=1u=5= & 1\_(2\_ 3 - -) \\
\hline
\textbf{功能} & \textbf{跨小节连音} & \textbf{跨小节全音符连音} & \textbf{跨多小节连音} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & 1\_2\_ (3 \textbar 4=)5= 6. & (1 - - \textbar 1 - -) & (1 - - \textbar 1 - - \textbar 1\_)2\_ 3 3 \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{重复标记}
\begin{table}[H]
\begin{center}
\caption{重复标记}
\begin{tabular}{c|c|c|c}
\hline
\textbf{功能} & \textbf{从标记处开始重复} & \textbf{从头开始重复} & \textbf{结束重复} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \textbar\^{}D.S. & \textbar\^{}D.C. & \textbar\^{}Fine \\
\hline
\textbf{功能} & \textbf{从标记1处开始重复} & \textbf{从标记2处开始重复} & \textbf{结束重复标记1} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \textbar\^{}D.S.1 & \textbar\^{}D.S.2 & \textbar\^{}Fine.1 \\
\hline
\textbf{功能} & \textbf{重复标记} & \textbf{跳过标记} & \textbf{重复标记1} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \textbar\^{}S & \textbar\^{}O & \textbar\^{}S.1 \\
\hline
\textbf{功能} & \textbf{跳过标记1} & \textbf{跳过标记2} & \textbf{重复标记2} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \textbar\^{}O.1 & \textbar\^{}O.2 & \textbar\^{}S.2 \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{转义符号}
\begin{table}[H]
\begin{center}
\caption{转义符号}
\begin{tabular}{c|c|c|c}
\hline
\textbf{功能} & \textbf{左括号} & \textbf{右括号} & \textbf{上尖号} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \^{}( & \^{}) & \^{}\^{} \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{分段标记}
\begin{table}[H]
\begin{center}
\caption{分段标记}
\begin{tabular}{c|c|c|c|c|c}
\hline
\textbf{功能} & \textbf{分段开始} & \textbf{分段结束} & \textbf{结束句} & \textbf{多个分段} & \textbf{多个分段含结束句}\\
\cdashline{1-6}[1pt/3pt]
\textbf{语法} & \textbar [1. & \textbar ] & \textbar [结束句. & \textbar [1.2.3. 1 2 3 ]\textbar & [1.2.结束句. 1 2 3 \textbar \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{歌词}
按小节编排歌词。
使用空格或*跳过唱名。空格有时候看起来不明显,所以增加了*作为跳过的字符;保留空格是因为空格是更常用的字符,方便录入。
\begin{table}[H]
\begin{center}
\caption{歌词}
\begin{tabular}{c|c|c}
\hline
\textbf{功能} & \textbf{第1段从第1个唱名开始} & \textbf{第1段从第3个唱名开始} \\
\cdashline{1-3}[1pt/3pt]
\textbf{语法} & \#[0]好一朵美 丽的 & \#[0,2]好一朵美 丽的 \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{歌曲信息}
\begin{table}[H]
\begin{center}
\caption{歌曲信息}
\begin{tabular}{c|c|c|c|c|c}
\hline
\textbf{功能} & \textbf{歌名} & \textbf{作词} & \textbf{作曲} & \textbf{演唱} \\
\cdashline{1-6}[1pt/3pt]
\textbf{语法} & \#[ti:歌名] & \#[lw:作词] & \#[mw:作曲] & \#[ar:歌手] \\
\hline
\textbf{功能} & \textbf{调号} & \textbf{拍号} & \textbf{速度} & \textbf{感情} \\
\cdashline{1-6}[1pt/3pt]
\textbf{语法} & \#[tm: 3/4] & \#[ph:1=C] & \#[sp:1=120] & \#[gq:热烈的] \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{装饰音}
\begin{table}[H]
\begin{center}
\caption{装饰音}
\begin{tabular}{c|c|c|c}
\hline
\textbf{功能} & \textbf{在左侧} & \textbf{在右侧} & \textbf{多个} \\
\cdashline{1-4}[1pt/3pt]
\textbf{语法} & \{1=\}2 & 4\{/3=\} & \{5=6=\}7 3u\{/1u=2u=\} \\
\hline
\end{tabular}
\end{center}
\end{table}
\subsection{其他符号}
\begin{table}[H]
\begin{center}
\caption{其他符号}
\begin{tabular}{c|c|c|c|c}
\hline
\textbf{功能} & \textbf{波音} & \textbf{重音} & \textbf{断音} & \textbf{换气符}\\
\cdashline{1-5}[1pt/3pt]
\textbf{语法} & \^{}\~{} & \^{}\textgreater & \^{}v & \^{}V \\
\hline
\end{tabular}
\end{center}
\end{table}
\section{示例:茉莉花}
\begin{algorithm}
\begin{algorithmic}[1] %显示行号,1是每行都显示
\State \#[ti:茉莉花]
\State \#[sp:1=100]
\State \#[ar:中国民歌]
\State \#[ly:江苏民歌]
\State \#[mu:江苏民歌]
\State \#[tm:1=E]
\State \#[ts:4/4]
\State
\State 3 3\_5\_ (6\_1u\_) 1u\_6\_ \textbar \ 5 (5\_6\_) 5 - \textbar \ 3 3\_5\_ (6\_1u\_) 1u\_6\_ \textbar \ 5 (5\_6\_) 5 - \textbar
\State \#[0]好一朵美 丽的\textbar茉莉 花\textbar好一朵美 丽的\textbar茉莉 花
\State
\State 5 5 5 (3\_5\_) \textbar \ 6 (6\_5\_) 5 - \textbar \ 3 (2\_3\_) 5 (3\_2\_) \textbar \ 1 (1\_2\_) 1 - \textbar
\State \#[4]芬芳美丽\textbar满枝 桠\textbar又香 又白\textbar人人 夸
\State
\State (3\_2\_) (1\_3\_) 2. 3\_ \textbar \ 5 (6\_1u\_) 5 - \textbar \ 2 (3\_5\_) (2\_3\_) (1\_6d\_) \textbar
\State \#[8]让 我 来将\textbar你摘 下\textbar送给 别 人
\State
\State 5d - 6d (6d\_1\_) \textbar \ 2. 3\_ (1\_2\_) (1\_6d\_) \textbar [1. 5d - - - ] :\textbar\textbar
\State \#[11]家茉莉\textbar花呀茉 莉\textbar花
\State
\State [2. 5d - 6d (6d\_1\_) \textbar \ 2. 3\_ (1\_2\_) (1\_6d\_) \textbar \ 5d - - - ] \_\textbar\textbar
\State \#[14]花呀茉莉\textbar花呀茉 莉\textbar花
\end{algorithmic}
\end{algorithm}
\end{document}
特别说明
不知道这个发文助手是什么情况。老是提示,不给发。代码一大片了,还不准只用代码说话。也是服了~~~~