The Daily Click ::. Forums ::. Klik Coding Help ::. Different options for playing music
 

Post Reply  Post Oekaki 
 

Posted By Message

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
24th January, 2012 at 17:31:12 -

Hi guys,

Just wanted to know if you guys know any good options for playing music in MMF. I have ALWAYS used midi, but kinda need to get away from it. What would you say is the best option for 1. Creating a music file, 2. Putting it in MMF?

Like I have heard of ogg files, but I'm not sure how to use them with MFF. Any tipsare appreciated

 
dont make me divide by zero...

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
24th January, 2012 at 18:10:29 -


Originally Posted by Zephni
Hi guys,

Just wanted to know if you guys know any good options for playing music in MMF. I have ALWAYS used midi, but kinda need to get away from it. What would you say is the best option for 1. Creating a music file, 2. Putting it in MMF?

Like I have heard of ogg files, but I'm not sure how to use them with MFF. Any tipsare appreciated



I always used to use midi files too, however for my new game I'm using oggs instead. What I'm doing is creating songs using Mod Plug Tracker (ususally for mod files), then converting them to mp3s. THEN using a free mp3 -> ogg converter I found on the web to make them into oggs.

Oggs are good because like wav files you can embed them into your application, and use the same sound fuctions like pause / resume sample, repeat sample X amount of times, etc.

And what's cool is if you have pre-existing midi files you can open them up with ModPlug tracker, fiddle around with the instruments and arrangements, convert to mp3, then to ogg, then use those to have good-sounding versions of your old stuff.

"Like I have heard of ogg files, but I'm not sure how to use them with MFF"

They are treated exactly the same way as .wav files.

Edited by Del Duio

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
24th January, 2012 at 18:50:16 -

Sweet! Thanks Del Duio I think i'll go with your method. Glad I can convert my midi files aswell, excited just thinking about it lol.

 
dont make me divide by zero...

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
24th January, 2012 at 19:16:00 -


Originally Posted by Zephni
Sweet! Thanks Del Duio I think i'll go with your method. Glad I can convert my midi files aswell, excited just thinking about it lol.



It's cool but be aware that sometimes the imported midi files get a bit screwy with some instruments. For example I've had piano turn into a bass drum and you can imagne how weird that is. The good news is that you can follow the tracker sheet and all the instruments and notes are there, you'd just have to replace them manually after the fact.

This might not happen to you, but wanted to give you a heads up.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
24th January, 2012 at 19:29:52 -

Hey sorry to be a pain, but do you know why it's not letting me export to MP3?

 
dont make me divide by zero...

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
24th January, 2012 at 20:06:28 -

I use ModPlug Tracker and there should be an option in the toolbar menu to export to mp3 somewhere. I don't have it on me right now but there IS an option there.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
24th January, 2012 at 21:30:40 -

Yep, under the file tab in the menu bar it has all the export methods, but the "Export as MP3" is greyed out

 
dont make me divide by zero...

Duncan

Thelonious Dunc

Registered
  18/05/2002
Points
  552

VIP Member
24th January, 2012 at 22:42:03 -

Zeph, you probably don't have an mp3 encoder installed. Try grabbing Lame and putting lame_enc.dll in your Modplug directory.

You don't need to get away from midi at all, though, just use a DAW that supports midi natively and get some nice virtual instruments. Learning to write mods is a whole new discipline you can probably live without

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14361

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
25th January, 2012 at 01:29:22 -

I use Modplug tracker to make mods since MMF2 plays them without any extensions.

 
.

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
25th January, 2012 at 09:13:47 -


Originally Posted by Del Duio

I always used to use midi files too, however for my new game I'm using oggs instead. What I'm doing is creating songs using Mod Plug Tracker (ususally for mod files), then converting them to mp3s. THEN using a free mp3 -> ogg converter I found on the web to make them into oggs.



No no, baaaaaaaaaaad. The way you're doing it you're getting the artifacts of both MP3 and Ogg Vorbis (Vorbis is the actual codec, ogg is the container)

Export to wave, then you can convert it to Ogg Vorbis with either Audacity or foobar2000. Both are free although foobar2000 requires a separate download of the Ogg Vorbis codec.

 
- Ok, you must admit that was the most creative cussing this site have ever seen -

Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  879

Candle
25th January, 2012 at 18:00:40 -

I'm always concerned with file size, so if I a WAV file is too big I convert it to MP3. I have heard excellent testimonials on OGG files, and I'm strongly considering learning Audacity to make them.

What would you recommend as a suitable sampling rate for sound files? When converting, how much does sampling rate or other variables factor into file conversions? Can you make decent conversions to the OGG file format without a noticeable loss of quality?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click