Okay, this is weird. This code throws an error:
kwargs = {amp: 2, foo: [1, 2, 3]}
sample :bd_808, **kwargs
This seems trivial, but I need to find a fix, because I have wrapper methods where I can pass in arbitrary params to control a sample or synth, and I need to pass them through to the synth or sample.
But if the value of the hash is an array, it totally chokes.
I’ve hacked the code I’m working on to strip out all args that contain array values in the hash, but I’d like a more elegant solution – and an explanation of why this is happening!
Any insights?
Thanks!