Re: Using Quicktime to record sounds in Livecode

2012-03-25 Thread Alejandro Tejada
Hi All,

After I installed Trevor's DLL named Enhanced Quicktime
and opened one of his stack examples...
Recording sound using Quicktime is working fine in this
computer.

Really strange, to say the least.

Maybe, just maybe... Trevor's DLL activated something
in Quicktime 7.7.1 that allowed to access it's sound recording
capabilities.

Later, today I will uninstall Quicktime and try again
the same steps, until I discover a pattern in the
problem.

Al

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4503252.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using Quicktime to record sounds in Livecode

2012-03-23 Thread Richmond

On 03/22/2012 10:09 PM, Alejandro Tejada wrote:

That's an old chestnut (will try to see about it this evening after 
work), but, while I am here this occurs to me:


How can one record sounds in Livecode on Linux (can one?) ?

If the answer to my question, Alejandro, is positive, maybe, just maybe, 
it might not be a bad idea to install
some kind of Linux on  another partition to XP, or get another machine 
running with Linux, and then use Livecode

over there for sound recording.


Hi All,

Recently, I have been struggling in Windows XP with
sound recording in LiveCode using QuickTime 7.7.1
When I start recording, I see that hard disk is writing
but when I click the button Stop recording, there is
no file written.

This is the code that I am using, copied from a forum
post. Please, test in your own setup and post your results
using the development environment and the more recent version of
StackRunner:
http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm

Thanks in advance!

Al

--
Button Record Sound:

on mouseUp
set the recordInput to dflt -- default
-- other options are imic (internal microphone) emic (external
microphone), etc
set the recordRate to 48
put the platform into tPlatform

if tPlatform is win32 then
   set the recordFormat to wave
   put .wav into tSuffix
else
   set the recordFormat to aiff
   put .aif into tSuffix
end if
set the playLoudness to 100
record sound file (specialfolderpath(desktop)  /SoundTest  tSuffix)
end mouseUp

Button Stop Recording

on mouseup
stop recording
end mouseup


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4496711.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using Quicktime to record sounds in Livecode

2012-03-23 Thread Richmond

Come to think of things..

I will re-ask a question I posed about 3 or 4 years ago!

Why has Livecode not, yet, developed an in-built sound recording 
facility that is truly cross-platform and

does not depend on o0ther software being present on the end-user's machine?

And, the answer is (I'm a great one for answering my own questions):

Sound recording in Livecode is so low down the RunRev people's list
of priorities it has dropped off the bottom; hence the Quicktime thing 
which has been there since

very nearly the beginning.

So. the probable answer to my question at the top is one of 
those that RunRev seem to be

rather good at; an incredibly loud silence.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using Quicktime to record sounds in Livecode

2012-03-23 Thread Alejandro Tejada
Hi Richmond,


Richmond Mathewson-2 wrote
 
 [snip]
 Sound recording in Livecode is so low down the RunRev people's list
 of priorities it has dropped off the bottom; hence the Quicktime thing 
 which has been there since very nearly the beginning.
 

I will use the Enhanced QuickTime external of Trevor Devore
and report back. Anyway, Apple itself is abandoning QuickTime
so VLC is a viable cross platform option:
http://www.videolan.org/press/lgpl.html
This change of license was an initiative started by some of VLC's main
developers and will be a change from the current license (GPLv2 or later)
to the LGPLv2.1 or later license. http://www.gnu.org/licenses/lgpl-2.1.html
This change was motivated to match the evolution of the video industry
and to spread the VLC engine as a multi-platform open-source multimedia
engine and library. The VideoLAN non-profit organisation and the École
Centrale Paris approve this initiative.

Runrev have spend wisely their resources. The popularity of iOS and
Android platforms shows this. Clearly, Multimedia is not the main interest
of developers in this platform and I understand this perfectly.
Hopefully this would change in a near future.

When you test these scripts in your setup, please report your results
and if possible, post a working example stack. :-)

Have a nice weekend!

Al


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4499784.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Using Quicktime to record sounds in Livecode

2012-03-23 Thread Alejandro Tejada
Hi All,

Finally, recording sounds is working fine in Windows 
using mci, but I don't know if mci recording is available
anymore in Windows 7 or 8. Please, answer to this message
if you could test this Sound Recorder stack in these Windows
versions.

I am using the scripts of the stack MCI recorder  published
by Tom McCarthy. Although I could not find online this stack,
you could test a similar script published in this message:
http://lists.runrev.com/pipermail/use-livecode/2005-March/054343.html

Thanks in advance for your help to test this stack,

Al

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4500665.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode