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
Namely, the files produced have a little bit of dead space at the start and end. This makes the files as they are unusable to be shoved into a game for homemade loops~
Is there something i can do in famitracker to remove this empty space? Or will i have to fiddle with audacity to chop the wavs ends off? It seems a bit imprecise to do that after such a specific process goes into composing them.
What do you guys recommend? Am I doing it wrong?
EDIT:
The workaround i'm using at the moment is to have famitracker export what would amount to 3 loops, then going into audacity, and chopping parts 1 and 3 out. This provides me with any of the ...er...roll-over from the end of a pattern to the start, and i can apparently find the loop points in audacity by ear. It's a tedious chore, but it's working. Any input would still be greatly appreciated~
Yeah, chopping the silence in a program like Audacity, SoundForge or any other audio editor seems like the way to go. That's what I do anyway.
_______________________
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.
If you wanna make it a little easier on yourself, you can try one of two things. Use silence detect/delete (I think Audacity has this feature...not sure). Or, save the wav as a txt file, delete the "0"s from the beginning and end of the text, and reimport/save as wav.
Personally, I just use Goldwave and do manual editing with the zooming feature.
Audacity's zoom feature and it's ZeroCrossing tool work just fine. (also, click the bar just left of the wave to zoom in vertically, right click to zoom out)
Is it just to make stuff like this harder to do? Is it projecting the edges from being clipped out? It seems like sort of a backwards thing to do with a music exporting function if it isn't completely necessary for preserving the integrity of the exported audio. I'd much rather have to add silence into the track if needed rather than have to clip tiny snips to make a loop.
Usually, for any project involving raw .wav, it is preferable to have extra blank space padding either direction to do your DSP needed. It's not usual for a .wav project to be intended to loop.
(that's what nsf is for \o/)
Oh. The game is, at this point mostly ported to java. It actually uses .ogg, but unless there's some code laying around to play nsf's inside the game itself, the process to get music from here to there is compose > Export .wav > chop bits off each end > Convert to .ogg > place in game's music folder.
I am unfortunately not a programmer, just an asset guy~
You could also ask him about getting NSFs to work in your Java game on the NESDev forum. But honestly, it might be easier for you to stick with standard audio libraries instead.
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
(Lousy modern technology! )
Going to talk about WAV export againPosted: 2014-03-21 00:53 (Last Edited: 2014-03-21 00:54)
Into my second project, i'm again doing all the music and sound for a game in famitracker. Being a game done in java, at the moment we're still using traditional file formats for the music. Ogg vorbis, converted from .wav.
I'm being a bit more particular with the music in this one, and i'm finding that it's very very difficult to mask the loop points. As i mentioned months ago, when you export a frame (or many) in famitracker as a .wav, it adds a bit of empty space to the beginning, and then at the end. The amount of empty space added to each side is not equal, the end having less of it than the start.
Simply trimming the space isn't enough, unfortunately. With this example ftm, when you export the wav, it truncates a bit of the final line in the pattern. I've doubled the pattern, re-exported and compared the loop point in audacity. There's a noticeable chunk of sound just missing at the end.
I don't expect anyone to load up my ftm, put it into audacity and see precisely what i'm talking about, but i would like to know why this space/slight trim of the end of the track happens. Famitracker is a wonderful tool, but i'm running into some serious snags with the exports.
And yes, we could look into adding nsf support? But that's not really the issue here. I'd like to know what's up with the wave export. If anyone knows what's up, please do tell!
Thanks for the time, guys~
EDIT : Crap. This was supposed to be a new thread. Didn't mean to drag it up, but whatever i guess. Should i newthread it, or just leave as is?
I don't think this is so much a problem with FT as it is with your inability to use a wave editor fluently.
This took me 2 minutes to do
Export 2 repeats of the song. Import in Audacity, find a zero crossing where the 2nd loop starts, select that point and everything to the right. Cut. Select zerocrossing where the signal begins and everything to the left. Cut. Shift+Space to check results
Well alright. The space at the beginning doesn't seem to lose any information, so trimming that IS fine without any real work. Determining exactly where the loop point is a little trial and error, but it's doable.
I would ask though, why do you have to have it do a repeat? Why does famitracker not export the final line of the pattern fully unless you have it keep going into a repeat?
Thanks for the explanation on the simplest procedure for doing this in audacity. It'll make doing songs with intros that only play once a bit of a pain, but i guess some things just aren't easy.
I'm still curious as to the technical 'why' for the truncated information at the end though~