record sound problem on windows

Slava Paperno slava at lexiconbridge.com
Mon Jul 4 16:03:10 EDT 2011


Alex,

Your Windows test wave file sounds like some recordings I've seen where the
sample rate or sample size is not stated correctly in the file's header.
I've seen this happen with some audio drivers that are not capable of
recording at a particular combination of sample rate and depth.

I downloaded your test stack from the bug database and tested it in Windows
7 and Windows XP. I had to build a standalone because I don't have LC IDE on
the XP machine.

In Windows 7, I saw no problems recording and playing back from either IDE
or the standalone. In Windows XP your standalone recorded one click per wave
file (a tiny wave file at that), nothing else. I then modified your stack to
include a call to QTVersion in openCard (to make sure QT is loaded), and
also to set the sound parameters to 44 kHz, 16 bit, 2 channels. This still
worked fine in Windows 7, and produced a good recording in Windows XP,
except that for some reason the wave file could not be played by the Sound
Recorder, although it played fine with the VLC player. This may have to do
with the codec that QT used to make that compression. I didn't look into
that.

I think you can try loading QT in openCard and using different recording
parameters. I am no expert in LC or its sound capabilities, but I will need
to record sound in my next project, so I'm trying to learn about it.
Compared to Adobe Director, which I had used for ten years before I started
playing with LC 8 weeks ago, the sound recording and playback functions in
LC rudimentary. Which makes me think that some real programmer may have
written an external for sound in LC that you and I don't know about...
anyone knows more this?

Slava  

> -----Original Message-----
> From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] On Behalf Of Alex Shaw
> Sent: Monday, July 04, 2011 9:15 AM
> To: How to use LiveCode
> Subject: Re: record sound problem on windows
> 
> Hi Benjamin
> 
> See..
> 
> http://quality.runrev.com/show_bug.cgi?id=9606
> 
> regards
> alex
> 
> On 4/07/11 9:14 PM, Benjamin Beaumont wrote:
> > Hi Alex,
> >
> > If you report this in the QCC we'll investigate it. If you could
> upload
> the
> > stack that is demonstrating the problem at your end that will help us
> a
> > great deal.
> >
> > Warm regards,
> >
> > Ben
> >
> > On 4 July 2011 05:25, Alex Shaw<alex at harryscollar.com>  wrote:
> >
> >> Hi
> >>
> >> Just tried on a Windows 7 machine. Works ok.
> >>
> >> This is definitely a XP-only issue.
> >>
> >> Anyone recording audio on XP successfully? If not, I will bugzilla
> it.
> >>
> >> regards
> >> alex
> >>
> >>
> >> On 4/07/11 12:39 AM, Alex Shaw wrote:
> >>
> >>> Hi
> >>>
> >>> I'm having a similar problem recording sound on Windows XP with
> updated
> >>> quicktime.
> >>>
> >>> Using the standard "record sound file "test.wav", works fine on OSX
> but
> >>> the resulting file when recorded on XP is high pitched&  out of
> tempo.
> >>>
> >>> Is there a special setting needed for XP? Have tried various record
> rates
> >>> but to no avail.
> >>>
> >>> regards
> >>> alex
> >>>
> >>> On 19/03/11 11:47 PM, Martin Meili wrote:
> >>>
> >>>> Hi,
> >>>> I've got  a soud recording problem on Windows XP with LiveCode
> 4.5.3.
> >>>>
> >>>> The command works fine on Mac OSX, both in the stackfile mode and
> the
> >>>> standalone mode.
> >>>>
> >>>> On Windows it doesn't work neither in the stackfile mode nor the
> >>>> standalone mode. I doesn't matter whether I work on my Mac or my
> Dell
> >>>> windows computer - I've got on both platforms the same problem:
> "record
> >>>> sound" doesn't work on Windows.
> >>>>
> >>>>   If I open the stack with Revolution 4.0 and do the stadalone-
> build,
> I
> >>>> get a working Standalone for Windows which does the "record sound"
> command
> >>>> correctly.
> >>>>
> >>>> Anybody there who knows about the problem (bug??)?
> >>>>
> >>>> Cheers
> >>>> Martin
> >>>>
> >>>> ______________________________**_________________
> >>>> use-livecode mailing list
> >>>> use-livecode at lists.runrev.com
> >>>> Please visit this url to subscribe, unsubscribe and manage your
> >>>> subscription preferences:
> >>>>
> http://lists.runrev.com/**mailman/listinfo/use-
> livecode<http://lists.runre
> v.com/mailman/listinfo/use-livecode>
> >>>>
> >>>>
> >>> ______________________________**_________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> >>>
> http://lists.runrev.com/**mailman/listinfo/use-
> livecode<http://lists.runre
> v.com/mailman/listinfo/use-livecode>
> >>>
> >>>
> >> ______________________________**_________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>
> http://lists.runrev.com/**mailman/listinfo/use-
> livecode<http://lists.runre
> v.com/mailman/listinfo/use-livecode>
> >>
> >
> >
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list