Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_SndPlayFile not starting sound file
#11
One thing to note with the "QB64 won't play all mp3 files"...   That was an issue with the old versions of QB64 and the old audio backend.  The new libraries we link to don't have that same issue.  Just as we've recently gained access to FLAC, MID,  XM, RIF, and all those other formats, newer versions of QB64PE should load whichever mp3 you toss at it, without issue.  Wink
Reply
#12
(07-20-2023, 04:02 PM)Dimster Wrote: I have a stupid question regarding an MP3 sound file...if sound is in waves and the waves repeat in identical frequency, amplitude etc, to reduce the size of the file could you not remove those waves which repeat an identical pattern. You could then load into your program the essences of the MP3 sound and have your program play that sound over and over again to the time of the original MP3 sound file??? or this pretty well impossible to do.
You've essentially described how an old-school music tracker worked. A few sounds are sampled and then assembled by the tracker to make a complete song. .MOD files were very popular tracker songs back in the day.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  need help playing sound using certain parameters madscijr 0 388 04-01-2025, 03:52 PM
Last Post: madscijr
Question sound file playback (and record) - manipulating speed + pitch in realtime? madscijr 12 1,958 02-26-2025, 06:33 PM
Last Post: Petr
  List of file sound extensions eoredson 17 2,686 12-27-2024, 04:30 PM
Last Post: hsiangch_ong
  Problem starting BC.Exe in DOS 5.02 eoredson 14 2,637 06-12-2023, 02:09 AM
Last Post: eoredson
  incorporate sound files in code mdijkens 6 1,155 01-02-2023, 11:24 AM
Last Post: a740g

Forum Jump:


Users browsing this thread: 1 Guest(s)