Skip to content

Instantly share code, notes, and snippets.

@BouKiCHi
BouKiCHi / pdfannots.md
Created April 26, 2022 12:05
pdfannots インストール
@BouKiCHi
BouKiCHi / svg2png.ps1
Created April 21, 2022 15:31
SVGをPNGに変換するPowerShellスクリプト(Inkscape使用)
# svg2png.ps1 Inkscapeを使用してsvgをpngに変換するスクリプト
# encode: UTF-8 with BOM
#
Param($inputFile, $outputFile, $dpi, [switch]$background)
if (-not $inputFile) {
"Usage svg2png <input.svg> [output.png] [-dpi n]"
return
}
@BouKiCHi
BouKiCHi / sttest.md
Created March 5, 2022 10:36
SimpleTrackerで音を出す

SimpleTrackerで音を出す

使用するHuC

uli/huc: Enhanced version of the PC Engine development system HuC
https://github.com/uli/huc

パッチ

このHuCに次のパッチを当てる

@BouKiCHi
BouKiCHi / m2mml.md
Last active May 15, 2021 03:34
M2MML
コマンド名 引数 内容
_ 数値 移調?
: リピート脱出
( 数値 音量ダウン?
) 数値 音量アップ?
[ リピート開始
] [数値] リピート終了
@ 文字列 音色
@P "名前" パッチ?
@BouKiCHi
BouKiCHi / StringFormat.h
Created January 16, 2021 07:40
StringFormat for Arduino
// StringFormat for Arduino
// Copyright (c) 2021 BouKiCHi
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
@BouKiCHi
BouKiCHi / make_image.ps1
Created May 16, 2020 06:58
MUCOM88W diskimage builder
#
# MUCOM88W compile song and build image
#
param($songFilename="song.muc")
if (-not (Test-Path $songFilename)) {
"$songFilename が見つかりません"
return
}
@BouKiCHi
BouKiCHi / DOSBOX-X_PC98.MD
Created May 12, 2020 03:21
DOSBox-X 使用方法
@BouKiCHi
BouKiCHi / opnax4.muc
Last active May 2, 2020 03:39
OPNAx4 mucomWDotNET testdata
#mucom88 1.5
#title Test MML x4
#composer bkc
#author bkc
#voice voice.dat
#driver mucomDotNET
; OPNA1
; 01234567890
; ABCDEFGHIJK
@BouKiCHi
BouKiCHi / s3.muc
Last active April 15, 2020 22:46
mucomWテストデータ
#mucom88 1.5
#title Test MML2
#composer bkc
#author bkc
#voice voice.dat
; OPNA1
; 01234567890
; ABCDEFGHIJK
@BouKiCHi
BouKiCHi / utf8test.txt
Created April 5, 2020 15:48
UTF8テスト
;⁈
;あ
;😁
;上から
;2バイト
;3バイト
;3バイト(ひらがな)
;4バイト(顔文字)