my own step sequencer

shaker08's picture

hi guys ! this is the basic idea about my grove box/step sequencer, for me is cool but i have some problems that i cant undestand why its happens ...

-don't work so much fine... when i scroll the trackpad or click the editor the sound sometimes starting to glitch..

-sometimes lost the first value "0" and start in the second step , always when change the velocity

  • the first condicional should be " equal to 0 " but i need to put the value 0.001 because dont recognize 0 from interpolation ( happens the same with 1 , i need to put 0.99 ) its a bug??

-this failures are because the composition need a optimization or because the audio player is not good as it should be ???

add a video demo : https://vimeo.com/51408810

i hope u like the idea and many thanks !!!

PreviewAttachmentSize
groove box 08.zip130.83 KB

Swiftlikeninja's picture
Re: my own step sequencer

I took a stab at the sequencer app with your composition as inspiration. I cant really attest to the sluggish behavior other than to say that is happen to me with a lot of patches on the field in the editor. If you were to build this out as a standalone app I think the majority of the issues with disappear.

I was able to reduce the patches used by using iterators. I'm using two iterators, one to form the visuals and the other to control the toggle (I posted a separate thread on the matter that will allow me to get rid of the later). The Grid Generator Patch I picked up somewhere along the way (most likely from here). In the attached Comp you can changed the number of beats and the duration to allow some expansion.

PreviewAttachmentSize
Sequencer.qtz50.68 KB

shaker08's picture
Re: my own step sequencer

yeahh great reinterpretation !!! the "lost first value" problem look solved but still glitching audio.. i think is kineme file player :( , i like ur idea thanks for test !!!

Swiftlikeninja's picture
Re: my own step sequencer

Thanks!

I ran into the Lost First Value issue as well, in my case it was originating from the way numbers are translated into index. 1.5 was rounded to index 2 and so forth, I dropped a round number in there and plugged only the floor value.

Someone else can correct me if im wrong but i think the audio glitching is coming from the way resources are allocated to the composition. Quartz composer shares threads with the compositions you are running, so if any task needs to be handled by the editor pane then it will use available resources from the comp. if the app was built out as a standalone it would have dedicated resources and should resolve the glitching. Quartz builder (available for purchase on kineme) would allow you build out the program without having to know xcode.

shaker08's picture
Re: my own step sequencer

thanks mate i will try with round number, i hope that can solve the problem.. , and yes i known quartz builder but unfortunately i havent money yet to purchase a license :( but sounds coherent...