[revMobile] could not play sound

Andre Garzia andre at andregarzia.com
Fri Aug 20 08:40:27 EDT 2010


Nicolas,

I don't know if importing sounds work but try this:

Using RevMobile bundling thing, bundle your waves.

Then using the specialFolderPath thing, get the path to your bundled waves.

Use the play command with them.

I think that right now, sound playing only works with external bundled or
downloaded files, not with imported sounds. I may be wrong but it is worth a
try

Andre

On Fri, Aug 20, 2010 at 2:15 AM, Nicolas Cueto <niconiko at gmail.com> wrote:

> Just got the latest build of the RevMobile plugin and am testing out
> (among other interesting things) the sound playback on iPhone and iPad
> of a revMobile-built app. In the IDE, the sound works, but in the real
> devices themselves and in the iPhone simulator, no sound!
>
> I've tried with wav, aiff, and mp3 soundfiles.
>
> And I've tried with these files located as URLs and in the application
> itself (using Rev's "File > Import sound").
>
> The button scripts are:
>
> on mouseUp
>   play "helloWorld.wav" -- the imported soundfile
>   put the sound & cr & the result into field "result"
> end mouseUp
>
> on mouseUp
>   put tTheURLPath & "helloWorld.wav" into tPath
>   play tPath
>   put the sound & cr & the result into field "result"
> end mouseUp
>
>
> And the result feedback from these shown on my iPhone and iPad:
>
>   done
>   could not play sound
>
>
>
> Tried using the system beep a too, like this:
>
> on mouseUp
>   beep
> end mouseUp
>
> But, nothing heard that way either.
>
> Any ideas?
>
> Please note I realize RevMobile explanatory note's warn sound playback
> is "somewhat buggy" in the iPhone simulator. But, as I say, this sound
> playback problem happens both in real devices and in the simulator.
>
> Thank you.
>
> --
> Nicolas Cueto
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the Use-livecode mailing list