host sample rate from a plugin?

Feb 3, 2006 at 10:11pm

host sample rate from a plugin?

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

#24262
Feb 4, 2006 at 11:29am

have you tried the obvious… ie, dspstate~? dunno if that works in the pluggo enviornment but I imagine it should.

#69890
Feb 4, 2006 at 11:56am

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

#69891

You must be logged in to reply to this topic.