Autor Beitrag
JJ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100

Windows XP 64 bit!
delphi 5
BeitragVerfasst: Mo 02.01.06 19:16 
HAllo Leute! Ich bin total verzweifelt! Ich möchte mit mmsystem ein wave aufnehmen!
Die quelle für das Wave soll aber nicht das mikro sondern der gesammte waveout sein!
Ich habe nirgendwo im internet was gefunden! BRauche dringend eure Hilfe!
gibt es vielleicht einen mcisendstringbefehl dafür?

_________________
Hallo!


Zuletzt bearbeitet von JJ am Mo 02.01.06 19:44, insgesamt 1-mal bearbeitet
Cookie007
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 96

win2000 / Xp / Linux9.3
Delphi7
BeitragVerfasst: Di 03.01.06 14:00 
Was ist denn der sinn des Ganzen??

_________________
Mein System : A64 2400 Clawhammer, 1534 MB Ram, 200GB Festplatte, GeForce 6600 (Gigabyte)
Warum so ein langes Gesicht auf jede Frage gibt es eine Antwort, du musst sie nur suchen.(suchfunktion)
JJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100

Windows XP 64 bit!
delphi 5
BeitragVerfasst: Di 15.08.06 18:15 
...tut mir leid ,dass ich das hier noch nach JAhren wieder aufmache aber mich würde wirklich interessieren ob ich irgendwie bei dem mcisendstring zeuch angeben kann, dass der als quelle nicht das doofe mikro sondern das gesamte waveout benutzt!
Das muss doch wohl möglich sein.... ohne andere komponenten...

_________________
Hallo!
patrick dee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 311

Win 98SE, WinXP
D3,D6
BeitragVerfasst: Do 17.08.06 10:52 
hi,

denke so sollte es gehen :


Category: Multimedia
Title: Record wave files (*.wav)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
uses mmSystem; 
{....} 

procedure TForm1.Button1Click(Sender: TObject);     // Record 
begin 
  mciSendString('OPEN NEW TYPE WAVEAUDIO ALIAS mysound', nil, 0, Handle); 
  mciSendString('SET mysound TIME FORMAT MS ' +     // set time 
    'BITSPERSAMPLE 8 ' +                // 8 Bit 
    'CHANNELS 1 ' +                     // MONO 
    'SAMPLESPERSEC 8000 ' +             // 8 KHz 
    'BYTESPERSEC 8000',                // 8000 Bytes/s 
    nil, 0, Handle); 
  mciSendString('RECORD mysound', nil, 0, Handle) 
end; 

procedure TForm1.Button2Click(Sender: TObject);     // Stop 
begin 
  mciSendString('STOP mysound', nil, 0, Handle) 
end; 

procedure TForm1.Button3Click(Sender: TObject);      // Save 
var  
  verz: String; 
begin 
  GetDir(0, verz); 
  mciSendString(PChar('SAVE mysound ' + verz + '/test.wav'), nil, 0, Handle); 
  mciSendString('CLOSE mysound', nil, 0, Handle) 
end;

_________________
Glauben heißt nichts wissen ...