Skip to content

Commit aaa3f64

Browse files
author
kumatan
committed
TAG210 2025/11/22
Compiler 通常の音符の代わりにxを指定できるようにした。(直前の音程と同じになります)
1 parent 4476a6c commit aaa3f64

9 files changed

Lines changed: 41 additions & 1 deletion

File tree

CHANGE.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
�X�V����
2+
TAG210 2025/11/22
3+
Compiler
4+
�ʏ�̉����̑����x���w��ł���悤�ɂ����B(���O�̉����Ɠ����ɂȂ�܂�)
25
TAG209 2025/08/21
36
Driver
47
mucom88em�Ń|���^�����g�����������Ȃ��Ƃ̘A�����󂯏C���B
1 KB
Binary file not shown.

MML.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,23 @@ mucomDotNET
392392
--�R�}���h--
393393

394394

395+
-����������
396+
�R�}���h
397+
x
398+
����
399+
xn
400+
�l�͈̔�
401+
n : �����R�}���h�Ɠ���
402+
�g�p�”\�ȃp�[�g
403+
�S��
404+
���e
405+
���O�̉����̉����Ɠ��������w�肵�����ƂɂȂ�܂��B��������������ʂŕ֗��ł��B
406+
�Q�l
407+
-
408+
mub�t�@�C���ł̃t�H�[�}�b�g
409+
-
410+
411+
395412
-�}�N���V�t�g
396413
�R�}���h
397414
**

Player64/lib/MDSound.dll

7 KB
Binary file not shown.

Wav_NET5/MDSound.dll

7 KB
Binary file not shown.

lib/musicDriverInterface.dll

1 KB
Binary file not shown.

mucomDotNETCompiler/msub.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ public int FMCOMC(char c)
333333
return 0;
334334
}
335335

336+
private int oldNote = 0;
337+
336338
public byte STTONE()
337339
{
338340
char c = mucInfo.srcCPtr < mucInfo.lin.Item2.Length
@@ -350,6 +352,12 @@ public byte STTONE()
350352
}
351353
}
352354

355+
if (c == 'x')
356+
{
357+
mucInfo.Carry = false;
358+
return TONEXT2();
359+
}
360+
353361
mucInfo.Carry = true;
354362
return 0;
355363
}
@@ -395,6 +403,18 @@ private byte TONEXT(byte n)
395403
mucInfo.srcCPtr--;
396404
}
397405

406+
oldNote = n;
407+
408+
KEYSIFT(ref o, ref n);
409+
mucInfo.Carry = false;
410+
return (byte)(((o & 0xf) << 4) | (n & 0xf));
411+
}
412+
413+
private byte TONEXT2()
414+
{
415+
byte n = (byte)oldNote;
416+
int o = work.OCTAVE;
417+
398418
KEYSIFT(ref o, ref n);
399419
mucInfo.Carry = false;
400420
return (byte)(((o & 0xf) << 4) | (n & 0xf));

mucomDotNETConsole/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"profiles": {
33
"Console": {
44
"commandName": "Project",
5-
"commandLineArgs": "-LOGLEVEL=TRACE \"D:\\bootcamp\\FM音源\\data\\自作\\aeronaut\\mucom88em_porTest.muc\""
5+
"commandLineArgs": "-LOGLEVEL=TRACE \"D:\\bootcamp\\FM音源\\data\\自作\\懐かしき東方の血\\懐かしき東方の血.muc\""
66
}
77
}
88
}

mucomDotNETPlayer/lib/MDSound.dll

7 KB
Binary file not shown.

0 commit comments

Comments
 (0)