Skip to content

Auto chord generator, pure python package that generate chord progressions according to given melodies

License

Notifications You must be signed in to change notification settings

JohnnyHHU/Chorderator

 
 

Repository files navigation

AccoMontage2

A useful tool to generate chord progressions and accompaniment according to melody MIDIs

Demo

import chorderator as cdt

if __name__ == '__main__':

    demo_name = 'hpps30'
    input_melody_path = 'MIDI demos/inputs/' + demo_name + '/melody.mid'

    cdt.set_melody(input_melody_path)
    cdt.set_meta(tonic=cdt.Key.A)
    cdt.set_segmentation('A8B8A8B8')
    cdt.set_texture_prefilter((0, 2))
    cdt.set_note_shift(16)
    cdt.set_output_style(cdt.Style.POP_STANDARD)
    cdt.generate_save(demo_name + '_output_results')
    

Folder chorderator/utils/models/accomontage referencing AccoMontage by Jingwei Zhao and Gus Xia, available at https://github.com/zhaojw1998/AccoMontage

Run GUI

Please check all the requirements in backend/requirments.txt are satisfied, and run

python backend/app.py

You can interact with the GUI at http://127.0.0.1:5000.

About

Auto chord generator, pure python package that generate chord progressions according to given melodies

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.1%
  • HTML 9.6%
  • JavaScript 8.6%
  • Other 0.7%