Hello People
Having terrorized the Java list last year for a university project, my attention and project work has now moved onto AUs. I have just 3 weeks in which to implement a working convolution model of an organ swell box. As i need to take in external data about the "volume" i have chosen to implement the system as a midi effect rather than just an effect. I have managed to get what i hope is a limping MIDIEffect unit going and have hit a few problems.
The first is when running the compiled component through AUVal I get a version error:
ERROR: Component Version mismatch: Res Vers = 0x10000, Comp Vers = 0x1
has anyone got any idea what this might be caused by? As i haven't adjusted any of the version numbers, so they should just be default.
Secondly i have implemented my DSP in the Render function inherited from AUBase. From reading the rather sketchy API documentation i think this is the correct place. I am Using getInput()-> getbufferlist().mBuffers[].mdata to get the input buffer, and getoutput()-> getbufferlist().mBuffers[].mdata to get the buffer to put the processed data into. Then casting the void array returned by these 2 to a float32 array (i haven't bothered doing different formats yet).
My main question here is what should the function return? The API says its ComponentResult but there is no explanation of what this is, and even more what it's value means. Can someone please help me here?
Many Thanks in advance
Russell Edwards
University of York, 4th Year Electronics Undergraduate. |