Module ImportFrom alias Import alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Print Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd SubscriptLoad NameLoad Slice Num Str Assign AttributeStore NameLoad attr Dict Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str For NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str AugAssignAdd NameStore Str With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str AugAssignAdd NameStore AttributeLoad NameLoad attr Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str For NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str AugAssignAdd NameStore Str With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str AugAssignAdd NameStore AttributeLoad NameLoad attr Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Assign NameStore Call NameLoad BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Print BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body AugAssignAdd NameStore Str For NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str AugAssignAdd NameStore AttributeLoad NameLoad attr Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr
N/A first_peaks_method MIDI_Detector N/A sys N/A os NotePlotter N/A object N/A N/A 
        Class used for plotting sheet notes given MIDI note numbers.
     __init__ N/A N/A self wav_file N/A N/A N/A Inside Note Plotter constructor N/A N/A self wav_file wav_file N/A N/A self output_file N/A N/A wav_file N/A -3 ly N/A N/A self number2note N/A 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 a,,, ais,,, b,,, c,, cis,, d,, dis,, e,, f,, fis,, g,, gis,, a,, ais,, b,, c, cis, d, dis, e, f, fis, g, gis, a, ais, b, c cis d dis e f fis g gis a ais b c' cis' d' dis' e' f' fis' g' gis' a' ais' b' c'' cis'' d'' dis'' e'' f'' fis'' g'' gis'' a'' ais'' b'' c''' cis''' d''' dis''' e''' f''' fis''' g''' gis''' a''' ais''' b''' c'''' cis''' d''' dis''' e''' f''' fis''' g''' gis''' a''' ais''' b''' c'''' N/A plot_notes_violin_stuff N/A N/A self N/A N/A N/A 
            Given .wav file detect MIDI notes, convert them into corresponding
            character names. Afterwards plot and save into an output file.
            The class uses lilypond library for drawing sheet notes.
         N/A detector N/A MIDI_Detector N/A self wav_file N/A midi_numbers N/A N/A detector detect_MIDI_notes N/A lilypond_text \version "2.14.2" 
{ 
  \clef treble 
 N/A n midi_numbers N/A N/A N/A n N/A N/A N/A self number2note keys N/A N/A lilypond_text N/A N/A N/A self number2note N/A n N/A lilypond_text 
} N/A N/A open N/A self output_file w f N/A N/A N/A N/A f write lilypond_text N/A command lilypond  N/A command N/A self output_file N/A command N/A N/A N/A os system command N/A plot_notes N/A N/A self N/A N/A N/A detector N/A MIDI_Detector N/A self wav_file N/A midi_numbers N/A N/A detector detect_MIDI_notes N/A lilypond_text \version "2.14.2" 
 N/A lilypond_text   \new PianoStaff { 
 N/A lilypond_text     \autochange { 
 < N/A n midi_numbers N/A N/A N/A n N/A N/A N/A self number2note keys N/A N/A lilypond_text N/A N/A N/A self number2note N/A n N/A lilypond_text >    
}  
} N/A N/A open N/A self output_file w f N/A N/A N/A N/A f write lilypond_text N/A command lilypond  N/A command N/A self output_file N/A command N/A N/A N/A os system command N/A plot_multiple_notes N/A N/A self directory N/A N/A N/A 
            Plots notes using LilyPond library. The notes are on a left and righ
            hand staff (piano) and may be plotted as chords (multiple notes
            played simultaneously). The generated sheet notes are named after
            the music file.
         N/A lilypond_text \version "2.14.2" 
 N/A lilypond_text \score { 
 N/A lilypond_text   \new PianoStaff { 
 N/A lilypond_text     \autochange { 
 N/A numOfFiles N/A len N/A N/A os listdir directory N/A i N/A range numOfFiles N/A N/A file_path N/A N/A note N/A str i .wav N/A detector N/A MIDI_Detector N/A N/A directory / file_path N/A midi_numbers N/A N/A detector detect_MIDI_notes N/A N/A N/A N/A File:  N/A str file_path  MIDI:  N/A str midi_numbers N/A N/A N/A len midi_numbers 0 N/A N/A lilypond_text  <  N/A n midi_numbers N/A N/A N/A n N/A N/A N/A self number2note keys N/A N/A lilypond_text N/A N/A N/A self number2note N/A n N/A lilypond_text  > N/A lilypond_text     
}  
} N/A lilypond_text \layout { } 
 \midi { }  
} N/A N/A open N/A self output_file w f N/A N/A N/A N/A f write lilypond_text N/A command lilypond  N/A command N/A self output_file N/A command N/A N/A N/A os system command N/A N/A N/A N/A __name__ __main__ N/A N/A wav_file N/A N/A sys argv N/A 1 N/A note_plotter N/A NotePlotter wav_file N/A N/A N/A note_plotter plot_multiple_notes