Delphi Developer Getting Started
Karaoke Mixer ActiveX Control |
Delphi Developer Getting Started |
Assuming that you have already run the Karaoke Mixer ActiveX Control installation program and started Delphi, the next step is to install Karaoke Mixer ActiveX in Delphi. Select Component/Import ActiveX Control/Karaoke Mixer ActiveX Control
Select Control
Click on the Karaoke Mixer ActiveX Control icon and draw it on the form. A rectangle should appear on the form.
Add Button in Form, add this line of code, which will capture the audio file..
procedure TForm1.Button1Click(Sender: TObject);
begin
KaraokeMixer1 .AudioDevice :=0;
KaraokeMixer1 .AudioFileName :='c:\test.wav'
KaraokeMixer1 .AudioInputPin := 0
KaraokeMixer1 .OutputType:=0
KaraokeMixer1 .Start
end;
end.