Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 10 lines (7 sloc) 0.202 kB
6fcf473 @kroger Initial import
authored
1 #!/usr/bin/env python
2
3 from pyknon.genmidi import Midi
936de0d @kroger Update sample to use new code. Fixes #1
authored
4 from pyknon.music import NoteSeq
6fcf473 @kroger Initial import
authored
5
1aeb4b5 @kroger simplify demo
authored
6 notes1 = NoteSeq("D4 F#8 A Bb4")
7 midi = Midi(1, tempo=90)
8 midi.seq_notes(notes1, track=0)
936de0d @kroger Update sample to use new code. Fixes #1
authored
9 midi.write("demo.mid")
Something went wrong with that request. Please try again.