PDA

View Full Version : recording


jaydee67
02-14-2009, 07:53 AM
(german)
in meinem projekt soll später mal ewentuell ein button rein der soll eine aufname starten(aus einen WMP-objekt). das soll aber kein externes programm sein. es soll möglich sein im optionsmenü einstellungen zu änder z.b ausgabeformat (mp3 ist wichtig)... und denn pfad zur fertigen aufname. die optionen sind bei mir in eine .ini datei.

das problem ist, ich weiss nicht wie ich das mit dem aufnehmen machen soll, mir fällt da ersmal gernichts zu ein.

(english)
i want to make in project a button to record from a WMP-opject. ( no extern progg. because i want to make a option page to change settings like outputfile(mp3 is important) and filesource(pfad,saving the file).The setting in my optionpage are save in a .ini-file

the problem is, i don´t how to maka the recording.

jaydee67
02-16-2009, 04:46 AM
no ideas?

:huh:huh:huh:huh

Protocol
02-16-2009, 05:00 AM
Hi there Jay,

I'd start here: http://www.indigorose.com/forums/showthread.php?t=24734&highlight=record

You're going to have some licensing issues with mp3 as the format is now coveted by its license holders. People like myself (who were always latched on to the mp3 format) have now jumped on board with the .ogg format.

nrgyzer
02-16-2009, 09:47 AM
In den meisten Fällen (hat bei mir damals zumindest) mit der normalen Downloadfunktion funktioniert, d.h.

HTTP.Download("http://UrlToRecord", "C:\\MyRecord.(mp3)|(wav)...", MODE_BINARY, 20, 80, nil, nil, nil);

Beispiel (example):

Aufnahme des folgenden Streams: http://dsl.tb-stream.net:80

http://dsl.tb-stream.net: Adresse bzw. Url
80: Port für die Aufnahme (manchmal, bei ShoutCast-Servern auch die 8000, aber meistens die 80)

HTTP.Download("http://dsl.tb-stream.net", "C:\\MyRecord.mp3", MODE_BINARY, 20, 80, nil, nil, nil);

JDog37
02-16-2009, 10:44 AM
This is the best I found that really works. http://www.indigorose.com/forums/showthread.php?t=19069&highlight=AudioCapture

Joe