Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Ken Murphy
 To: David Jo
  Where is David Jo?
 Buffalo Grove
 Illinois - United States
 David Jo
Subject: RE: Sound Recorder in VFP
Thread ID: 90283 Message ID: 90447 # Views: 17 # Ratings: 0
Version: Visual FoxPro 9 Category: Active X Controls & OLE Automation
Date: Friday, March 10, 2006 3:19:26 PM         

> > > Has anyone added voice recording capability to a VFP form? All I'm looking for are simple controls to click on 'record' and capture anything from a microphone, save it and then replay it when another button is clicked on. Something like the Microsoft Sound Recorder (built into Windows) would be great.
> > >
> > > Thanks,
> > > David

> >
> >
> > I haven't done anything in terms of automation, but if you just want to store .WAV files, do it the same way that you store image files. I have a database of "song hooks" that I record in my digital studio and save to a dbf. This does not automate the data capture (done on an off line device) but the storeage is quite simple.
> >
> > Ken

> Do you mean you store the song hooks in a table and not a .wav file? The users of my app are going to record a significant number of voice notes and I need to have that in a table and not in individual files. I've figured out one way of capturing the voice notes, but I'm still looking for a better way.
> David

No, I store the song hooks as .wav files using my digital recorder. I then copy these to a directory on my home server and store the path and file name (along with any comments, timing, name, key, date, etc in a table.) When I want to listen to "Song hooks in a minor key that I recorded sometime last month." I can query the table.

Song hooks can take up a lot of memory. Over the past few years I have created just over 3 gig of song hooks (most not very good.) And I want to keep this library available because that song hook that was not very good as a song might be just the thing for the chorus or bridge that I am working on. You are probably going into the same kind of situation. You will have a lot of audio captured (most of it useless) but you will want to be able to go back to it when you need to. In other words you will probably end up with a very large amount of audio data. You most definately do not wish to store the audio data in the table. Store the path and file name just as you would a photo.



Sound Recorder in VFP Posted by David Jo @ 3/8/2006 11:35:49 PM
RE: Sound Recorder in VFP Posted by Ken Murphy @ 3/9/2006 2:45:05 PM
RE: Sound Recorder in VFP Posted by David Jo @ 3/9/2006 6:41:38 PM
RE: Sound Recorder in VFP Posted by Ken Murphy @ 3/10/2006 3:19:26 PM