How to get only filename?

Previous topic - Next topic

TI-994A

Hello again jonaspm. Your code's fine, but PLAYSOUND doesn't support MPEGs.

Simply replace it with PLAYMUSIC sound$[files], FALSE, in which case LOADSOUND is not required. Alternatively, you could simply use WAV format sound files, and call LOADSOUND sound$[files], files, 1 after FILEREQUEST.

In either case, remove the LOADSOUND loop at the top of the code; the dimensions are wrong, and it's not required in the first place.

Cool code, BTW. Good luck!  ;)
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!

Jonás Perusquía

#16
Im trying to play those wav files, not mp3 files but not works, also maybe the wav files are encoded different?

Anyway, im going to try PLAYMUSIC thank you
<HTML><BASIC><EC>
Be free and do good things

Jonás Perusquía

PLAYMUSIC WORKS AMAZING, ALSO I CAN PLAY .MP3 OR .WAV FILES IN ANY FOLDER!!!

THANK YOU FOR YOUR HELP, MY APP IS FINALLY WORKING! :D
<HTML><BASIC><EC>
Be free and do good things