Dear All,
When I use "record sound file "student.aif" " and then make a standalone application, the recording does not seem to start immediately and the students have to wait up to 4 or 5 seconds to begin the recording to make sure to capture all they want. Otherwise they get a truncated file where the beginning is chopped off. This happens in the standalone.
There are further delays at the end of the recording when the stop command is issued as the system appears to go into never-never land for a while as it closes/copies the new file etc...
This is annoying to some degree and it also appears to be system dependent. I enclose below the script of the button which does the work. As you can see it does a number of things but I would not have thought that the load on the system would have been significant. I understand that runrev uses QT to record/playback etc. maybe this has something to do with it. I would prefer a Windows solution and I may try to use mci
commands which I have seen used with runrev (though I cannot remember where it was exactly) but that could limit the portability of the application.
on mouseUp
if the label of me is "Record" then
record sound file "student.aif"
set filename of player "student" to empty
set the label of me to "Stop"
set the backgroundcolor of me to "red"
else
set the label of me to "Record"
set the backgroundcolor of me to 213,170,194
stop recording
end if
end mouseUp
Thanks a lot for your help.
Andrew
Problem with recording in standalone application
LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Return to “Getting Started with LiveCode - Experienced Developers”
Jump to
- LiveCode Community
- ↳ Announcements
- ↳ Developer Services Marketplace
- ↳ User Groups and Events
- ↳ SoCal LiveCode Group
- ↳ Greater Toronto Area LiveCode Users Group
- ↳ Off-Topic
- ↳ Made With LiveCode
- Getting Started With LiveCode
- ↳ Getting Started with LiveCode - Complete Beginners
- ↳ Getting Started with LiveCode - Experienced Developers
- ↳ Converting to LiveCode
- Developing With LiveCode
- ↳ Talking LiveCode
- ↳ Databases
- ↳ Games
- ↳ Internet
- ↳ Multimedia
- ↳ Software Engineering
- ↳ Version Control
- ↳ Feature Proposals
- ↳ Bug Triage
- Extending LiveCode
- ↳ Using Plugins for Customizing the LiveCode IDE
- ↳ Using Externals
- ↳ Making IDE Plugins
- ↳ Building Externals
- ↳ LiveCode Builder
- Platform Specific
- ↳ Windows
- ↳ Mac OS
- ↳ Linux
- ↳ iOS Deployment
- ↳ Android Deployment
- ↳ CGIs and the Server
- ↳ HTML5
- ↳ Raspberry Pi
- Academic Endeavors
- ↳ Teaching with LiveCode
- ↳ Research and Post Secondary
- ↳ LiveCode University
- ↳ Educational Outreach
- Livecode Open Source Archived Forum- closed to posting
- ↳ Engine Contributors
- ↳ IDE Contributors
- ↳ Documentation and Tutorials
- ↳ Brainstorms
- ↳ Community Projects
- LiveCode Hosting