void CTrack_Info_Small::ConnectControls()
{
	
	RegisterGlobalControl(miSection, giTrack_Info_Small_Expand_Button + miCtrl_Offset, giParam_Track_Info_SizeY);
	// Solo Mute
	RegisterGlobalControl(miSection, giTrack_Info_Small_Solo_Button + miCtrl_Offset, giParam_ChSolo);
	RegisterGlobalControl(miSection, giTrack_Info_Small_Mute_Button + miCtrl_Offset, giParam_ChMute);
	RegisterGlobalControl(miSection, giTrack_Info_Small_Arm_Button + miCtrl_Offset, giParam_ChArm);

}
void CKSAUXGUIPane::ConnectControls()
{
	//--------------------------------
	// Echo
	//--------------------------------
	RegisterGlobalControl(giSection_AUX1,						giCtrl_Delay_Power,		giAUX1_Param_Delay_Power);
	//Delay time
	RegisterGlobalControlWithLinearTranslation(giSection_AUX1, giCtrl_Delay_Time,		giAUX1_Param_Delay_Time);
	GetControl(giCtrl_Delay_Time_Display)->SetDefaultValueConverted(mpParmMan->Get(	giAUX1_Param_Delay_Time, de::IParameterManager::TypeGlobal, giSection_AUX1)->GetDefaultValue());
	RegisterGlobalControlWithDisplayTranslater(giSection_AUX1, giCtrl_Delay_Time_Display, giAUX1_Param_Delay_Time, 0, 5, 0, "mSec");
	// Feedback
	RegisterGlobalControlWithLinearTranslation(giSection_AUX1, giCtrl_Delay_Feedback,	giAUX1_Param_Feedback);
	GetControl(giCtrl_Delay_Feedback_Display)->SetDefaultValueConverted(mpParmMan->Get(	giAUX1_Param_Feedback, de::IParameterManager::TypeGlobal, giSection_AUX1)->GetDefaultValue());
	RegisterGlobalControlWithDisplayTranslater(giSection_AUX1, giCtrl_Delay_Feedback_Display, giAUX1_Param_Feedback, 0, 5, 0, "%");
	
	
	
	
	RegisterGlobalControlWithLogTranslation(giSection_AUX1,giCtrl_Delay_LP_Dampning ,	giAUX1_Param_LP_Damping,1000);
	GetControl(giCtrl_Delay_LP_Dampning_Display)->SetDefaultValueConverted(mpParmMan->Get(	giAUX1_Param_LP_Damping, de::IParameterManager::TypeGlobal, giSection_AUX1)->GetDefaultValue());
	RegisterGlobalControlWithDisplayTranslater(giSection_AUX1, giCtrl_Delay_LP_Dampning_Display, giAUX1_Param_LP_Damping, 0, 5, 0, "Hz");
	
	
	RegisterGlobalControlWithLogTranslation(giSection_AUX1, giCtrl_Delay_HP_Dampning,	giAUX1_Param_HP_Damping,1000);
	GetControl(giCtrl_Delay_HP_Dampning_Display)->SetDefaultValueConverted(mpParmMan->Get(	giAUX1_Param_HP_Damping, de::IParameterManager::TypeGlobal, giSection_AUX1)->GetDefaultValue());
	RegisterGlobalControlWithDisplayTranslater(giSection_AUX1, giCtrl_Delay_HP_Dampning_Display, giAUX1_Param_HP_Damping, 0, 5, 0, "Hz");
	
	
	
	
	
	/*giAUX1_First_Param = 0,   RegisterGlobalControlWithLinearTranslation
	giAUX1_Param_Delay_Time,	RegisterGlobalControlWithLinearTranslation
	giAUX1_Param_Feedback,		RegisterGlobalControlWithLinearTranslation
	giAUX1_Param_LF_Damping,	RegisterGlobalControlWithLogTranslation(giSection_AUX2,
						iControlID,
						iParameterID,
						1000);
						
	giAUX1_Param_HF_Damping RegisterGlobalControlWithLogTranslation()
	giAUX1_Param_Sync,RegisterGlobalControlWithLinearTranslation*/
	//--------------------------------
	// REVERB
	//--------------------------------
	RegisterGlobalControl(giSection_AUX2, giCtrl_Reverb_Power, giParam_Reverb_On);
	RegisterGlobalControlWithLinearTranslation(giSection_AUX2, giCtrl_Reverb_Size, giParam_Reverb_Size);
	RegisterGlobalControlWithLinearTranslation(giSection_AUX2, giCtrl_Reverb_PDelay, giParam_Reverb_PDelay);
	RegisterGlobalControlWithLinearTranslation(giSection_AUX2, giCtrl_Reverb_Damp, giParam_Reverb_Damp);
	RegisterGlobalControlWithLinearTranslation(giSection_AUX2, giCtrl_Reverb_Panorama, giParam_Reverb_Panorama);
	RegisterGlobalControlWithLinearTranslation(giSection_AUX2, giCtrl_Reverb_Color1, giParam_Reverb_Color1);
	RegisterGlobalControlWithLinearTranslation(giSection_AUX2, giCtrl_Reverb_Color2, giParam_Reverb_Color2);



}
void CKSExportForWebGUIPane::ConnectControls()
{

    RegisterGlobalControl(giSectionGUI, giCtrl_CC_License_Radio_Button,   giParamID_CC_License_Type);

//	RegisterGlobalControlWithDisplayTranslater(giSectionGUI, giCtrl_Export_Tail, giParamID_Export_Tail, 0, 6, 0, "  m.Sec");
} // ConnectControl
예제 #4
0
void CPlugin_Toolbar::SetInfo(tint32 iChannel, tint32 iInsert)
{
    miChannel = iChannel;
    miInsert = iInsert;

    if (mpText) {

        // Verifyed by Max
        if (iChannel < 1024) {
            std::string sTrackName = gpApplication->GetChannelName(miChannel);
            tchar psz[128];
            if (sTrackName.size() == 0) {
                sprintf(psz, "Track %d, insert: %d", miChannel + 1, miInsert + 1);
            }
            else {
                sprintf(psz, "%s, insert: %d", sTrackName.c_str(), miInsert + 1);
            }
            mpText->SetText(psz);
        }
        else {
            if (miChannel < 2048) {
                tchar psz[128];
                sprintf(psz, "Bus %d, insert: %d", miChannel - 1024 + 1, miInsert + 1);
                mpText->SetText(psz);
            }
            else {
                tchar psz[128];
                sprintf(psz, "Master, insert: %d", miInsert + 1);
                mpText->SetText(psz);
            }
        }
    }

    if (miChannel < 1024) {
        RegisterGlobalControl(giSection_First_Track + miChannel, giControlBypass, giParam_Ch_Insert1Bypass + miInsert);
    }
    else if (miChannel < 2048) {
        RegisterGlobalControl(giSection_First_Buss + miChannel - 1024, giControlBypass, giParam_Bus_Insert1Bypass + miInsert);
    }
    else {
        RegisterGlobalControl(giSection_Master, giControlBypass, giParam_Master_Insert1Bypass + miInsert);
    }
}
예제 #5
0
void CMix_Buss::ConnectControls()
{

	// Show / Hide Inserts
	RegisterGlobalControl(miSection, giCtr_Mix_Buss_Show_Insert_Button	+ miCtrl_Offset, giParam_Buss_Info_Show_Inserts);

	// Solo Mute
	RegisterGlobalControl(miSection, giCtr_Mix_Buss_Solo_Button + miCtrl_Offset, giParam_Buss_Solo);
	RegisterGlobalControl(miSection, giCtr_Mix_Buss_Mute_Button + miCtrl_Offset, giParam_Buss_Mute);
	RegisterGlobalControl(miSection, giCtr_Mix_Buss_Arm_Button + miCtrl_Offset, giParam_Buss_Arm);
	
	
	
	
	// Volume slider
	RegisterGlobalControlWithX3Translation(miSection, giCtr_Mix_Buss_Volume_Slider + miCtrl_Offset, giParam_Buss_Vol, 4);
	// Display
	mpParmMan->RegisterControl(	miPaneID, 
								giCtr_Mix_Buss_Volume_Slider_Display + miCtrl_Offset, 
								giParam_Buss_Vol, 
								de::IParameterManager::TypeGlobal, 
								miSection);
								
	de::IDisplayConverter* pConverter  = new CX3DisplayConverter();
	ge::IControl* pControl = GetControl(giCtr_Mix_Buss_Volume_Slider_Display + miCtrl_Offset);
	pControl->SetDisplayConverter(pConverter);
	
	pControl->SetDefaultValueConverted(mpParmMan->Get(	giParam_Buss_Vol, 
														de::IParameterManager::TypeGlobal,
														miSection)->GetDefaultValue());
														
	RegisterGlobalControl(miSection, giCtr_Mix_Buss_Output_Popup + miCtrl_Offset , giParam_Buss_Out);
	
	
	RegisterGlobalControlWithLinearTranslation(	miSection, giCtr_Mix_Buss_Pan + miCtrl_Offset,giParam_Buss_PannerLeftRight);
	//giCtr_Mix_Buss_Pan

	mpMix_Buss_AUX_Insert->ConnectControls();
}