andr-ew / cartographer

norns softcut buffer space utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sample folder load

andr-ew opened this issue · comments

commented

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()
commented

files = scandir (directory)
ch, len = audio.file_info(file)

++ let's do an optional last arg for maximum length to load