mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-19 03:59:51 +08:00
JS脚本:原琴(五线谱版)【修复】 (#1992)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
1. 使用步骤如下
|
||||
1. 确定音域(共有三种音域可选[左中右共三个], 每个音域为一对红蓝大写字符[21个])
|
||||
1. 选择音符:点击左上角图片中的对应`大写字母`或`@`, 点击多个音符实现和弦
|
||||
1. 完善音符:页面底部两行选择音符的具体类型, 选好后点击按钮```确定(完善音符)```
|
||||
1. 完善音符:页面底部两行选择音符的具体类型, 选好后点击按钮```确定(完善音符)```或者确保**鼠标焦点不在曲谱文本框**时使用```Enter```键实现同样的功能
|
||||
1. 分节:确保当前页面的音符都已完善, 点击按钮```分节```
|
||||
1. 换行:确保当前页面的音符都已完善, 点击按钮```换行```
|
||||
|
||||
@@ -244,6 +244,11 @@ notes 字段中包含的是乐谱内容音符**必须**使用**大写字母**,
|
||||
## 更新日志
|
||||
由于更新日志于3.0开始记录, 往期更新内容应该都在git的记录中, 不过我懒得翻了
|
||||
|
||||
- ver 3.1.2
|
||||
1. 修复了五线谱制谱器第三个八度音高异常的问题
|
||||
1. 优化了五线谱制谱器的示例图片大小
|
||||
1. 优化了五线谱制谱器的“确定(完善音符)”按键,现在可以使用Enter键触发(鼠标焦点不能在曲谱文本框内)而不只是用鼠标点击
|
||||
|
||||
- ver 3.1.1
|
||||
1. 修复了music_queue字段的自动查找
|
||||
1. 修改了README.md使其更合理
|
||||
|
||||
@@ -210,27 +210,27 @@
|
||||
<area shape="rect" coords="650,577,705,627" onclick="add_key('N')">
|
||||
<area shape="rect" coords="650,627,705,677" onclick="add_key('V')">
|
||||
<area shape="rect" coords="650,677,705,727" onclick="add_key('X')">
|
||||
<area shape="rect" coords="794,427,849,477" onclick="add_key('U')">
|
||||
<area shape="rect" coords="794,477,849,527" onclick="add_key('T')">
|
||||
<area shape="rect" coords="794,527,849,577" onclick="add_key('E')">
|
||||
<area shape="rect" coords="794,577,849,627" onclick="add_key('Q')">
|
||||
<area shape="rect" coords="794,627,849,677" onclick="add_key('H')">
|
||||
<area shape="rect" coords="794,677,849,727" onclick="add_key('F')">
|
||||
<area shape="rect" coords="794,727,849,777" onclick="add_key('S')">
|
||||
<area shape="rect" coords="794,777,849,827" onclick="add_key('M')">
|
||||
<area shape="rect" coords="794,827,849,877" onclick="add_key('B')">
|
||||
<area shape="rect" coords="794,877,849,927" onclick="add_key('C')">
|
||||
<area shape="rect" coords="794,927,849,977" onclick="add_key('Z')">
|
||||
<area shape="rect" coords="849,453,904,503" onclick="add_key('Y')">
|
||||
<area shape="rect" coords="849,503,904,553" onclick="add_key('R')">
|
||||
<area shape="rect" coords="849,553,904,603" onclick="add_key('W')">
|
||||
<area shape="rect" coords="849,603,904,653" onclick="add_key('J')">
|
||||
<area shape="rect" coords="849,653,904,703" onclick="add_key('G')">
|
||||
<area shape="rect" coords="849,703,904,753" onclick="add_key('D')">
|
||||
<area shape="rect" coords="849,753,904,803" onclick="add_key('A')">
|
||||
<area shape="rect" coords="849,803,904,853" onclick="add_key('N')">
|
||||
<area shape="rect" coords="849,853,904,903" onclick="add_key('V')">
|
||||
<area shape="rect" coords="849,903,904,953" onclick="add_key('X')">
|
||||
<area shape="rect" coords="794,377,849,427" onclick="add_key('U')">
|
||||
<area shape="rect" coords="794,427,849,477" onclick="add_key('T')">
|
||||
<area shape="rect" coords="794,477,849,527" onclick="add_key('E')">
|
||||
<area shape="rect" coords="794,527,849,577" onclick="add_key('Q')">
|
||||
<area shape="rect" coords="794,577,849,627" onclick="add_key('H')">
|
||||
<area shape="rect" coords="794,627,849,677" onclick="add_key('F')">
|
||||
<area shape="rect" coords="794,677,849,727" onclick="add_key('S')">
|
||||
<area shape="rect" coords="794,727,849,777" onclick="add_key('M')">
|
||||
<area shape="rect" coords="794,777,849,827" onclick="add_key('B')">
|
||||
<area shape="rect" coords="794,827,849,877" onclick="add_key('C')">
|
||||
<area shape="rect" coords="794,877,849,927" onclick="add_key('Z')">
|
||||
<area shape="rect" coords="849,403,904,453" onclick="add_key('Y')">
|
||||
<area shape="rect" coords="849,453,904,503" onclick="add_key('R')">
|
||||
<area shape="rect" coords="849,503,904,553" onclick="add_key('W')">
|
||||
<area shape="rect" coords="849,553,904,603" onclick="add_key('J')">
|
||||
<area shape="rect" coords="849,603,904,653" onclick="add_key('G')">
|
||||
<area shape="rect" coords="849,653,904,703" onclick="add_key('D')">
|
||||
<area shape="rect" coords="849,703,904,753" onclick="add_key('A')">
|
||||
<area shape="rect" coords="849,753,904,803" onclick="add_key('N')">
|
||||
<area shape="rect" coords="849,803,904,853" onclick="add_key('V')">
|
||||
<area shape="rect" coords="849,853,904,903" onclick="add_key('X')">
|
||||
</map>
|
||||
</div>
|
||||
<div id="code-wrapper">
|
||||
@@ -319,6 +319,19 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.addEventListener("keydown", function(event) {
|
||||
if (event.key === "Enter") {
|
||||
const activeElement = document.activeElement;
|
||||
const codeArea = document.getElementById("code-area");
|
||||
|
||||
/*如果焦点不在 #code-area 上*/
|
||||
if (activeElement !== codeArea) {
|
||||
event.preventDefault(); /*阻止默认行为*/
|
||||
btn_confirm();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
/*设置页面底部缓冲区高度与悬浮菜单栏的高度相同*/
|
||||
var bottomSection = document.getElementById('bottom-section');
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "原琴·乐曲转换、自动演奏",
|
||||
"version": "3.1.1",
|
||||
"version": "3.1.2",
|
||||
"bgi_version": "0.43.1",
|
||||
"description": "功能描述:功能及其强大的原琴脚本\n核心功能------------------------------>\n1.轻松实现根据五线谱翻版琴谱,支持单音、和弦\n2.曲谱支持录入BPM、拍号\n3.特殊音符支持休止符、浮点音符、(三/六)连音、(三/六)连音标记线、装饰音·倚音\n4.含有制谱器,方便制作曲谱\n注意事项------------------------------>\n1.使用前请装备原琴\n2.音域只有3个八度,受原琴音域限制,本脚本的上限取决于翻谱的大佬(卑微\n3.实际上装饰音·倚音的时长视为基础时值单位(比如拍号2/4的基础时值单位就是4分音符)的1/16\n4.制铺说明:曲谱JSON文件的notes必须保证为一行且不能包括空白符(换行符除外);小节之间用|隔开,|不是必要的,作用是方便曲谱维护\n---------------------------------------->\n作者:提瓦特钓鱼玳师\n脚本反馈邮箱:hijiwos@hotmail.com",
|
||||
"authors": [
|
||||
|
||||
Reference in New Issue
Block a user