Forums > MaxMSP

host sample rate from a plugin?

February 3, 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


February 4, 2006 | 11:29 am

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


February 4, 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


Viewing 3 posts - 1 through 3 (of 3 total)