MacMusic.org  |  PcMusic.org  |  440Software  |  440Forums.com  |  440Tv  |  Zicos.com  |  AudioLexic.org
Loading... visitors connected
> 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

Posts in this topic
- Maxlef   Vst Sdk New Help   Fri 23 Apr 2004, 23:17


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

 

Welcome Guest
Contribute
Lo-Fi Version - Wed 4 Dec 2024, 22:50
- © PcMusic 1997-2007