I need Delphi code to monitor the MIC input level and start recording at a peak and continue recording until a time-span of silence. It should be able to use whatever audio compression is installed on the local computer and save to .WAV or .MP3 files. When triggered a second time, a new file should be created from the recording. And so on... The file names can just be numerically incremented. I do not know the Multimedia API well enough to accomplish this myself. It is for a system to record dispatch calls for an ambulance service and a small part of the application developed in-house.
Commented Delphi source code for the procedure with a description of the interface. Delphi project example using the recording procedure. A simple one-form application with compression selection option will be fine. Complete copyrights to all work purchased.
Delphi 5 or below - not v6. (all of our other libraries are D5) Windows 95 - XP
## Deadline information
I can throw in a copy of the book "The Tomes of Delphi - Win32 Multimedia API" by Alan C. Moore, Ph.D. (retail $55) as we will not be needing it if we find a coder for this project.