Skip to content

modulating the numbands does not zero the output #78

Closed
@tremblap

Description

@tremblap

When we have maxNumBand (like mel, chroma and mfcc) and we modulate the number of bands downwards, let say from 10 to 4, the output stays 10 wide, which is the current expected result. What is less expected is that the values of the 'unused' bands are not zeroed.

sc:

x = {|nband=10| FluidMelBands.kr(WhiteNoise.ar(0.2),nband,maxNumBands: 10).scope}.play
//10 wiggles

x.set(\nband, 4)
//sample and hold instead of 0 for bands 5-10

max:


----------begin_max5_patcher----------
446.3ocsT1sabBCDE9Z3ovxWSs7eXf9pTEE4cwcqi.CBaR1pnjm8ZOlsJsYS
KMQ8FrliG3LeiG7ikE3CSmMdL5ynufJJdrrn.jRBEawE3Q84iCZOjFdz385S
FbUduf4b.zojZdmh2fnjVdKWwQLRsjJqaPbhnU0nXHIoUwZUwUlPzJ5PBRSK
UQkwT55XrNYTgVmhjTkTbwD25n0MXBPEv2Ds8fuSGt6SxWj3zZ3RlrM0rT36
ylLnXL5lssl0giey5Nc6h4XHuKSVSnUHNCVT0RHhSnnaRuySkkoGU6rc4LOD
qvW0sbSVu44qxG607w+G4yaO4zC+YJU.WLJPo7+BjecX01SFMCGztd+yQy1K
vrqCL+s.dv5C3p+1AqfBHWKfEF8CwrNDVVs6EH06dBM4StIuNB8Q7aSnngkX
pciyqCH7kicL2u+eO7AS5+J09o0kiWpqMVPzeVe8Fev5zA6j6E4vx4b095d8
gsCeh+4iXePe3uKdxsQ8778lE+VxfEwwj6lfir1JHz5xgvzKdwbu8R9TPQuD
OGCwCw0EnrvmU4KzviS8lEWbJKMpTlfKZILB5zw6gm0YNfI0xmJ+A7XeVgJ
-----------end_max5_patcher-----------

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions