yam655 / bittyband

An experimental musical instrument/tool
GNU General Public License v3.0
2 stars 0 forks source link

refactoring + import with sample playback #24

Closed yam655 closed 7 years ago

yam655 commented 7 years ago

Major changes.

We have a shared "genericlister" that is used by both the jam lister as well as the import selector and can also be leveraged for the spreadsheet-based import process.

We support non-blocking curses.getkey operations within the same thread, also supporting better timeouts than normally supported by curses (using fractional seconds) and not needing to perform a catch if a time-out occurs. (It returns None, which makes sense.)

My target WAV files don't seem to work right now, but MP3 files work, so I can work with it.

The import file-selector works with MP3s and allows previewing the file, as well as seeking by minutes and seconds using the </> and [/] keys. (Regardless of shift state.)

closes #23