secret
Created

Trying out Melopy

  • Download Gist
install and example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
(venv)[2012-04-03 13:25:47] pavel@addison:~/projects/Melopy
# python examples/canon.py
[==================================================] 100%
Done
(venv)[2012-04-03 13:25:57] pavel@addison:~/projects/Melopy
# ls -alhrt
total 5040
-rw-r--r-- 1 pavel staff 725B Apr 2 16:31 setup.py
-rw-r--r-- 1 pavel staff 13B Apr 2 16:31 requirements.txt
-rw-r--r-- 1 pavel staff 2.5K Apr 2 16:31 README.markdown
-rw-r--r-- 1 pavel staff 1.0K Apr 2 16:31 MIT-LICENSE
-rw-r--r-- 1 pavel staff 55B Apr 2 16:31 .gitignore
drwxr-xr-x 7 pavel staff 238B Apr 2 16:32 venv
drwxr-xr-x 3 pavel staff 102B Apr 2 16:32 dist
drwxr-xr-x 4 pavel staff 136B Apr 2 16:32 build
drwxr-xr-x 6 pavel staff 204B Apr 2 16:32 Melopy.egg-info
drwxr-xr-x 5 pavel staff 170B Apr 2 16:34 nose-1.1.2-py2.7.egg
drwxr-xr-x 109 pavel staff 3.6K Apr 2 17:16 ..
drwxr-xr-x 11 pavel staff 374B Apr 3 13:25 examples
drwxr-xr-x 14 pavel staff 476B Apr 3 13:25 .git
drwxr-xr-x 6 pavel staff 204B Apr 3 13:25 tests
drwxr-xr-x 10 pavel staff 340B Apr 3 13:25 melopy
drwxr-xr-x 17 pavel staff 578B Apr 3 13:25 .
-rw-r--r-- 1 pavel staff 2.4M Apr 3 13:25 canon.wav
running tests
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
(venv)[2012-04-03 13:26:31] pavel@addison:~/projects/Melopy
# python setup.py test
running test
running egg_info
writing Melopy.egg-info/PKG-INFO
writing top-level names to Melopy.egg-info/top_level.txt
writing dependency_links to Melopy.egg-info/dependency_links.txt
reading manifest file 'Melopy.egg-info/SOURCES.txt'
writing manifest file 'Melopy.egg-info/SOURCES.txt'
running build_ext
test_generate_chromatic_scales (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_generate_major_pentatonic_scales (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_generate_major_scales (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_generate_major_triad (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_generate_minor_pentatonic_scales (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_generate_minor_scales (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_generate_minor_triad (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_iterate (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_key_to_frequency (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_key_to_note (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_note_to_frequency (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_note_to_key (tests.melopy_tests.LibraryFunctionsTests) ... ok
test_dummy (tests.melopy_tests.MelopyTests) ... ok
 
----------------------------------------------------------------------
Ran 13 tests in 0.014s
 
OK
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/util.py", line 258, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/util.py", line 258, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.