
some questions about the music command
#1 Posted 08 November 2010 - 04:10 PM
after noticing the music <num> <x1> <x2> <3> <4> <5> <6> <7> <8> <etc> i wanted to try it myself. after many failures i went to the user.con file and tried to change the music 0 GRABBAG.MID BRIEFING.MID so that it would be 2 other .mid files. this should change the intro music when you start your duke game. it actually worked. i used the fatbmdr.mid sound because thats my favorite music in this game ^^ then after that i tried to change the intro music from fatcmdr.mid to stalker.ogg that did not work. so i was thinking that it cant play .ogg sounds for some reason. can anyone confirm this? and can someone tell me if its possible to convert any sound type into a .mid file?
#2 Posted 08 November 2010 - 08:56 PM
And short answer, no it's no possible to convert a digital audio file (WAV, MP3, OGG, etc) into a MIDI. Absolutely impossible. At least for the results you're looking for. But you don't need to because EDuke32 is perfectly capable of playing back OGG files.
This post has been edited by MusicallyInspired: 08 November 2010 - 08:57 PM
#3 Posted 08 November 2010 - 09:34 PM
#4 Posted 09 November 2010 - 03:50 AM
MusicallyInspired, on Nov 9 2010, 06:56 AM, said:
I do this all the time. For background music and sound effects, and it works perfectly.
#5 Posted 09 November 2010 - 09:04 AM
#6 Posted 09 November 2010 - 09:39 AM
#7 Posted 09 November 2010 - 10:29 AM
Other wise you could either
A. Have stalker.ogg in a differnt directory that the con can't see it, in which case you need to define that.
For example this is the music list for my mod so far.
// Music for title and end music 0 RA/RA_data/Music/menu.ogg BRIEFING.MID // Music for the individual levels music 1 RA/RA_data/Music/null.ogg RA/RA_data/Music/hell_march.ogg RA/RA_data/Music/crush_remix.ogg RA/RA_data/Music/no_mercy_98.ogg RA/RA_data/Music/act_on_instinct_remix.ogg RA/RA_data/Music/mechanical_man.ogg RA/RA_data/Music/radio_remix.ogg RA/RA_data/Music/twin_cannon.ogg dethtoll.mid streets.mid watrwld1.mid
Or B
The file "stalker.ogg" is encoded wrong.
#8 Posted 09 November 2010 - 11:08 AM
#9 Posted 09 November 2010 - 11:22 AM
#12 Posted 09 November 2010 - 12:49 PM
The Commander, on Nov 9 2010, 09:40 PM, said:
so you dont know the answer?
#13 Posted 09 November 2010 - 12:54 PM
Jhect, on Nov 10 2010, 09:49 AM, said:
No I am saying that you don't seem to provide simple answers to simple questions and proceed to answer them with another question.
#15 Posted 09 November 2010 - 01:05 PM
Where did you get the file "stalker.ogg" from and has it worked in game before?
#16 Posted 09 November 2010 - 01:07 PM
The Commander, on Nov 9 2010, 10:05 PM, said:
Where did you get the file "stalker.ogg" from and has it worked in game before?
... the file stalker is already in the game. its the music for the first level. the weird thing is that it is the only .ogg that i can see. you can see that in the user.con i dont know what type the other sounds are. so i did not download stalker.ogg or anything. so ofcourse it works.
#17 Posted 09 November 2010 - 01:11 PM
You are trying to tell the USER.CON to load a file that does not exist, the original file name is "stalker.mid" which is inside the DUKE3D.GRP
Mind posting the eduke32.log?
This post has been edited by The Commander: 09 November 2010 - 01:12 PM
#18 Posted 09 November 2010 - 02:09 PM
the problem is that im going to make it work with .ogg files. so im gonna work at that
#19 Posted 09 November 2010 - 03:13 PM
If you want it to work with OGG files you need to have an OGG file to work with. Find an OGG file. Or convert a WAV or MP3 to OGG and use it (you'll need OGGDropXPD or something similar for that).
This post has been edited by MusicallyInspired: 09 November 2010 - 03:14 PM
#20 Posted 09 November 2010 - 03:46 PM
MusicallyInspired, on Nov 10 2010, 12:13 AM, said:
If you want it to work with OGG files you need to have an OGG file to work with. Find an OGG file. Or convert a WAV or MP3 to OGG and use it (you'll need OGGDropXPD or something similar for that).
hmm ok but i dont understand what you mean :S to make it work with ogg files i need to have an ogg file... ogg files does work, just not with the music command. the reason why this confuses me is because of this:
http://wiki.eduke32.com/wiki/Music
says it is possible with MIDI and OGG..... how the hell did he get that working lol
#21 Posted 09 November 2010 - 04:36 PM
music 0 grabbag.mid briefing.mid
(grabbag.mid is the title screen music)
Numbers higher than 0 are used for the episodes, music 1 (episode 1), music 2 (episode 2):
Episode 1:
music 1 *.mid *.mid (you have to replace the stars with the filenames of the music files that are in the main directory.)
The first *.mid is the first level of THAT episode, the second *.mid is the second level of that episode, etc.
Get it?
So now, you can also choose for OGG music. Just put your OGG file in the main directory, like that stalker.ogg file and rename the MID to OGG (IN YOUR USER.CON)
BE SURE you got the OGG file from a website, Duke3d Highres Music Pack or converted it from a WAV file or MP3 just like MusicallyInspired told you.
DON'T RENAME A MID, MP3, WAV, etc. file to OGG. IT WON'T WORK!
I hope this helps you out a bit and otherwise post your eduke32.log file that would help us a lot

This post has been edited by insane_metalhead: 09 November 2010 - 04:38 PM
#22 Posted 09 November 2010 - 05:44 PM

anyway as always. sorry for the not so perfect english ^^ i even confuse myself haha.
and no the log wouldnt help here

#23 Posted 09 November 2010 - 08:16 PM
#24 Posted 10 November 2010 - 12:24 PM
MusicallyInspired, on Nov 10 2010, 05:16 AM, said:
yea

