sample folder load
andr-ew opened this issue · comments
great for drums !
drums = cartographer.folder(cartographer.buffer, '~/dust/audio/common/808')
cartographer.assign(drums['808-BD'], 1)
cartographer.assign(drums['808-CP'], 2)
drums:trigger(1)
drums['808-CP']:trigger()
files = scandir (directory)
ch, len = audio.file_info(file)
++ let's do an optional last arg for maximum length to load