File: message-test

package info (click to toggle)
python-mido 1.3.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 920 kB
  • sloc: python: 4,006; makefile: 127; sh: 4
file content (7 lines) | stat: -rwxr-xr-x 123 bytes parent folder | download | duplicates (3)
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