symbiosis and automation

76 views
Skip to first unread message

tomerbe

unread,
Jun 21, 2012, 4:59:27 PM6/21/12
to symbiosi...@googlegroups.com
I got this note from Sony about my Symbiosis wrapped plugins - is there a way to enable the pre-render and post-render notifications in Symbiosis?
---
The problem is related to automation of plugin parameters.

According to Apple, automation of plugin parameters should not happen on the actual render callback of the AU.  Instead, the host sets up a notification callback for
kAudioUnitRenderAction_PreRender and kAudioUnitRenderAction_PostRender.

We set this up using 

AudioUnitAddRenderNotify()


On the pre-render we determine the parameters that need to be automated and call AudioUnitScheduleParameters() accordingly.

With your plugins, we are not getting the pre-render and post-render notifications.
---

Magnus Lidström

unread,
Jun 21, 2012, 5:43:53 PM6/21/12
to symbiosi...@googlegroups.com
Uhm. Weird. They should be there already? See here:

// --- Call pre-render notification callbacks

flags |= kAudioUnitRenderAction_PreRender;
for (int i = renderNotificationReceiversCount - 1; i >= 0; --i) {
(*renderNotificationReceivers[i].inputProc)(renderNotificationReceivers[i].inputProcRefCon, &flags, inTimeStamp
, inOutputBusNumber, inNumberFrames, ioData);
}
flags &= ~kAudioUnitRenderAction_PreRender;

And later...

// --- Call post-render notification callbacks

flags |= kAudioUnitRenderAction_PostRender;
for (int i = renderNotificationReceiversCount - 1; i >= 0; --i) {
(*renderNotificationReceivers[i].inputProc)(renderNotificationReceivers[i].inputProcRefCon, &flags, inTimeStamp
, inOutputBusNumber, inNumberFrames, ioData);
}
flags &= ~kAudioUnitRenderAction_PostRender;

But perhaps there is a bug somewhere. Can't recall if other hosts require this the same way and if it has ever been tested. Which host from Sony are we talking about exactly? Do you have it? Can you enable traces and see if they register notifications (AU kAudioUnitAddRenderNotifySelect)?

/ M

On Jun 21, 2012, at 10:59 PM, tomerbe wrote:

I got this note from Sony about my Symbiosis wrapped plugins - is there a way to enable the pre-render and post-render notifications in Symbiosis?
---
According to Apple, automation of plugin parameters should not happen on the actual render callback of the AU.  Instead, the host sets up a notification callback for
kAudioUnitRenderAction_PreRender and kAudioUnitRenderAction_PostRender.

We set this up using 

AudioUnitAddRenderNotify()


On the pre-render we determine the parameters that need to be automated and call AudioUnitScheduleParameters() accordingly.

With your plugins, we are not getting the pre-render and post-render notifications.
---

Tom Erbe

unread,
Jun 21, 2012, 6:55:06 PM6/21/12
to symbiosi...@googlegroups.com
I haven't heard back from Sony yet (they didn't mention which host software) - but will forward the info as soon as I find out.
Reply all
Reply to author
Forward
0 new messages