The Daily Click ::. Forums ::. Klik Coding Help ::. using mp3's in MMF2
 

Post Reply  Post Oekaki 
 

Posted By Message

Jack L



Registered
  10/03/2005
Points
  2
23rd April, 2009 at 03:18:43 -

hi all,

sorry if this topic has appeared before, but i've been searching the boards and articles for a while on "mp3" or even just "music", but I can't find anything pertinent to MMF2 and how to put mp3's in MMF2 projects. does anybody know how or can anybody point me in the right direction? thanks

 
n/a

RedEnchilada

formerly RedEchidna

Registered
  01/08/2008
Points
  301

VIP MemberWii OwnerThe Cake is a LiePicture Me This Round 24 Winner!
23rd April, 2009 at 03:27:12 -

Can it be external? If so, stick the file in the same folder as the game (remove all the spaces) and in MMF2, place an MCI object with the Device Name set to waveaudio. In the event editor, when you want it to play, send the following commands in order:

close all
open file.mp3
play file.mp3

Replace file.mp3 with the filename of the music. If you want it to loop, send the following command:

play file.mp3 repeat

instead of the third command.

If it has to be internal, then (I believe, I've just heard about it) it's impossible, sorry.

 
http://www.youtube.com/watch?v=WYrSD35vHo4
woooooooooooooooooaah maaaaaaaaaaaaaaaaaaaaan

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
23rd April, 2009 at 03:45:14 -

As soon as the flash runtime goes live, you'll be able to purchase an MP3 license! ^____^

 

  		
  		

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
23rd April, 2009 at 04:29:27 -

If you don't want external files for music you could always attached the files to the executable and extract them at runtime, but that's more trouble than it's worth.

 
n/a

Jack L



Registered
  10/03/2005
Points
  2
23rd April, 2009 at 04:39:48 -

If the difference between external and internal is just the presence of a file outside the exe or something, that sounds totally fine to me! thanks for your prompt responses all

 
n/a
   

Post Reply



 



Advertisement

Worth A Click