host sample rate from a plugin?


    Feb 03 2006 | 10:11 pm
    I am using plugsync~ in my patch which I am building into a VST plugin. Although I can easily get the sample *count* from that object, I desire to know the sample *rate* that the VST host is running at.
    Can I get the host sample rate somehow?
    Thanks, Dan -- Dan Nigrin Defective Records 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X http://www.defectiverecords.com http://www.jackosx.com

    • Feb 04 2006 | 11:29 am
      have you tried the obvious... ie, dspstate~? dunno if that works in the pluggo enviornment but I imagine it should.
    • Feb 04 2006 | 11:56 am
      At 3:29 AM -0800 2/4/06, bine~ wrote: >have you tried the obvious... ie, dspstate~? dunno if that works in >the pluggo enviornment but I imagine it should.
      Thanks - i hadn't tried the obvious,thinking it wouldn't work! But then Roman showed me the way...
      Dan -- Dan Nigrin Defective Records 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X http://www.defectiverecords.com http://www.jackosx.com