GLBasic forum

Other languages => GLBasic - es => Topic started by: tatakamucher on 2013-Oct-04

Title: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-04
Hola amigos, soy primerizo en android u_u y cuando pruebo mi juego no me da sonidos ni música, lo pruebo en win y en ios y todo va bien, alguna ayuda????  :giveup: :D
Title: Re: Sin sonido ni música en android-ayuda
Post by: erico on 2013-Oct-04
Hi Taka, what are the format of your music? WAV or OGG?
Try both, android might enjoy one or the other. :good:
Title: Re: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-04
hi erico, i tried with mp3, ogg and wav  :( :S
Title: Re: Sin sonido ni música en android-ayuda
Post by: erico on 2013-Oct-04
It could be the path thing Spacefractal stated on the other post, which GLB version are you using?
It could also be the format of the sound.

I got sound going fine on my game, music and sfx. I can take a closer look into what I did that worked.
Title: Re: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-04
glb 11.322  :| :giveup:
Title: Re: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-05
i tried with 10.283 and sounds works but music not  :x :noggin:
Title: Re: Sin sonido ni música en android-ayuda
Post by: mentalthink on 2013-Oct-05
Creo tatamuker que la musica en android tiene que ser .ogg en mp3 no funciona, aún asi creo que el problema son cosas de los codecs internos, como sabes el mp3 tiene tropecientas configuraciones de bitrates y tal...

No estoy seguro porque a penas toco el Android, pero si puedes convierte la musica a .ogg o .wav esté para hacer simplemente la prueba a ver si suena,ya que son enormes los ficheros...

Para convertir audio tienes tropecientas mil herramientas gratutias y que te lo hacen por lotes, no  es mucho problema el tema de los formatos y compresiones en cuanto 1 funciona las demas también...

Mirate estó, pero hay tropecientos mil programas como este.
http://download.cnet.com/Free-Audio-Converter/3000-2140_4-10893961.html
Title: Re: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-05
hola mentalthink, ya probe con ogg, con wav y nada  :x, cuando cambie la versión ya funcionó el sonido pero la música no  :sick:
Title: Re: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-05
ya se pudo  :enc: creo que es algo con la ver 11  :x
Title: Re: Sin sonido ni música en android-ayuda
Post by: erico on 2013-Oct-05
I believe the latest android beta you will have to use full path on sound and I also heard a while ago that the wav format ye bits and hz was of one time, let me check. Music on my v10 works OGG only I believe. I will have o check. Do you have on sample that you current use so I can take a look?
Title: Re: Sin sonido ni música en android-ayuda
Post by: erico on 2013-Oct-05
Ops, here is what Spacefractal said about sound on android on the latest GLB version.
Check if it helps you:

QuoteAbout Android sound, uses full path (by using GETCURRENTDIR$()) when you load your sounds and music. Else its will not got loaded at all. is a well known bug in the beta (but easy to workaround).

Thas info is on this thread here:
http://www.glbasic.com/forum/index.php?topic=9509.msg82163#new
Title: Re: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-05
thanks for help me erico and mental, the problem solved using 10.283, sounds in .wav and music in .ogg  :good:
Title: Re: Sin sonido ni música en android-ayuda
Post by: erico on 2013-Oct-05
Nice, that is exactly what I have running, but if you must use latest beta, check that spacefractal hint.
Title: Re: Sin sonido ni música en android-ayuda
Post by: tatakamucher on 2013-Oct-05
thanks erico  :good:


Now, can help me to sign android apk :P?
Title: Re: Sin sonido ni música en android-ayuda
Post by: erico on 2013-Oct-05
I haven´t got to the signing apk part as of yet on my game.
But I have been setting aside a set of threads here that relates to that. It dosen´t look too hard.

Check this thread:
http://www.glbasic.com/forum/index.php?topic=6169.0;topicseen