📄 mmfxreg.pas
字号:
{========================================================================}
{= (c) 1995-98 SwiftSoft Ronald Dittrich =}
{========================================================================}
{= All Rights Reserved =}
{========================================================================}
{= D 01099 Dresden = Tel.: +0351-8012255 =}
{= Loewenstr.7a = info@swiftsoft.de =}
{========================================================================}
{= Actual versions on http://www.swiftsoft.de/mmtools.html =}
{========================================================================}
{= This code is for reference purposes only and may not be copied or =}
{= distributed in any format electronic or otherwise except one copy =}
{= for backup purposes. =}
{= =}
{= No Delphi Component Kit or Component individually or in a collection=}
{= subclassed or otherwise from the code in this unit, or associated =}
{= .pas, .dfm, .dcu, .asm or .obj files may be sold or distributed =}
{= without express permission from SwiftSoft. =}
{= =}
{= For more licence informations please refer to the associated =}
{= HelpFile. =}
{========================================================================}
{= $Date: 20.01.1998 - 18:00:00 $ =}
{========================================================================}
unit MMFXReg;
{$I COMPILER.INC}
{$DEFINE _PLUGIN}
Interface
Procedure Register;
Implementation
{$IFDEF WIN32}
{$R MMEFFECT.D32}
{$ELSE}
{$R MMEFFECT.D16}
{$ENDIF}
uses
{$IFDEF DELPHI6}
DesignIntf,
DesignEditors,
{$ELSE}
DsgnIntf,
{$ENDIF}
Controls,
Classes,
SysUtils,
MMDesign,
MMIDE,
MMFXProp,
MMDSPObj,
MMFXGen,
MMWMixer,
MMSplitt,
MMReverb,
MMRvbDlg,
MMRvbPrp,
MMDelay,
MMPhase,
MMPhaseS,
MMFlange,
MMPitch,
MMSlow,
MMVolume
{$IFDEF _PLUGIN}
,MMPLugIn
{$ENDIF}
;
{=========================================================================}
procedure Register;
begin
RegisterComponents('MMDSP',[TMMWaveMixer,
TMMOutputSplitter,
TMMGenerator,
TMMReverbDialog,
TMMReverb,
TMMDelay,
TMMPhaser,
TMMPhaseShift,
TMMFlanger,
TMMPitch,
TMMSimpleLowPass,
TMMVolume]);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMWaveMixer,'Input1',TMMDSPComponentInput1Editor);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMWaveMixer,'Input2',TMMDSPComponentInput2Editor);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMWaveMixer,'Input3',TMMDSPComponentInput3Editor);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMWaveMixer,'Input4',TMMDSPComponentInput4Editor);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMOutputSplitter,'Output1',TMMDSPComponentOutput1Editor);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMOutputSplitter,'Output2',TMMDSPComponentOutput2Editor);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMOutputSplitter,'Output3',TMMDSPComponentOutput3Editor);
RegisterPropertyEditor(TypeInfo(TMMDSPComponent),TMMOutputSplitter,'Output4',TMMDSPComponentOutput4Editor);
RegisterPropertyEditor(TypeInfo(TMMEchoList), TMMReverb, 'Echos', TMMEchoProperty);
RegisterComponentEditor(TMMReverb, TMMReverbEditor);
{$IFDEF _PLUGIN}
MMPlugIn.Register;
{$ENDIF}
end;
initialization
RegisterProperty(ptInput,'DSP',TMMDSPComponent,'Input1',TMMWaveMixer,DSPInpConnectCheck);
RegisterProperty(ptInput,'DSP',TMMDSPComponent,'Input2',TMMWaveMixer,DSPInpConnectCheck);
RegisterProperty(ptInput,'DSP',TMMDSPComponent,'Input3',TMMWaveMixer,DSPInpConnectCheck);
RegisterProperty(ptInput,'DSP',TMMDSPComponent,'Input4',TMMWaveMixer,DSPInpConnectCheck);
RegisterProperty(ptOutput,'DSP',TMMOutputSplitter,'Output1',TMMDSPComponent,DSPOutConnectCheck);
RegisterProperty(ptOutput,'DSP',TMMOutputSplitter,'Output2',TMMDSPComponent,DSPOutConnectCheck);
RegisterProperty(ptOutput,'DSP',TMMOutputSplitter,'Output3',TMMDSPComponent,DSPOutConnectCheck);
RegisterProperty(ptOutput,'DSP',TMMOutputSplitter,'Output4',TMMDSPComponent,DSPOutConnectCheck);
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -