Clamps Dictionary
load-all-lsamples
Function
(load-all-lsamples parent-dir &key (hashtable (make-hash-table)) exclude)
Return a hash table with lists of lsamples of all soundfiles in all subdirectories of parent-dir except directories listed in exclude. The keys of the hashtable are keywords of the subdirectory names.
Arguments
parent-dir |
Pathname of a directory to recursively search for soundfile directories. |
:hashtable |
Hashtable to store the retrieved lsamples. |
:exclude |
List of strings of directories to exclude. |
Note
There is no checking for duplicate directory names. If two or more directories of the same name exist, the last directory encountered will replace any previously added entries of that directory name in the hashtable.