Use sample pack alias

use_sample_pack_as

[pack_path (string)]

Similar to use_sample_pack except you can assign prefix aliases for samples. This lets you 'namespace' your sounds so that they don't clash, even if they have the same filename.

Introduced in v2.0.0

Example 0 


# lets say you have two folders of your own sample files,
# and they both contain a file named 'bass.wav'
use_sample_pack_as '/home/yourname/my/cool/samples/guitar', :my_guitars
use_sample_pack_as '/home/yourname/my/cool/samples/drums', :my_drums

# You can now play both the 'bass.wav' samples, as they've had the symbol stuck on the front
sample :my_guitars_bass   
sample :my_drums_bass 



 
 
 
 
 
 
 
 #=> plays '/home/yourname/my/cool/samples/guitar/bass.wav'
 #=> plays '/home/yourname/my/cool/samples/drums/bass.wav'