hello,
I need to figure out the current block size, in case I change it in the settings
also, is there a way to pass a block size to block~ object ?
thanks
how to get current block size?
hello,
I need to figure out the current block size, in case I change it in the settings
also, is there a way to pass a block size to block~ object ?
thanks
@whale-av: [pp] can usually be replaced with [list prepend] connected to a [list trim]
@phil123456 Hello Phil........ yes.... I forgot...... Seb is correct...... the block size for your patch is always 64 unless you change it using [block~] within a window. That window and all sub windows will be affected. The audio setting block size is just for the final in/out to your sound card(s).......
Be careful.... [inlet~] and [outlet~] will re-block between windows........ but the others..... [send~] [throw~] etc. might not!
David.
but you can change it to other values than 64
I dont want to change all my subpatches if I decide to use 1024 samples blocks in the audio settings for instance
@phil123456 If you set 1024 in the audio settings all of your patches will stay at 64 (unless you use a [block~] object in a window so as to change the block size for ONLY that window AND any sub windows........ e.g. pd-subwindow). The 1024 will be only for communication with the sound card.
If you use the [block~] object in a window DO NOT use [send~] [receive~] [throw~] or [catch~] as they might not work correctly....... only use [inlet~] and [outlet~] as they can convert between block sizes.
Using less than 64 within windows gives less audio delay, and using more reduces the computational load....... see........ http://puredata.info/docs/manuals/pd/x2.htm............... chapter 2.4.4...
David.
damned, I use throw~/catch~ & send~/receive~ to make my patches less spagethiish
also block can only be used in sub patches, so I would have to modify all subpatches if I change audio settings, and I want to avoid that
@phil123456 No...... if you change "audio settings" nothing changes in your patch......
David.
dude we are not on the same frequency here, you dont understand
" if you change "audio settings" nothing changes in your patch.." that's the whole point of my post
If i use 1024 in my audio settings, and my patches use block 128 for instance, I would have to change them all
alright, I'll rephrase
I want all my sub patches block/switch instructions to be updated in accordance to audio settings block size
this is so simple, and I cant believe nobody ever considered this before
I already read paragraph 2.4.4 but it does not adress the issue
also, what if I want a subpatch to have a block size half of its parent ?
hence me wanting to fetch block size somehow
the only solution I found so far is to send a block size to all my subpathces
Oops! Looks like something went wrong!