Language…
4 users online:  BeeKaay, E623, Guido_Keller, krizeth - Guests: 239 - Bots: 410
Users: 64,795 (2,377 active)
Latest user: mathew

Wakana's Music Porting Tutorial - From the Basics to the Advanced

Custom MusicPortingSamples

Originally posted by Ultima

Yup, Maxodex is right. That's a case where you could apply a legato to make the tiny note not sound weird.

The chances are the following in your case:
- Porting it normally: c8< b2 > c32 d8.. c8<b8
- Applying a legato: c8< b2 > $f4$01 c32 d8.. $f4$01 c8<b8

$f4$01 toggles legato. All the notes after it will play with the ADSR locked. You won't be able to hear the end and the start of a note.

Look the example I did for you. The first time I write $f4$01, legato is activated. The second time I write $f4$01, legato is deactivated.

Quote
Done with grammarizing everything up to 1.2.
Also learned how to port during that, oops.

I really appreciate, thanks lots. Although please, refrain from erasing whole pieces (you removed the mention about triplets when I talked about general note lengths).
Originally posted by Wakana
I really appreciate, thanks lots. Although please, refrain from erasing whole pieces (you removed the mention about triplets when I talked about general note lengths).

<leod> I don't get what triplets are from your tutorial btw
<Wakana> it needs an extra chapter
[...]
<leod> maybe you should remove that line there then cause its just kinda confusing
<Wakana> done

I thought that meant that you wanted it removed #wario{<_>}
Your layout has been removed.
Originally posted by leod
Originally posted by Wakana
I really appreciate, thanks lots. Although please, refrain from erasing whole pieces (you removed the mention about triplets when I talked about general note lengths).

<leod> I don't get what triplets are from your tutorial btw
<Wakana> it needs an extra chapter
[...]
<leod> maybe you should remove that line there then cause its just kinda confusing
<Wakana> done

I thought that meant that you wanted it removed #wario{<_>}

I meant the "b8 equals to {b16b16b16}" part, not the whole mention to triplets, lol.

Anyways, added the chapter about how to rip .brrs.
I also messed the table of contents so that you easily figure which chapter is done and which is not done yet.

Again, any errors please let me know (especially on the snesbrr thing since I never used it!).

EDIT: Also added the triplets chapter.
Hey. There is many new Methods.

1. Resampling and Tuning the Quality Options

Code
"PCM1.brr" 	$00 $00 $7F $01 $EA	- (o4 c) 8000Hz			Very Low Quality
"PCM2.brr" 	$00 $00 $7F $02 $A5	- (o4 c) 11025Hz		Low Quality
"PCM3.brr" 	$00 $00 $7F $02 $DF	- (o4 c) 12000Hz		Easy Quality
"PCM4.brr" 	$00 $00 $7F $03 $D4 	- (o4 c) 16000Hz		Normal Quality
"PCM5.brr" 	$00 $00 $7F $05 $47 	- (o4 c) 22050Hz		Standard Quality
"PCM6.brr" 	$00 $00 $7F $07 $A8 	- (o4 c) 32000Hz		High Quality
"PCM7.brr" 	$00 $00 $7F $0A $8B 	- (o4 c) 44100Hz		Perfect Quality


- The BRR Memory Quality Option Works?

Code
8000Hz		4,502 bytes per Second (4.39KB)
11025Hz		6,203 bytes per Second (6.05KB)
12000Hz		6,752 bytes per Second (6.59KB)
16000Hz		9,002 bytes per second (8.79KB)
22050Hz		12,404 bytes per second (12.1KB)
32000Hz		18,002 bytes per second (17.5KB)
44100Hz		24,806 bytes per second (24.2KB)


The Limit of BRR Size is 55KB+ (C700) Because There is SPC ARAM Limitation and uses 7KB? for MISC and SFX.
In AddMusicK V1.1.0 Beta Support to TrackMusic. Because Is not inserting MISC and SFX and The Limit of BRR Size is 60KB+.

- The Maximum of Length of BRR Quality (AMK v1.0.5)
Code
8000Hz		54,024 bytes per 12 Seconds Limit
11025Hz		55,000 bytes per 8.5 Seconds Limit
12000Hz		54,016 bytes per 8 Seconds Limit
16000Hz		54,012 bytes per 6 Seconds Limit
22050Hz		54,577 bytes per 4.4 Seconds Limit
32000Hz		54,006 bytes per 3 Seconds Limit
44100Hz		48,172 bytes per 2 Seconds Limit


- The Maximum of Length of BRR Quality Using Stereo divided by 2
Code
8000Hz		27,012 bytes per 6 Seconds Limit
11025Hz		27,500 bytes per 4.25 Seconds Limit
12000Hz		27,008 bytes per 4 Seconds Limit
16000Hz		27,006 bytes per 3 Seconds Limit
22050Hz		27,288 bytes per 2.2 Seconds Limit
32000Hz		27,003 bytes per 1.5 Seconds Limit
44100Hz		24,086 bytes per 1 Seconds Limit



2. Using The VST Plugin on OpenMPT (If Don't have FL Studio)

First Open OpenMPT, Click to "New Song" or Tab "New > Song".
Now Go to Tab "View > Plugin Manager" Then Click "New Plugin" and Select the C700.dll. and Click "Put in FX01"
Go to "General" Bar and you can see the "Plugins" here and Select "Edit".
And Here we go! C700 Plugin Window Is Here.
Uhhh... The VSTi Volume is too low.
Solution. Turn up the VSTi Volume at Higher.
Sounds Normal or Loud


3. BRR Sampling with 2Ch Stereo Support.

A lot of people wanted a BRR File with Stereo Sound?
That is not.
There's an excellent trick for you.

A) Drag n Drop the WAV File to Audacity.
B) Click the tab below inside the audio track, and select split for stereo.
C) Select a left track and export selected to WAV and select a right track and export selected.
E) Open OpenMPT, Click to "New Song" or Tab "New > Song". Go to "Samples" Bar and Drag n Drop the "LeftChannel.WAV" to OpenMPT.
F) Then Right click in the Waveform and select "Convert to Mono > Left Channel" then "Resampling".
!!! Very Important See Top at the "The BRR Kilobytes divided by 2 to use Stereo" !!!
G) Click to Floppy Disk Icon "Save Samples" inside the "Samples" Bar, Export To Wav. (LeftBRR.wav)
H) Drag n Drop the "RightChannel.WAV" to OpenMPT.
I) Then Right click in the Waveform and select "Convert to Mono > Right Channel" and then "Resampling"
J) Save to WAV Again (RightBRR.wav)
K) Go to learn the Method 2 "Using The VST Plugin on OpenMPT"
L) Convert 2 WAV Samples To BRR
M) Copy or Move the "2 Channel BRR Files" in Samples Directory of AddMusicK
N) Open Notepad and Copy and paste this code.

Code
#amk 2
#samples
{
	"L.brr"
	"R.brr"
}

#instruments
{
	"L.brr" 	$00 $00 $7F $0A $8B
	"R.brr" 	$00 $00 $7F $0A $8B
}

w255 t20

#0 v255 @30 y20
c1 / ^1

#1 v255 @31 y0
c1 / ^1


O) Save the TXT and Test it.

And This is the final result

Using for Nintendo Presents Logo
i've been wanting to make music for super mario world for a long time but there's never been a very good tutorial for making music. thanks a lot for making this tutorial!
Hi there.
You should probably also mention that the VielaBot thing works on the Discord too, just use !vb instead of .vb
Originally posted by TheJuanCarlos64
*stuff*

Thank you for sharing! I added your method with OpenMPT for ripping samples in the tutorial. I'll soon add the stereo way of ripping samples, even though it's pretty simple.
Again, thank you lots. You've been credited.

Quote
i've been wanting to make music for super mario world for a long time but there's never been a very good tutorial for making music. thanks a lot for making this tutorial!

Thank you again.

Quote
You should probably also mention that the VielaBot thing works on the Discord too, just use !vb instead of .vb

Edited. I forgot that "." doesn't work on Discord for some reason, lol.
Iirc, there also was a "site version" of vilelabot?
For the samples, you listed @8 as "quite by itself" which makes no sense.
I think it should be "quite loud by itself"
e: yeah, there was a site version of vb, it's here.
Hi, I'm a signature!
Hack Thread
Hack Testing Status: Available.
Layout by Koopster.
Originally posted by Konata Izumi
For the samples, you listed @8 as "quite by itself" which makes no sense.
I think it should be "quite loud by itself"

it's supposed to be "quiet"
- Fixed small error pointed out by Konata Izumi (thanks a lot!). I replaced the IRC/Discord part with a link to the web version of it, since it's more accessible to everyone.
- Added how to stereo samples, thanks again TheJuanCarlos64 for it!
- Added some HTML stuff to make your navigation trough chapters less annoying.
Yeah, sorry about my question earlier. I actually found out the problem on a entirely different place, so I dont think this really needs to be bothered anymore.

I have another question tho: about rests in AMK, are you planning on touching on that subject more? I know that rests behave like note lengths, but I havent really figured out how to know exactly when and where to put these, since I work with entirely different software, and its a bit hard for me to know because of this. Plus, I'm pretty sure a lot of new porters are gonna be stuck on that and wonder why a certain instrument is playing earlier than it should, so I think its something that should be touched more upon.
Layout by Mathos
Originally posted by Ultima
I have another question tho: about rests in AMK, are you planning on touching on that subject more? I know that rests behave like note lengths, but I havent really figured out how to know exactly when and where to put these, since I work with entirely different software, and its a bit hard for me to know because of this. Plus, I'm pretty sure a lot of new porters are gonna be stuck on that and wonder why a certain instrument is playing earlier than it should, so I think its something that should be touched more upon.

I'm not going to; I can't think of how I could make another chapter about note lengths. It's just a matter of practice. If you are having troubles, you could post (or PM me or any porter) about the specific issue you're having. I encourage posting here anyways, so that others could learn from the issue.
(Sorry for taking so long to answer btw)

Posting this to also say I'm very sorry for the long time this is taking to complete: I'm litterally buried under exams atm. The only thing I can do is to allow whoever wants to give a try at explaining missing chapters a chance to contribute (especially on the remote commands chapter, since I lack some knowledge about those).
Yes, I've been waiting for one of these! Super thanks to Wakana!

Also, something to add: How would I fix the "nested loops" error?
Code
[
(1)[[@22c8]]6 @10c8 @22c8
]2

I have that as the code, but it says "Nested loops are not allowed"?


EDIT: I fixed this error by making the outside double brackets instead of the inside. So it turned out to be this, instead:

Code
[[
(1)[@22c8]6 @10c8 @22c8
]]2


I'm still not sure why it's like that though, so feel free to explain.
My YouTube Channel
Best SMW Hacks Compilation
You cannot use label loops with superloops, and you cannot put label loops within normal loops (and this has been like that since the first Addmusic). That's pretty much the only restriction.
LINKS Twitter | YouTube | SoundCloud | Fortaleza Reznor
to hear birds and see none.
Made the chapter about echo (in case you didn't notice before lol) and the SFX making one.
Whoever has experience with SFX, please give it a read, since I'm sure I said some wrong things here and there. Let me know if it's the case!

Next update should cover the whole tutorial. The very last chapter will contain random tricks and tips I figured out during my porting experience.
Posting here to state that, finally, the tutorial is 100% finished!

The only chapter which potentially extends to infinite is the last one, which contains cool tricks you can pull off with commands. If you have some, do let me know!

If there are any issues, bad things and grammar errors, tell me and I'll be fixing it.

Hope you all like and appreciate!
Originally posted by Wakana
Credit to following people for sharing additional knowledge other than mine:
- TheJuanCarlos64


Oh, I forgot to change my username

Also i added the tip.

- Converting Length to rows

;c=192 / c1
;c=96 / c2
;c=48 / c4
;c=24 / c8
;c=12 / c16
;c=6 / c32
;c=3 / c64


;c=128 / { c1 }
;c=64 / { c2 }
;c=32 / { c4 }
;c=16 / { c8 }
;c=8 / { c16 }
;c=4 / { c32 }
;c=2 / { c64 }
Originally posted by JonKaruzu
*stuff*

Fixed and also added what you said there. Thanks!
Originally posted by Wakana
You can quickly move +1/-1 octave with < and > respectively.


Just to let you know, you got the signs mixed up. Hoping you can fix this mistake as soon as possible.
I'm not sure if this was already explained, but how would I have an intro to a song, such as a part that would only play during the start, and then when the song loops, it goes back to the section right after it, instead of the start of the entire song?
TAke a look, y'all: IMG_4346.jpeg

Custom MusicPortingSamples