File: message-test

package info (click to toggle)
python-mido 1.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 868 kB
  • sloc: python: 3,854; makefile: 136; sh: 4
file content (7 lines) | stat: -rwxr-xr-x 123 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/usr/bin/python3

import mido

msg = mido.Message('note_on', note=60)
assert msg.type == 'note_on'
assert msg.note == 60