remove unused octave command
This commit is contained in:
parent
1111b39b90
commit
95fdf4f136
1 changed files with 3 additions and 5 deletions
|
@ -49,7 +49,7 @@ C=[
|
||||||
'-ffed#ddc#',
|
'-ffed#ddc#',
|
||||||
'dddddd#e',
|
'dddddd#e',
|
||||||
'--ba#bb-a+a#-b'
|
'--ba#bb-a+a#-b'
|
||||||
].map(c=>`{o06m${c}}x`);
|
].map(c=>`{@++m${c}}x`);
|
||||||
|
|
||||||
// main loop
|
// main loop
|
||||||
M=_=>{
|
M=_=>{
|
||||||
|
@ -57,7 +57,7 @@ M=_=>{
|
||||||
// next index into S
|
// next index into S
|
||||||
s=1;
|
s=1;
|
||||||
// opcode
|
// opcode
|
||||||
z='\n;+-@.3cdefgabx012456789jtsiqhwmuvo{}'.indexOf(a);
|
z='\n;+-@.3cdefgabx012456789jtsiqhwmuv{}'.indexOf(a);
|
||||||
|
|
||||||
// no match
|
// no match
|
||||||
z<0?0:
|
z<0?0:
|
||||||
|
@ -104,10 +104,8 @@ M=_=>{
|
||||||
z<33?(U=b+c+d,s+=3):
|
z<33?(U=b+c+d,s+=3):
|
||||||
// change volume
|
// change volume
|
||||||
z<34?(V=b+c,s+=2):
|
z<34?(V=b+c,s+=2):
|
||||||
// change octave
|
|
||||||
z<35?(O=b+c-4,s+=2):
|
|
||||||
// play simultaneously
|
// play simultaneously
|
||||||
z<36?B[Z++]={L,O,T,U,V}:
|
z<35?B[Z++]={L,O,T,U,V}:
|
||||||
{L,O,T,U,V}=B[--Z];
|
{L,O,T,U,V}=B[--Z];
|
||||||
|
|
||||||
// loop
|
// loop
|
||||||
|
|
Loading…
Add table
Reference in a new issue