Issue 114 in mingus: Mingus tutorial 1

46 views
Skip to first unread message

min...@googlecode.com

unread,
Apr 16, 2012, 11:24:00 AM4/16/12
to mingus...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 114 by chunzhan...@gmail.com: Mingus tutorial 1
http://code.google.com/p/mingus/issues/detail?id=114

I enter the code in Python 2.6 as following

from mingus.midi import fluidsynth
fluidsynth.init("AJH_Piano.sf2", "alsa")
fluidsynth.play_Note(Note("C-5"))


when I run it, I got error as following:

Traceback (most recent call last):
File "/home/chunzhang/Projects/Python/Mingus/PlayNote.py", line 3, in
<module>
fluidsynth.play_Note(Note("C-5"))
NameError: name 'Note' is not defined

I am very new the Python and Mingus, please help.

min...@googlecode.com

unread,
Aug 1, 2012, 11:17:30 AM8/1/12
to mingus...@googlegroups.com

Comment #1 on issue 114 by emanat...@gmail.com: Mingus tutorial 1
http://code.google.com/p/mingus/issues/detail?id=114

Same issue, please help.

min...@googlecode.com

unread,
Dec 29, 2012, 7:08:25 PM12/29/12
to mingus...@googlegroups.com

Comment #2 on issue 114 by stefaan....@gmail.com: Mingus tutorial 1
http://code.google.com/p/mingus/issues/detail?id=114

add the following on top of your code:

from mingus.containers.note import Note


nichola...@gmail.com

unread,
Sep 16, 2013, 11:44:59 PM9/16/13
to mingus...@googlegroups.com, codesite...@google.com, min...@googlecode.com
Just to clarify, it should be:

from mingus.containers.Note import Note 

The N's need to be capitalized.
Reply all
Reply to author
Forward
0 new messages