overtone

srihari 2015-11-30T03:40:07.000017Z

@coledubs: Agree. What you write inside defsynth for example, mostly isn’t clojure.

srihari 2015-11-30T03:41:17.000018Z

I was trying to dynamically/programmatically create synths, and ran into this.

srihari 2015-11-30T03:42:25.000019Z

It’s been a while since I did this though, so I might be wrong. Synths can take in only a list of doubles, and has a limit of 10 arguments or so. If I want to programmatically pass in more arguments, I can’t. Can’t pass in a map, or a function.

srihari 2015-11-30T03:43:10.000020Z

I ended up building a macro that does mathematical operations outside of defsynth, and then passes only necessary args to create instruments.

srihari 2015-11-30T03:43:57.000023Z

I wonder if I’m doing something utterly wrong though.

srihari 2015-11-30T03:44:39.000024Z

I’d love suggestions :simple_smile: