Hi, ladies and gentlemen... Maybe you can do another good action today... Thanks for reading.
I have a recording issue on my Mac mini (OSX 10.8, LiveCode 6.1.1). In the assignment FinalDialog, I have to add an audio source selection because Mac mini doesn't have internal microphone (no I'm not joking). I made this stack "ht" & "tp" & ":" & slash & slash & "wdwave" & "." & "com" & slash & "jihem-FinalDialog.livecode" (but I have some recording issues). I made a test button with the following code : sometime it works... and sometime not. I really appreciate if you could help (I have no hair left on my head).
Have a good day
on mouseUp
put the effective filename of this stack into tPath
set itemDelimiter to slash
delete last item of tPath
put slash & "sample.wav" after tPath
delete file tPath
put tPath into field "fldPath"
set the hilite of me to true
set the recordFormat to "wave"
set the recordCompression to "raw "
set the recordInput to "emic"
record sound file tPath
if the recording then
wait 3 seconds
stop recording
play audioClip tPath
else
stop recording
answer "error"
end if
set the hilite of me to false
end mouseUp
31 - Intro To Audio, Dialog Final
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, asayd
Return to “LiveCode University”
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
- ↳ App Building Course
- ↳ Simple Messages
- ↳ Calculator
- ↳ Notes
- ↳ Clock
- ↳ Web Browser
- ↳ Weather
- ↳ Compass
- ↳ Photos
- Developing With LiveCode
- ↳ Talking LiveCode
- ↳ Databases
- ↳ Games
- ↳ Internet
- ↳ Multimedia
- ↳ Software Engineering
- ↳ Version Control
- ↳ Feature Proposals
- ↳ Bug Triage
- ↳ Legacy Project: MetaCard
- 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
- ↳ rIDE
- Third Party Extension Support
- ↳ Marketing Your Products
- ↳ Animation Engine
- ↳ chartsEngine
- ↳ MobGUI
- ↳ lcTaskList
- ↳ SQL Yoga
- ↳ MergEXT
- ↳ Data Grid Helper
- ↳ idea2app and Coding School
- ↳ Admin Archive
- LiveCode Hosting
- Forum Archives
- ↳ Archived: Third Party Extension Support
- ↳ rTree
- ↳ rGrid
- ↳ Data Tree
- ↳ Archived: LiveCode Open Source
- ↳ LiveCode Global Jam
- ↳ Testing Support
- ↳ Archived: Academic Endeavors
- ↳ September Academy
- ↳ Summer School 2013
- ↳ Archived: Project Specific
- ↳ Business and Kiosks
- ↳ Digital Art and Portfolios