Is it There A way To PLay Sound WithoutMultichannel Android?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Is it There A way To PLay Sound WithoutMultichannel Android?

Post by Fasasoftware »

Dear Friends,

Is It there a way to play a sound on android without multichannel?? Because a friend of mine have a phone android....i have made a very basic app for him..one button play a sound with multichannel example , but that button with a wav sound format ...told me my friend..it.didn't work....

My developed enviromnent is for now Lion imac ....but i would try on windows......

But i don't know...multichannel is supported by all phone or tablet????

So can you help me??? any ideas???

My Friend have android 2.2.3 but i have compiled my app to 2.2 (froyo).....

Best regards,

Lestroso :D Fasasoftware's Admin

http://www.fasasoftware.com
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Klaus »

Buongiorno Lestroso,

from the "Android Release Notes" (Menu: Help!) for LiveCode 5.02:
Basic sound playback support
Basic support for playing sounds has been added using a variant of the play command.
A single sound can be played at once by using:
play soundFile [ looping ]
...
I am still wondering why noone seems to care to read these release notes which are the only docs for Android and also iOS...


Best

Klaus
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Fasasoftware »

Hi Klaus,

I Thank you very much a lot for your fast answer....I'm sorry...you're right....i must read the release note.....In every way you are very kind...and your suggestion is right and appreciate for me....

I 'll take a look for that document......

Best Regards,

Lestroso :oops: Fasasoftware's Admin
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Klaus »

Bravo bambino! :)
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Fasasoftware »

Dear Klaus,
Dear Friend,

I have a problem now with the mp3...i dont' hear a sound in mp3 format and there's no examples in livecode to play a simple mp3 sound on android platform.... i have tried in 2.3 emulator android...

Can some one help me ??? please???

Thanks a lot thery much!!!!!

Best Regards,

Lestroso :D Fasa software 's admin

www.fasasoftware.com
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Klaus »

Buongirono Lestroso,

hm, according to the docs MP3 should be suported on Android.
But sinces I do not have an iOS nor Android license (and no cell phone at all, yes, that's me :D )
I can only guess.

I only know that it SHOULD work with:
...
play (path to your mp3)
...

Do other sound formats like AIF and WAV work?


Best

Klaus (Claudio Maggiore :) )
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Fasasoftware »

Dear Klaus,

Fortunetly, The Multichannel works fine... either in Emulator And in The Real Android device Phone....I have tried The wave file format only.....

Ok...perhaps, i think that i have missed to give the right path for the sound in mp3 format...

But ...if i put the sound inside the program...when i compile i tell to livecode to copy the files... inside the app....so how i find the right path??? Or well how i can put the right path....i don't want if possible create exeternal folder....ok

I look forward to your reply....

Best Regards,

Lestroso :wink: The Fasasoftware's Admin

http://www.fasasoftware.com
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Klaus »

Buongiorno Lestroso,

well, another thing that can be found in the release Notes, sigh... :roll:
-> specialfolderpath("engine")


Best

Klaus (un poco indignato, ma ancora cordiale)
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Fasasoftware »

Dear Klaus,

i Thank you so much a lot....so the mp3 is the same as the example for the multichannel'''?? So i will try thank you very much...i 'm sorry for my ignorance...Vielen Danke....ahaha...best regards Lestroso...


The FasSoftware Admin...Lestroso :oops:


http://www.fasasoftware.com
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Fasasoftware »

Thank You Very Much Klaus!!!!!!!!

It works fine!!!! You were very polite and friendly......You helped me a Lot....I don't have words to thank you......Best Regards, Lestroso :D

http://www.fasasoftware.com
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Klaus »

Just buy me a drink when we meet the next time :D
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: Is it There A way To PLay Sound WithoutMultichannel Andr

Post by Fasasoftware »

Ok Klaus.....I'll Do ahahhahahah Cheers....

Have a Nice day.....

Best Regards,

Lestroso :wink:

Fasasoftware's admin...

http://www.fasasoftware.com
Post Reply