@@ -220,11 +220,11 @@ function melodyToImage(melody: microcode.Melody) {
220
220
const ret = image . create ( 16 , 16 )
221
221
ret . fill ( 1 )
222
222
for ( let col = 0 ; col < 8 ; col ++ ) {
223
- if ( melody . notes [ col ] === "." )
224
- continue
223
+ if ( melody . notes [ col ] === "." ) continue
225
224
const row = parseInt ( melody . notes [ col ] )
226
225
const color = 15
227
- const ncol = col << 1 , nrow = row << 1
226
+ const ncol = col << 1 ,
227
+ nrow = row << 1
228
228
ret . setPixel ( ncol , nrow , color )
229
229
ret . setPixel ( ncol + 1 , nrow , color )
230
230
ret . setPixel ( ncol , nrow + 1 , color )
@@ -233,7 +233,6 @@ function melodyToImage(melody: microcode.Melody) {
233
233
return ret
234
234
}
235
235
236
-
237
236
// - upscale 5x5 image to 16 x 16
238
237
function scaleUp ( led55 : Image ) {
239
238
const ret = image . create ( 16 , 16 )
@@ -265,7 +264,7 @@ namespace icondb {
265
264
266
265
export const melodyEditor = melodyToImage ( {
267
266
notes : "76543210" ,
268
- tempo : 0
267
+ tempo : 0 ,
269
268
} )
270
269
271
270
export const MISSING = img `
@@ -1356,7 +1355,7 @@ namespace icondb {
1356
1355
. . . . . . . . . . . . . . . .
1357
1356
`
1358
1357
1359
- export const note_on = img `
1358
+ export const note_on = img `
1360
1359
. f f f f f f f .
1361
1360
f f f f f f f f f
1362
1361
f f f f f f f f f
@@ -1366,8 +1365,8 @@ f f f f f f f f f
1366
1365
f f f f f f f f f
1367
1366
. f f f f f f f .
1368
1367
`
1369
-
1370
- export const note_off = img `
1368
+
1369
+ export const note_off = img `
1371
1370
. f f f f f f f .
1372
1371
f 1 1 1 1 1 1 1 f
1373
1372
f 1 1 1 1 1 1 1 f
@@ -1377,9 +1376,7 @@ f 1 1 1 1 1 1 1 f
1377
1376
f 1 1 1 1 1 1 1 f
1378
1377
. f f f f f f f .
1379
1378
`
1380
-
1381
-
1382
-
1379
+
1383
1380
export const accelerometer = img `
1384
1381
. . . . . . . . . . . . . . . .
1385
1382
. . . . . . . . 8 . . . . . . .
0 commit comments