Nice stuff Anton. Thanks for sharing. I see a lot of duplication of code in here. I would have probably triggered different instances of a more generic higher-level instrument with different p-fields, rather than duplicate the entire instrument's code with slight modifications. I had no problems with performance though. It ran fine for me on my laptop. I do this kind of thing with Cabbage quite a bit. I do like step sequencers. I've attached the code I used for a simple one recently. It's a matrix of 100 toggle boxes. But the code it quite succinct. You can discard the Cabbage parts, but maybe you can find something of interest in how I check the values of each widget using arrays.
Re: [Csnd] Tonematrix. musical game reimplemented with Csound
I didn't turn on all buttons either, good point! To be honest, I've noticed that Csound can choke a little when I'm triggering lots of instruments(>20) simultaneously several times a second but I guess it's to be expected? Or maybe not. I should prepare an example.
WOW. Another fantastic and super musical example! Thanks so much for making it and for sharing it.
_____________________________________________ Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Music Technology Division Berklee College of Music 1140 Boylston Street, FB-75 Boston, MA 02215-3693 Office @ 161 Mass Ave - 4th Floor 617-747-2384 (office) 774-488-9166 (cell) ______________________________________________ [hidden email] (email) https://www.facebook.com/richard.boulanger.58 (facebook)