ArrayArrayArrayArrayArrayArrayArrayArrayArray
Statistics: Posted by antwan — 01 Feb 2009, 20:44 Statistics: Posted by martignasse — 01 Feb 2009, 18:22 Statistics: Posted by antwan — 01 Feb 2009, 12:22
Cheers,
antwan
]]>
cant help on this, i even don't know what they mean, what kind of infos should they display ?
]]>
I've got (at least) one remaining problem with all this: I can't seem to be getting any reading from BarStartPos or CycleStartPos. Any idea why?
Cheers,
antwan
]]>
Statistics: Posted by antwan — 31 Jan 2009, 20:53
The VstTimeInfoFlags enumeration isn't actually defined in the Usine SDK...How to use the VstTimeInfo flags. I was trying to read about this, but didn't quite understand. For instance if I'm interested in for example kVstTransportPlaying (as its called in the VST SDK... not sure if that constant is available in Usine SDK)?
CODE:
//-------------------------------------------------------------------------------------------------------/** Flags used in #VstTimeInfo. *///-------------------------------------------------------------------------------------------------------enum VstTimeInfoFlags{//-------------------------------------------------------------------------------------------------------kVstTransportChanged = 1,///< indicates that play, cycle or record state has changedkVstTransportPlaying = 1 << 1,///< set if Host sequencer is currently playingkVstTransportCycleActive = 1 << 2,///< set if Host sequencer is in cycle modekVstTransportRecording = 1 << 3,///< set if Host sequencer is in record modekVstAutomationWriting = 1 << 6,///< set if automation write mode active (record parameter changes)kVstAutomationReading = 1 << 7,///< set if automation read mode active (play parameter changes)kVstNanosValid = 1 << 8,///< VstTimeInfo::nanoSeconds validkVstPpqPosValid = 1 << 9,///< VstTimeInfo::ppqPos validkVstTempoValid = 1 << 10,///< VstTimeInfo::tempo validkVstBarsValid = 1 << 11,///< VstTimeInfo::barStartPos validkVstCyclePosValid = 1 << 12,///< VstTimeInfo::cycleStartPos and VstTimeInfo::cycleEndPos validkVstTimeSigValid = 1 << 13,///< VstTimeInfo::timeSigNumerator and VstTimeInfo::timeSigDenominator validkVstSmpteValid = 1 << 14,///< VstTimeInfo::smpteOffset and VstTimeInfo::smpteFrameRate validkVstClockValid = 1 << 15///< VstTimeInfo::samplesToNextClock valid//-------------------------------------------------------------------------------------------------------};CODE:
if (pTriggerButtonTest->pMasterInfo->pTimeInfo->flags & kVstTransportPlaying) { ...}Statistics: Posted by martignasse — 31 Jan 2009, 19:46
Statistics: Posted by antwan — 31 Jan 2009, 16:15
do you refer to this thread ?I've posed this question before but for pascal-scripting
CODE:
void Process (void* pModule) {TTriggerButtonTest* pTriggerButtonTest = ((TTriggerButtonTest*)pModule);if (pTriggerButtonTest->bWantTrigger) {if (pTriggerButtonTest->PTriggerOut->value == 1) {pTriggerButtonTest->PTriggerOut->value = 0;pTriggerButtonTest->bWantTrigger = FALSE;}else {pTriggerButtonTest->PTriggerOut->value = 1;}} }Statistics: Posted by martignasse — 30 Jan 2009, 12:11
Statistics: Posted by antwan — 28 Jan 2009, 21:36
Statistics: Posted by antwan — 01 Feb 2009, 20:44
Statistics: Posted by martignasse — 01 Feb 2009, 18:22
Statistics: Posted by antwan — 01 Feb 2009, 12:22
Statistics: Posted by antwan — 31 Jan 2009, 20:53
The VstTimeInfoFlags enumeration isn't actually defined in the Usine SDK...How to use the VstTimeInfo flags. I was trying to read about this, but didn't quite understand. For instance if I'm interested in for example kVstTransportPlaying (as its called in the VST SDK... not sure if that constant is available in Usine SDK)?
CODE:
//-------------------------------------------------------------------------------------------------------/** Flags used in #VstTimeInfo. *///-------------------------------------------------------------------------------------------------------enum VstTimeInfoFlags{//-------------------------------------------------------------------------------------------------------kVstTransportChanged = 1,///< indicates that play, cycle or record state has changedkVstTransportPlaying = 1 << 1,///< set if Host sequencer is currently playingkVstTransportCycleActive = 1 << 2,///< set if Host sequencer is in cycle modekVstTransportRecording = 1 << 3,///< set if Host sequencer is in record modekVstAutomationWriting = 1 << 6,///< set if automation write mode active (record parameter changes)kVstAutomationReading = 1 << 7,///< set if automation read mode active (play parameter changes)kVstNanosValid = 1 << 8,///< VstTimeInfo::nanoSeconds validkVstPpqPosValid = 1 << 9,///< VstTimeInfo::ppqPos validkVstTempoValid = 1 << 10,///< VstTimeInfo::tempo validkVstBarsValid = 1 << 11,///< VstTimeInfo::barStartPos validkVstCyclePosValid = 1 << 12,///< VstTimeInfo::cycleStartPos and VstTimeInfo::cycleEndPos validkVstTimeSigValid = 1 << 13,///< VstTimeInfo::timeSigNumerator and VstTimeInfo::timeSigDenominator validkVstSmpteValid = 1 << 14,///< VstTimeInfo::smpteOffset and VstTimeInfo::smpteFrameRate validkVstClockValid = 1 << 15///< VstTimeInfo::samplesToNextClock valid//-------------------------------------------------------------------------------------------------------};CODE:
if (pTriggerButtonTest->pMasterInfo->pTimeInfo->flags & kVstTransportPlaying) { ...}Statistics: Posted by martignasse — 31 Jan 2009, 19:46
Statistics: Posted by antwan — 31 Jan 2009, 16:15
do you refer to this thread ?I've posed this question before but for pascal-scripting
CODE:
void Process (void* pModule) {TTriggerButtonTest* pTriggerButtonTest = ((TTriggerButtonTest*)pModule);if (pTriggerButtonTest->bWantTrigger) {if (pTriggerButtonTest->PTriggerOut->value == 1) {pTriggerButtonTest->PTriggerOut->value = 0;pTriggerButtonTest->bWantTrigger = FALSE;}else {pTriggerButtonTest->PTriggerOut->value = 1;}} }Statistics: Posted by martignasse — 30 Jan 2009, 12:11
Statistics: Posted by antwan — 28 Jan 2009, 21:36