Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26267
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <kroger@pedrokroger.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'pypi': 0.07; 'subject:ANN': 0.07; 'python': 0.09; 'received:internal': 0.09; 'subject:library': 0.09; 'url:github': 0.09; '2.7': 0.13; 'library': 0.15; '3.2.': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:mail.srv.osa': 0.16; 'received:messagingengine.com': 0.16; 'received:nyi.mail.srv.osa': 0.16; 'received:osa': 0.16; 'received:srv.osa': 0.16; 'subject:] ': 0.19; 'import': 0.21; 'example': 0.23; 'notes': 0.30; 'basic': 0.30; '-----': 0.32; 'quickly': 0.32; 'subject:Simple': 0.33; 'to:addr:python-list': 0.33; 'charset:us-ascii': 0.36; 'subject:[': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'save': 0.61; 'header:Message-Id:1': 0.62; 'music': 0.79; 'hackers.': 0.84; 'musical': 0.84; 'homepage': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:content-type :content-transfer-encoding:subject:message-id:date:to :mime-version; s=smtpout; bh=HkGJyCQjLHahau26o/2rexfLBUw=; b=aXA rr23NfmYbk0VwiQhQM37ufYGNbQQWGKKxAv8eEQFaahbW7o5VGJXlbY1Df6uYWJ9 qAHPwdC3KaM1iRCnt8Hz+pL8XJoH7hG21N7KJDS+2vllyz2YWTHPf/F/3VVJU/9t q/jTTbFy4XLR2m7ey3JoECWdOyqizafji4lFfxAo= |
| X-Sasl-enc | 5NnsWV6lFOMq1t/li6pogQysasdWQ7ilyp/wgkD/rRbZ 1343671294 |
| From | Pedro Kroger <kroger@pedrokroger.net> |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Subject | [ANN] pyknon: Simple Python library to generate music in a hacker friendly way. |
| Date | Mon, 30 Jul 2012 15:01:32 -0300 |
| To | python-list@python.org |
| Mime-Version | 1.0 (Mac OS X Mail 6.0 \(1485\)) |
| X-Mailer | Apple Mail (2.1485) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2740.1343671881.4697.python-list@python.org> (permalink) |
| Lines | 26 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1343671881 news.xs4all.nl 6871 [2001:888:2000:d::a6]:45337 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26267 |
Show key headers only | 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 | Next — Next in thread | Find similar | Unroll 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