Since Ali got sound capture for Android working, I'm trying to see if it's possible to output the sound in WAV format instead of MP4 format. I'm trying to compare 2 sounds (1 prepared previously against 1 captured on the Android device) and it seems to be easier to compare them if they are both uncompressed WAV files. Looking at the various parameters in the library, I can't see how to set it up to output in uncompressed WAV format. Here is the initialisation code I'm using:
androidRecorderSetRecordInput "Mic" androidRecorderSetRecordCompressionType "AMR NB" androidRecorderSetRecordFormat "ThreeGPP" I can't see which alternatives for CompressionType (AMR NB) and Format (ThreeGPP) will give me uncompressed WAV files. Am I missing something or does the library need updating to support WAV (if this is possible)? Peter -- Peter Reid Loughborough, UK > On 16 Sep 2017, at 11:00am, use-livecode-requ...@lists.runrev.com wrote: > > Message: 1 > Date: Fri, 15 Sep 2017 11:53:17 +0000 > From: Ali Lloyd <ali.ll...@livecode.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Subject: Re: Android Audio Playback & Recording > Message-ID: > <cajr0q1jjp_yd819ubjwbmjmzwb+2z5smiaetj1dwkfhh_61...@mail.gmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hi All, > Firstly thanks to Peter Reid for discovering that the foreign bindings in > that blog post were out of date! I have updated the blog accordingly. I > took the liberty of tidying up the LCB code, and adding docs and a sample > stack - you can check them out here (for now) > https://github.com/livecode/livecode/pull/5941/files > > The library should be included in 9.0 DP 9. > > Cheers, > Ali > _______________________________________________ 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