I’m building a drum sequencer. I had 5 voices for the drum sounds, now 10. Each is a sub patch with various function boxes for adsr, number boxes for frequency, etc. all being synthesized from cycle~ and noise~. My problem is that i’ve noticed the patch has become quite slow since adding an additional 5 voices (now 10 altogether). My cpu usage is only at around 10%.
My understanding of poly~ isn’t absolutely clear right now but would I be able create a poly~ object of these 10 sub patches in order to make this patch a little bit more responsive? Maybe I could create one set of function and number boxes and send those attributes to each voice of poly maybe? Or what would maybe be a better solution?
Post your patch. Could be a lot of things causing inefficiencies.
i think i figured it out, i moved all my pan objects into the sub patcher and temporarily got rid of all the meter~ objects and for some reason it seems to be running fine.
i just have another issue i’ve run into that i would appreciate some insight on..
It seems like i need to create some sort of connection between the sequencer’s tempo and the domain of each function box in order to avoid clicking because when i have the tempo fast enough and the domain short enough, i’m getting a POP at the beginning of the sound being trigger even though my adsr function boxes are set to fade in .
Also, is it a good rule of thumb to scale every amplitude .25 to avoid clipping in a situation like this? i’ve read something like that somewhere and its been in the back of my mind for some time now… thanks for any help in advance
regarding the popping, i guess what i’m asking is there a way to interrupt those waveforms without causing a pop or without adjusting the domain to be the same as the tempo of the sequencer?
you should really post an example of what you’re describing, a small excerpt from your main patch. As for amplitude scaling, divide total amplitude, 1., by the number of combined signals, then scale each audio signal by that value. For example, 8 voices should each be scaled by 0.125, 2 voices by 0.5.
----------begin_max5_patcher---------- 798.3oc6X00aaBCE84To9e.wiaoHLX9HSZOreGUQUNfapqH1HaSVRqV+sO+A jPVSR8ZSYop6gfuXeAe7wm60WxiWdwH+YrUXgu227t1aznGU8LxzmtmQccLx eAZUQERXbzuhrDGLGQnO4Otc7kHNEs.engoMKHzJrz77Qc8RJM9ylc+U.3Fe qQxh6Hz42vwERKvhgSBBG6Ekloaf45qf3zfPuo8lAViraJR5511mbcM19l7E j4TTk+39V5e2VwPRsQEQnl0oaQCWstjX9MXJZVk40.5FTfVhKuAIkbxrFIdq knk953OMAU0fY210+lA5OCUL57ivh63q3NFW5pycq+v8M3B0VidvqxBCNfC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