 |
| Class for sound recording |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
| Before you begin: |
 |
This class is able to record audio input from playback devices like Wave, Microphone etc. It implements methods
OpenDevice
CloseDevice
StartRecording
StopRecording
CreateWaveFile(cFilename)
Some parameters are hard-coded: max recording time, bits per sample, samples per second and channels. Though it is easy to make this basic class more flexible.
Click to open an example based on this class: WAV file recorder:
 |
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 10155 bytes Created: 2003-09-16 13:54:14 Modified: 2012-03-18 21:02:16 Visits in 7 days: 112 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
| Yet another reason to wish threads and callback functions to be supported in VFP -- the waveInProc callback function can provide a smooth transition to the next memory block while the previous one being written to a file and released. |
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|