I developed an app that includes the ability for a user to record and playback their voice (language learning). I put the file in a directory relative to the standalone application. This works well with both Mac and Windows.
If the program is run from a CD-ROM, there is no ability to save files relative to the app. Is there a way to save the recording to RAM vice a file?
Thanks in advance.
record sound (to RAM vice file)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Location: Aalst, Belgium
- Contact:
You can either ask the user where he/she wants to save the recorded audio. If the goal is not for the user to keep thse files, you could always record it to a temporary file - see also the tempName function to get a unique name for your file.
HTH,
Jan Schenkel.
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
-
- VIP Livecode Opensource Backer
- Posts: 56
- Joined: Sun Oct 26, 2008 6:47 am
- Location: Tullahoma, Tennessee, United States
- Contact:
tempName function
Jan,
I tested this on a Mac (OS X) and PC (Vista Ultimate) and it works like magic. It even saves me from having to test which operating system the user has.
I wish I could buy you a latte.
Thanks much,
Ed
I tested this on a Mac (OS X) and PC (Vista Ultimate) and it works like magic. It even saves me from having to test which operating system the user has.
I wish I could buy you a latte.
Thanks much,
Ed