MacMusic.org  |  PcMusic.org  |  440Software  |  440Forums.com  |  440Tv  |  Zicos.com  |  AudioLexic.org
Loading... visitors connected
Welcome Guest
 
Reply to this topicStart new topic
> Vst Sdk New Help
Maxlef
post Fri 23 Apr 2004, 23:17
Post #1


Newbie


Group: Members
Posts: 5
Joined: 23-Apr 02
From: Grenoble
Member No.: 4,361




Hi !

1 - I'm building a VST plugin and i want to check whenever there is a cycle jump in the song or when the user change sudently the song position bar : when there is a discontinuity in the sound.

i 've coded that but it don't works:

while (--sampleframes)
{
VstTimeInfo_ptr = getTimeInfo ( kVstPpqPosValid );

if (VstTimeInfo_ptr)
sample_position = VstTimeinfo_ptr ->samplePos;

//here i check if (old_sample_position == samplepostion - 1) to
// reset things that need to be reseted

old_sample_position = sample_position ;
}

but it doesn't works...someone knows something about it?

2 - Second question...is there an easy way to debug plugins? from here i used a display_parameter to check value but it's not a best way definitely.

any idea?

thank you guy, you're overgreat
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version - Thu 20 Jun 2024, 12:42
- © MacMusic 1997-2008