Editting Filters in RealTime
Hi Guys,
I've been setting up some basic filters and trying to modify their parameters in realtime. something really simple like so
AELowPassFilter *lowPass = [[AELowPassFilter alloc] init];
[controller addFilter:filter toChannelGroup:group];
and in a UISlider callback I set the value, but nothing changes.
- (IBAction)harmonyLoPassFreqValueChanged:(id)sender {
UISlider *slider = (UISlider *)sender;
[self groupForKey:kHarmonyGroupKey].eq.lowPassCutoff = slider.value;
}
Can you guys offer some help in modifying filter values in realtime?
Edit:
Apologies if this has been asked before. I have been searching the forum with no luck.
Edit 2:
I am on AAE 1.5.5 at the moment. Silly thing about Agile development is updating things doesn't always make it to the product backlog
Comments
Hey @marko. Have you definitely verified that
[self groupForKey:kHarmonyGroupKey].eq
is returning the same instance of theAELowPassFilter
?@Michael
Thanks for chiming in. It was some unrelated issue. I was using the filter on a set of AEAudioPlayables that were not playing anything. thanks for confirming that is indeed possible. cheers.