olilarkin
02-23-2010, 03:58 PM
I have been putting together some examples using iPlug (somewhat based on other peoples examples here). They are a work in progress, and i'm only really posting them at this early stage because i could do with some other eyes looking at one particular example IPlugPolySynth, that is causing me major grief! One nice thing is that the examples are set up to use a shell script i made that can rapidly duplicate a project, renaming all the right bits (this is only tested on OSX although it might work on windows using cygwin).
I put the wdl distribution in my zip file, i hope cockos don't mind. Hopefully the examples should all compile straight away with Xcode 2.4+ or VS2008 express.
http://www.olilarkin.co.uk/temp/oliplug.zip
about the polysynth:
Eventually I want to implement a generic voice allocation/polyphony system, with support for unison and also monophonic modes, however i need to cross the first hurdle and get the basic thing working!
At the moment i have an olPolyHandler and olVoice class defined in olPoly.h. olVoice is an abstract class. demoVoice.h contains a synth voice with table lookup oscillator and envelope that inherits from olVoice. However, I get very unpredictable results when playing polyphonically (usually the audio dies on the second note). If anyone can shed any light on what i might be doing wrong, that would be great. It also has a problem on windows at the moment (to do with the olPolyHandler destructor) which might mean you can't test with reaper. Again, any tips about this would be much appreciated.
Also any general comments about my approach to this problem would be really useful!
thanks,
oli
I put the wdl distribution in my zip file, i hope cockos don't mind. Hopefully the examples should all compile straight away with Xcode 2.4+ or VS2008 express.
http://www.olilarkin.co.uk/temp/oliplug.zip
about the polysynth:
Eventually I want to implement a generic voice allocation/polyphony system, with support for unison and also monophonic modes, however i need to cross the first hurdle and get the basic thing working!
At the moment i have an olPolyHandler and olVoice class defined in olPoly.h. olVoice is an abstract class. demoVoice.h contains a synth voice with table lookup oscillator and envelope that inherits from olVoice. However, I get very unpredictable results when playing polyphonically (usually the audio dies on the second note). If anyone can shed any light on what i might be doing wrong, that would be great. It also has a problem on windows at the moment (to do with the olPolyHandler destructor) which might mean you can't test with reaper. Again, any tips about this would be much appreciated.
Also any general comments about my approach to this problem would be really useful!
thanks,
oli