Skip to content

TedSinger/quaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A music composition library for Python

$ pip install git+https://github.com/TedSinger/quaver

>>> from quaver.compose import *
>>> # Transpose a note up by a fifth
>>> C3.T(PFT_5)
G3
>>> # an A# major triad
>>> (+A4).maj
{+A4, D5, F5}
>>> # A D-Major scale, with some style modifiers
>>> play(Decrescendo(2) ** Longer(2) ** Staccato ** MajorKey(D4)[D4:D5], tempo=140)

See quaver/pieces/example.py for more examples

Requires SoX play to automatically play, but can produce .wav files without it.

About

A music composition library for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages