Python music21.note.Note().pitch.accidental

사용 버전 : Python 3.6.8
사용 프로그램 : Atom 1.36.1 x64


파이썬 music21.note.Note().pitch.accidental에 대해서 알아보겠습니다.


music21.note.Note().pitch.accidental은
현재 음표(Note)의 임시표(Accidental) 상태를 나타냅니다.




아무것도 없으면, None을 반환합니다.





'#'가 하나면, accidental sharp를 반환합니다.






'#'가 두 개면, accidental double-sharp를 반환합니다.







'#'가 세 개면, accidental triple-sharp를 반환합니다.










'#'가 네 개면, accidental quadruple-sharp를 반환합니다.






'b'이 한 개면, accidental flat을 반환합니다.





'b'이 두 개면, accidental double-flat을 반환합니다.







'b'이 세 개면, accidental triple-flat을 반환합니다.







'b'이 네 개면, accidental quadruple-flat을 반환합니다.







네츄럴이 들어가면, accidental natural을 반환합니다.





끝.



카테고리: Python, music21

댓글

이 블로그의 인기 게시물

Python OpenCV 빈 화면 만들기

Python urllib.parse.quote()

Python bytes.fromhex()

Forensics .pyc 파일 .py로 복구하기

Android AVD Ram size change

Android Minimum touch target size

KiCad 시작하기 7 (FreeRoute 사용하기 2)

Android Notification with Full Screen

C++ OpenCV 모폴로지 침식, 팽창

KiCad 시작하기 2 (PCB 만들기)