Banner
Views: 993,089,808
Time:
15 users online: AndreDK7, AntiDuck, BEESphilly, Blaagon, bravetoaster, brickblock369, h.carrell, Infinity, MiracleWater, Nciktendo, NightMareBalon, Ralshi02, RZ1, SomeGuy712x, Vanessa - Guests: 77 - Bots: 119 Users: 54,459 (2,077 active)
Latest: sanskieth
Tip: Try running your hack on various SNES emulators to see if anything is incompatible.
Not logged in.
Need help with "addmusic" or porting?
Forum Index - SMW Hacking - SMW Hacking Help - Custom Music - Need help with "addmusic" or porting?
Pages: « 1 254 55 56 57 58 59 60 61 62 63 » Link - Thread Closed
In SPC700 player, there's Src, Level, Pitch and EX. What's the Level? How do I change it on txt?
I am having a problem with the song DKC2 - Krook's March before that fancy N-SPC patch was released. My problem is is that when I go into my level it goes all quiet, but other music still works... Here is the code:

Code

EDIT: I just forgot to put .txt at the end of the filename in the .ini xD
I'm a bit new to the music-adding process, and I didn't want to go through the hassle of editing my original MIDI into the format that SMW uses, as it switched between tracks a lot, had multiple tracks with two or more notes, and was in 12/8 time. So I tried to recreate it from scratch, and it seems all right just looking at it (nothing fancy, obviously, as this is my first try). When I tried to add it to a clean, 2-MB SMW ROM, it went through with no errors; however, it didn't play anything when I went to the level I set for it to play in.

For reference, here's the file (if I need to upload it elsewhere, let me know). Also, I was using "Addmusic by Perl ver1.02" from the main site.

Is there some step in the process I missed? (As for getting it into .mml format, I simply saved the text document I created from scratch as a ".mml" file.) Or is there something obviously wrong with the syntax that I just didn't catch? I would appreciate any help I could get.

--------------------
No signature as of yet.
Originally posted by undefinied3
In SPC700 player, there's Src, Level, Pitch and EX. What's the Level? How do I change it on txt?

SRC is sample number, corresponds to Sample Tool's slots.

Level is the volume. Left number is volume level on left speaker, right number is the volume level on the right speaker. Remember that if both numbers are the same, the panning is centered, "y10".

Pitch, well, they're the notes you place. This can also help you with near-to-exact sample tuning, and pitch bending.

EX is the strength left in the note, how hard the note is played. 7F is the loudest, and 00 is the most quiet. Don't mistake this for volume level, though.

Originally posted by jdaster64
words

Re-do channel #5, the octave goes up and up and up, rarely ever coming back down.. but make sure everything before the / on each channel is timed evenly. The loop is very broken because of this. Place an "[r1]99" at the end of every channel except 1. Experiment with all the channels until you find the longest one that loops the song at the right time. The @3 channels mess up on timing, too. You may want to take a look at that.

Also, future reference: You don't need to type "q7f" unless you intend on changing it. Go here instead of uploading your .txt files elsewhere. One last thing. I recommend you switch to HuFlungDu's AddMusic that just came out not even a day ago.
Addmusic cuts the song short and loops based on the shortest channel. Look for the longest channel you have now, THEN put [r1]99 at the end of every other channel. You have to be careful on which you put it on.

--------------------
I think a post layout goes here somewhere...
Thanks a bunch for the info, and I'll definitely try out that new Addmusic tool. I figured I might've messed up the octaves on Channel 5, as it jumped around a ton in octave register. And thanks for your timely response, Slash Man, I was about to ask what the [r1]99's did.

Also, I should've posted this before, but for future reference, this (first part) is what it's supposed to sound like, more or less; I imagine where it's supposed to loop is clear enough.

EDIT: It's in and working fine, for the most part. However, channels 6 and 7 disappear when certain sounds play in the level (jumping, cannon shot, etc.) and don't come back in after the sound is finished playing. Is there any way to stop that from happening?

--------------------
No signature as of yet.
You put percussion sounds on #6 and #7. When you put percussion on #4, #6 and #7, you want to redefine the instrument for every single note.

Example: @[email protected]@[email protected][email protected]@[email protected]@23c8

Also don't worry, it doesn't alter the insert size.

--------------------
I think a post layout goes here somewhere...
im pretty sure that increased the insert size a little bit
Thanks again for the help, it's working fine now; now I just need to combine some channels to optimize it.

Just a couple of general questions I had as well:
- exactly what commands (@, v, p, etc.) can be changed midway through a channel?
- is there a command for pitch bending (dropping or raising a note to another), and if so, what is it?

--------------------
No signature as of yet.
noty sure how to make use of a pitch command but ANY command can be redefined multiple times in a channel, there are a few that are common sense not to add more then once like the intro command, it should only be added once per channel.
Originally posted by jdaster64
Thanks again for the help, it's working fine now; now I just need to combine some channels to optimize it.

Just a couple of general questions I had as well:
- exactly what commands (@, v, p, etc.) can be changed midway through a channel?
- is there a command for pitch bending (dropping or raising a note to another), and if so, what is it?

- @, v, w, p, t, l, y, q, and most N-SPC commands can be changed midway.
- Pitch bending is an N-SPC command. You use it with $DD, and you can read more about that, as well as the rest of N-SPC/HFD's AddMusic Commands, here.
How do you use sample 13 in a piece of music (since it doesn't have an @ value)? Is it just $DA $13, then the rest of the channel goes like any other? Does it need to be redefined like a percussion instrument?

And speaking of percussion instruments, of N-SPC commands D0-D8, which ones correspond to which instruments?

Finally, what do N-SPC commands C8-CF, D9, and EA do, if anything?

----------------

I'm working on a hack! Check it out here.
Imamelia, I based that somewhat off the existing list. It was working by sample somehow before, then I tested it with every instrument and it worked like that. It's weird but yeah, I'm fixing it now.

--------------------
I think a post layout goes here somewhere...
Yeah, I wondered about that...does $E5 work for original samples as well?

----------------

I'm working on a hack! Check it out here.
Yeah it does. I used them in Disco Train because I had to replace some of SMW's samples. I ended up using something along the lines of like $E5 $91 $03.

--------------------
I think a post layout goes here somewhere...
Originally posted by CrispyYoshi
Pitch bending is an N-SPC command. You use it with $DD, and you can read more about that, as well as the rest of N-SPC/HFD's AddMusic Commands, here: [url].


The link is broken for me; what's the name of the document?

--------------------
No signature as of yet.
Ersan nuked the download link so I could fix it but you can find it here.

--------------------
I think a post layout goes here somewhere...
Thanks a bunch, I'll get to messing around with those later commands.

--------------------
No signature as of yet.
Well, I'd never think I'd have trouble with a simple song such as this one, but the MIDI is really giving me a hard time. This is my first time porting raw, so yeah, I'm not expecting the best.

So, I currently have one melody down pat. (Although I'd love the Ensemble Strings in the MIDI more)

My port so far It sounds pretty good so far, but nowhere to as good the MIDI sounds.

MIDI version I used

The whole thing is only 3 channels, but the Ocarina (MIDI Channel 1) is giving me lots of problems. And I can't seem to get MIDI Channel 3 to hold to the ambient you hear in the MIDI. I removed the Ocarina from the TXT.

By the way, would anybody know where I can find an Ensemble Strings sample as heard in said MIDI? Thank you to those that help!

---- BY THE WAY -- Here's a copy of the TXT for those that would like to see it. --- (No, it isn't looped)

#0 w225 t75
tuning[17]=0
$EF $06 $45 $45
$F1 $03 $4A $01
$ED $DF $E0

#0 @17 v225 q7f y10
#1 @17 v225 q7f y10
#2 @17 v225 q7f y10
#3 @17 v225 q7f y10

#0
$ED $0D $E0
<g1^1a1g1^1a1a+1^1>c1<a+1^1>c1<g1^1a1g1^1a1a+1^1>c1<a+1^1>c1

#1
$ED $0D $E0
<c+1^1^1^1^1^1e1^1e1e1^1e1c+1^1^1^1^1^1e1^1e1e1^1e1

#2
$EE $0D $E0
<g1^1v225a1g1v195^1a1v145a+1^1>v195c1<a+1^1>v225c1<g1v195^1a1g1^1a1v145a+1^1>v195c1<a+1^1>c1

#3
$EE $0D $E0
v225<c+1v185^1v175^1v165^1v175^1v185^1v195e1v185^1e1e1^1e1c+1v195^1v185^1v175^1v165^1v175^1v185e1^1e1e1^1e1
You might want to use @1 instead of @17. Maybe fix your octaves at the beginning of the channels too.

Also...

#2
$EE $0D $E0
<g1^1v225a1g1v195^1a1v145a+1^1>v195c1<a+1^1>v225c1<g1v195^1a1g1^1a1v145a+1^1>v195c1<a+1^1>c1

$EE is not an ADSR command, it's fine tuning, in channels #2 and #3.

--------------------
I think a post layout goes here somewhere...
Pages: « 1 254 55 56 57 58 59 60 61 62 63 » Link - Thread Closed
Forum Index - SMW Hacking - SMW Hacking Help - Custom Music - Need help with "addmusic" or porting?

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks