ID:177855
Jul 22 2002, 1:45 pm
|
|
How can I import sound files onto the dreammaker?
|
In response to Lucas Gates
|
|
Lucas Gates wrote:
i think thats it. i don't know. i m stupid Objection you honor.Hes openly admitting that he is stupid to therefor sho that he wasn't smart enough to have coded that pice of junk.:P |
In response to Soccerguy13
|
|
objection overruled; he has pants
|
In response to Lucas Gates
|
|
Lucas Gates wrote:
world << sound("name of the music file") For even better put
world << sound('sound file here')
RaeKwon |
In response to RaeKwon
|
|
I got these errors for some reason...
music.dm:2:error:world:duplicate definition music.dm:2:error:'Mini Bosses - Super Metroid':value not allowed here music.dm:2:error::duplicate definition music.dm:2:error:<< :instruction not allowed here Thanx in advance, Punkrock546 #;} |
In response to Punkrock546
|
|
Punkrock546 wrote:
I got these errors for some reason... Good thing you didn't actually show us the lines of code that points to. That'd be bad. Lummox JR |
In response to Lummox JR
|
|
world << sound('Mini Bosses - Super Metroid')
|
In response to Punkrock546
|
|
and where are you using this code punk rock? show us the procedure you are putting it in.
|
In response to Ter13
|
|
I put it in a file called music.dmi it's the only thing in the file.
Punkrock546 #;} |
In response to Punkrock546
|
|
you don't understand what I'm asking, show us the code AROUND the usr << music
is it in a code file alone? is that what you are saying? |
In response to Punkrock546
|
|
you can't just start a code file and put usr << 'music.wav' at the top, it has to be under some command to trigger it.
try this: world New() world << 'music.wav' ..() |
In response to Punkrock546
|
|
Punkrock546 wrote:
I put it in a file called music.dmi it's the only thing in the file. I assume you mean .dm, not .dmi? .dmi is an icon file. Lummox JR |
In response to Punkrock546
|
|
Punkrock546 wrote:
world << sound('Mini Bosses - Super Metroid') Funny, but I don't see a .wav or .mid extension on that file. I also don't see a proc that this code goes in. You can't just put an instruction line by itself in the middle of nowhere and expect it to mean something. If it's going to play from startup, put it in world/New(). Lummox JR |
In response to Ter13
|
|
Yeah the code is alone.
Punkrock546 #;] |
In response to Punkrock546
|
|
Punkrock546 wrote:
Yeah the code is alone. If that is the entire code, it will not execute. Reread Lummox's last post. |
In response to Punkrock546
|
|
read my last post. YOu can't just put a command out there without it being activated by something.
|
In response to Ter13
|
|
I know how to do it now. I used one of the tutorials but thanx anyways.
Punkrock546 #;} |
world << sound("name of the music file")
i think thats it. i don't know. i m stupid