Hi Eric ... good to hear some others using Overtone
I'm trying to post a message to the Overtone Google Groups, but it's not been reviewed yet and doesn't look very active.
I'm trying to come up with a simple loop syntax for Overtone -- to avoid all those at
functions -- and it's good to learn more about macros. What do people think about this: https://github.com/ericclack/overtone-loops
I just ran my eyes over the code. Looking specifically at amen1.clj, it seems like there could be an easier way for me to line up my beats. Not thinking too much about implementation, this is how I might write a beat
(defloop hats1 8 openhat [0.5 0.6 0.7 0.0 0.5 0.6 0.7 0.4])
(defloop kicks1 8 kick [0.7 0.8 0.0 0.0 0.0 0.4 0.9 0.0])
Would love to line it up horizontally like when I'm actually transcribing a pattern on graph paper.
That's interesting... I'll have a play with that. What about velocity/amplitude or other adjustments to the instrument?
Actually are those amplitudes with 0 = no beat?
A muted beat. That was my quick impression about how I'd want to approach it. I want that horizontal graph.
How about this: https://github.com/ericclack/overtone-loops/blob/deflooplist/src/overtone_loops/examples/deflooplist.clj
Can you suggest a better name for the macro?
Not sure. I cloned the repo on my computer to hear the bleeps and bloops. Looks like deflooplist.clj is gone. What should I look at now?
OK. I see what branch I should be looking at.
Once I downloaded the correct branch and replaced the overtone.live with overtone.core for my Windows computer, it seems good. Immediately got a beat in deflooplist.clj and bobbed my head to it. "deflooplist" seems like the kind of name I would come up. "defloop" should do the job. Oh, wait. I see you are already using that name. No ideas. I'm bad at names. I see where you remodeled the sample player from freesound. Good stuff.
I wonder if I can overload the defloop function so that it works with both cases ...
Hey it worked 🙂 Merge to master coming soon...
I'm useless just looking at this code and forming an opinion about it. I really should get Overtone running and try it out. Last time I tried SuperCollider's server made me rage quit.
The freesound function! Just being reminded of that made the trip to your repository worthwhile.