Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > A tool for making N163 and FDS waveforms Owner: furrykef New post
Page 1 of 3 Sort: Goto Page: [1] [2] [3] Next >>
A tool for making N163 and FDS waveforms Posted: 2013-01-03 07:16  (Last Edited: 2013-01-04 01:28) Reply | Quote
furrykef

Avatar

Member for: 5189 days
Status: Offline

#43275
[b]EDIT:[/b] Now with FDS support! Also no longer prints those annoying parentheses.

[b]EDIT #2:[/b] Now with a normalization feature!

It's admittedly probably more of a toy than anything, but you may like to give this a try regardless. It's a plugin for Audacity 1.3 or better. Copy the n163.ny file to your plugins folder. For me, that's "C:\Program Files (x86)\Audacity\Plug-Ins". If you already have Audacity running, you must restart it before it will work.

Next, open a sound in Audacity you would like to use, for instance, a piano sound. If it's stereo, convert it to mono first. You might like to normalize your waveform (Effect -> Normalize) to remove DC offset and to make the next step a bit easier. Now zoom way in on your sound until you can see the individual dots of the waveform. Try to select a single period (repeating part) of the waveform, getting it as exact as you can. Once you've got your selection, you can hold shift and click the play button to play your selection as a loop, giving you a rough idea of what it's going to sound like. Once you've got a selection you like, click "Analyze -> N163/FDS waveform...", choose the mode, wave size (you'll likely want to keep it at 32), and whether normalize the result (yes, unless you know what you're doing), then click OK. It should spit out the MML numbers for your waveform as a label. Click on the label and you should be able to copy MML numbers. You may find it easier to select the numbers using the keyboard (arrow keys and shift) than with the mouse for some reason.

For N163, paste the numbers into your instrument's MML textbox and hit Enter. Voilà! You've made an N163 waveform!

For FDS, there is no textbox. Instead, click the "paste wave" button and presto!

Have fun.


Attachments:
n163.ny (2 Kb)
Posted: 2013-01-03 09:12 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#43276
Interesting. I didn't know Audacity had an embedded lisp interpreter! I should be using this for stuff! Thanks for this.

Posted: 2013-01-03 16:09 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#43279
Nice. This would be useful for FDS too if there was a way to select 64 steps instead of 16.

_______________________
Programmer and developer
Posted: 2013-01-03 16:30 Reply | Quote
za909

Avatar

Member for: 3962 days
Location: Hungary
Status: Offline

#43280
Interesting, it usually gives me values between 7 and 13 and nothing else...should I make it even louder? Or not remove the DC offset?

_______________________
Rectangular sh*t ©
Posted: 2013-01-03 16:37  (Last Edited: 2013-01-03 16:43) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#43281
Maybe normalize after removing the offset?

P.S.> Rushjet1 made [url=http://4x86.com/n106izer.exe]a similar app not too long ago. Still, it's pretty cool to have this in the form of an Audacity plugin.

Posted: 2013-01-03 21:35 Reply | Quote
furrykef

Avatar

Member for: 5189 days
Status: Offline

#43284
[quote=jsr]Nice. This would be useful for FDS too if there was a way to select 64 steps instead of 16.[/quote]
I would have made an FDS version too, but there's no way to paste MML waveforms into Famitracker 0.4.0...

Posted: 2013-01-03 21:50 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#43285
There is no text box for it, but the copy/paste wave buttons are actually using MML strings. Try pasting a FDS wave in notepad.

_______________________
Programmer and developer
Posted: 2013-01-03 23:19 Reply | Quote
furrykef

Avatar

Member for: 5189 days
Status: Offline

#43288
I stand corrected! The original post now has an FDS-capable version.

Posted: 2013-01-04 01:27 Reply | Quote
furrykef

Avatar

Member for: 5189 days
Status: Offline

#43290
I just added a "normalize result" feature, since I realized that normalizing the input doesn't mean the output will be normalized. That should fix the problems you're having, za909.

Posted: 2013-01-28 18:23 Reply | Quote
Curious

Avatar

Member for: 3616 days
Location: Sweden, In My Mom's Basement
Status: Offline

#43842
I just randomly encountered this thread after giving up looking for something that would do the exact thing this does. Sometimes luck can be on your side.

Now I can make my Pokémon covers without being annoyed with trying to figure out how to do it by hand.

Thank you for this wonderful thing!

_______________________
I have always been a curiously curious person.
(Sort of frequent mega poster here, beware!)

"Simple is always better. For something to sound simple, there has usually been a whole development cycle behind it." - David Wise
Posted: 2013-01-29 17:21 Reply | Quote
Im_a_Track_Man

Avatar

Member for: 4137 days
Location: Plantation, Florida
Status: Offline

#43877
YAY! Now I can passively steal Gameboy waveforms (and no one will be any the wiser)!

_______________________
[BURNING LOVE]
[url=http://www.youtube.com/user/ImATrackMan]YouTube
[url=https://twitter.com/ImATrackMan]Twitter (Stay off my lawn, kids)
Posted: 2013-02-06 01:55 Reply | Quote
arookas

Avatar

Member for: 3720 days
Location: United States
Status: Offline

#44092
Awesome! I use Audacity already for my Yoshi's Island recreations and this will be of great assistance.

Posted: 2013-02-06 05:36 Reply | Quote
Gamma

Avatar

Member for: 3816 days
Location: Alaska
Status: Offline

#44095
This has done wonders for me so far. Thanks for making this!

Posted: 2013-03-29 18:03  (Last Edited: 2013-03-30 00:48) Reply | Quote
ZexionTehWolf

Avatar

Member for: 3530 days
Location: London...?
Status: Offline

#46071
I'm sure I'll be penalized for bumping an old thread, but I'm at the end of my tether with Audacity.

I followed all the steps in the original post on how to get the waveform values and whatnot, and whenever I try and achieve a waveform from my looped sample I get a pop-up box that simply says "Nyquist did not return audio"

Does anyone know how to fix this error that I somehow have run into inadvertently?

--EDIT--
The error has been resolved, sorry for any inconvenience.

_______________________
fucking awful forum
Posted: 2013-03-30 13:42 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4983 days
Location: Canada
Status: Offline

#46091
How did you solve it? Going "nevermind problem solved" without mentioning your solution is rude to people who might encounter the same problem in the future.

_______________________
Follow me on [url=https://twitter.com/jrlepage2a03]Twitter.
I record (some) NSFs on hardware. Feel free to [url=http://www.famitracker.com/forum/posts.php?id=3633]request a hardware render.
Page 1 of 3 Sort: Goto Page: [1] [2] [3] Next >>