Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26267

[ANN] pyknon: Simple Python library to generate music in a hacker friendly way.

From Pedro Kroger <kroger@pedrokroger.net>
Subject [ANN] pyknon: Simple Python library to generate music in a hacker friendly way.
Date 2012-07-30 15:01 -0300
Newsgroups comp.lang.python
Message-ID <mailman.2740.1343671881.4697.python-list@python.org> (permalink)

Show all headers | View raw


Pyknon is a simple music library for Python hackers. With Pyknon you
can generate Midi files quickly and reason about musical proprieties.
It works with Python 2.7 and 3.2.

Pyknon is very simple to use, here's a basic example to create 4 notes
and save into a MIDI file::

    from pyknon.genmidi import Midi
    from pyknon.music import NoteSeq

    notes1 = NoteSeq("D4 F#8 A Bb4")
    midi = Midi(1, tempo=90)
    midi.seq_notes(notes1, track=0)
    midi.write("demo.mid")


It's available on PyPI and its homepage is
http://kroger.github.com/pyknon/

Best regards,

Pedro
-----
http://pedrokroger.net
http://musicforgeeksandnerds.com

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[ANN] pyknon: Simple Python library to generate music in a hacker friendly way. Pedro Kroger <kroger@pedrokroger.net> - 2012-07-30 15:01 -0300
  Re: [ANN] pyknon: Simple Python library to generate music in a hacker friendly way. Peter Billam <peter@www.pjb.com.au> - 2012-08-01 03:19 +0000

csiph-web