Skip to content

Instantly share code, notes, and snippets.

View instr3's full-sized avatar
๐Ÿ
You found a pineapple!

Junyan Jiang instr3

๐Ÿ
You found a pineapple!
View GitHub Profile
import pretty_midi
import mido
import six
from typing import Union
from pretty_midi.utilities import (key_name_to_key_number, qpm_to_bpm)
from pretty_midi import TimeSignature
from pretty_midi import KeySignature, Lyric, Text
from heapq import merge

่ƒŒๆ™ฏ

  • ๆ—ฅ่ฏญ้Ÿณ่ฏป็š„ๆฅๆบ้€šๅธธๆœ‰ๆฑ‰้Ÿณๅ’Œๅด้Ÿณ๏ผŒๅด้Ÿณ็š„ไพ‹ๅญ่พƒๅฐ‘
    • ๅฝ“ไธ€ไธชๆฑ‰ๅญ—ๆœ‰ไธคไธช้žๅธธไธๅŒ็š„้Ÿณ่ฏปๆ—ถ๏ผŒ้€šๅธธๆ„ๅ‘ณ็€ไธ€ไธชๆ˜ฏๆฑ‰้Ÿณ๏ผŒๅฆไธ€ไธชๆ˜ฏๅด้Ÿณ๏ผˆๅฆ‚๏ผš้ ญ๏ผšใจใ†๏ผŒใš๏ผ‰
  • ๆ™ฎ้€š่ฏ็š„ๆฅๆบๅŸบไบŽๅŒ—ไบฌๆ–น่จ€๏ผŒไฝ†ๆ˜ฏๅŒ—ไบฌๅฎ˜่ฏๅ—ๅˆฐๅ—ไบฌๅฎ˜่ฏ็š„ๅผบ็ƒˆๅฝฑๅ“๏ผŒไปฅๅŠๅ„็งๅค–ๅœฐไบบ่ฟ›ๅ…ฅๅŒ—ไบฌ็š„ๅฝฑๅ“๏ผŒไธŽไธญๅคๆฑ‰่ฏญ็š„ๅฏนๅบ”ไผš่พƒไธบๅคๆ‚ใ€‚

ไธญๅคๆฑ‰่ฏญๆธ…ๆตŠ

  • ็ฟ˜่ˆŒ้ŸณไธŽๅคฑๅŽป็š„i๏ผš้ƒจๅˆ†็š„็ฟ˜่ˆŒ้Ÿณ๏ผˆๅฆ‚ๅธธ๏ผ‰็š„ๅคๆ—ถ้Ÿตๆฏๆ›ดๆŽฅ่ฟ‘ไบŽiang่€Œ้žang๏ผŒ่€ŒiๅŽ็ปญ่ขซไธขๅคฑใ€‚ไฝ†ๆ˜ฏ้ƒจๅˆ†็ฟ˜่ˆŒ้Ÿณๆœฌ่บซๅฐฑไธๅธฆi๏ผˆๅฆ‚ๅฑฑ๏ผ‰๏ผŒๅ› ๆญคๆƒ…ๅ†ต่พƒไธบๅคๆ‚ใ€‚ๅœจๅŒ—ไบฌ่ฏไธญ๏ผŒโ€œ็Ÿฅๅบ„็ซ โ€่ฟ™ไธ‰็ป„initialๅ‘้Ÿณ่ขซๅˆๅนถๆˆไบ†็ฟ˜่ˆŒ้Ÿณใ€‚โ€œ็ฒพโ€็ป„ๅ˜ไธบๅนณ่ˆŒ๏ผˆไธ่ฟ‡ไธญ้—ดไธๅฐ‘้ขšๅŒ–ไบ†๏ผŒๅฐ–ๅ›ขๅˆๆต๏ผ‰ใ€‚ๅœจ็ฟ˜่ˆŒ้Ÿณ็š„่ฟ™ไธ‰็ป„ไธญ๏ผš
  • ๅบ„็ป„ๆฏ”่พƒๆŽ’ๆ–ฅ่ฟ™็ง้Ÿณ๏ผŒๆœฌๆฅๅฐฑๆฒกๆœ‰ /i/ ๏ผˆๅฆ‚ๅฑฑ๏ผ‰
@instr3
instr3 / Favoriate mod music
Last active October 7, 2022 18:42
Favoriate mod music
็›ฎๅฝ•: D:\Dataset\misc\mod\Good
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2022/10/7 10:09 1558786 a-qsilv.it
-a---- 2022/10/5 21:04 357448 aard_woya.it
-a---- 2022/10/7 22:18 261099 aa_light.xm
@instr3
instr3 / readme.txt
Created June 29, 2021 14:59
Elephant Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@instr3
instr3 / readme.txt
Created June 29, 2021 14:45
Elephant Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@instr3
instr3 / readme.txt
Created June 29, 2021 14:20
Elephant Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@instr3
instr3 / readme.txt
Created June 29, 2021 14:04
Elephant Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@instr3
instr3 / readme.txt
Created June 29, 2021 13:15
Elephant Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@instr3
instr3 / readme.txt
Created June 29, 2021 12:52
Elephant Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@instr3
instr3 / readme.txt
Created June 29, 2021 12:47
Elephant Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html