BachDuet enables a human performer to improvise a duet counterpoint with a computer agent in real time.
Check the code of a recent implementation of BachDuet using Vue.js and visit bachduet.com to itneract with BachDuet
- Midi Keyboard (if not available, you can still use your pc keyboard)
- Any virtual midi synthesizer. BachDuet's output is MIDI events (not audio), so you need a synthesizer. It can be a standalone synth like Fluidsynth, OMNI midi, or it can be any DAW running MIDI plugins.
- Windows/Mac/Linux
- Python = 3.8
- PyQt5 = 5.12.3
- pytorch = 1.4
- python-rtmidi
- pyqtgraph = 0.12.3
- music21
- numpy
- scipy
- matplotlib
- python main.py
- Choose HumanVsMachine, and enter your name
- Press Ctrl+P (or the settings icon) to open settings and select Midi input and output
- Press space (or the play icon) to start (or pause)
- Start playing.
- "MachineVsMachine" mode not working correctly