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 > Bug Reports & Feature Requests > Export as WAV: Not saving whole file Owner: Nines New post
Page 1 of 1 Sort:  
Export as WAV: Not saving whole file Posted: 2009-12-28 13:26 Reply | Quote
Nines



Member for: 4557 days
Status: Offline

#4128
I'm trying to save a small track as a WAV, but it's missing the last one or two rows every time I try and save it, stopping the track from looping properly.

Is there a setting I have enabled that might cause this to happen?

If you could try and export this to WAV, since the file is >1mb, I'd appreciate it.

Thanks


Attachments:
gametunemain.ftm (4 Kb)
Posted: 2009-12-28 17:25 Reply | Quote
Dave
Moderator

Avatar

Member for: 5682 days
Location: UK
Status: Offline

#4131
i am not having much luck either. since your song plays indefinitely, trying to save a wav without first establishing a finite length for the song is naturally not going to get you a perfect loop. that said, putting a Cxx at the end of the second frame trims off the last row like you mentioned. putting a Cxx on the first row of a new (3rd) blank frame means you get all of the song as a WAV, which honestly should be fine, but you will not get seamless looping due to a significant amount of dead air at the start of the wav file (not sure why FT does this.)

my suggestion to you would be to use the second method with creating a new frame, and adding a Cxx event on the first row, dumping a WAV, then using a wave editor (audacity/goldwave/etc.) to trim out the silence at the start of the wav. or you could just forget about famitracker's wav dumping entirely and record your computer's stereo mix (as famitracker is playing) then edit the result directly using a wave editor. this is what i do!

_______________________
[url=http://www.iridescentaudio.co.uk]iridescent audio
Posted: 2009-12-29 18:42 Reply | Quote
Nines



Member for: 4557 days
Status: Offline

#4137
Cheers, I've managed to get it exported and I clipped the silence with Audacity.

Posted: 2010-01-09 22:55 Reply | Quote
80something



Member for: 4552 days
Status: Offline

#4224
I was going to suggest audacity. Just use that to trim your files!

RE: Export as WAV: Not saving whole file Posted: 2011-04-27 20:52 Reply | Quote
parkfun101



Member for: 4072 days
Status: Offline

#16441
I figured it out.

To Export as an *.WAV file in Famitracker, make sure you strip out all the "B00" elements out of the song. These are used to send the song from 1 Frame to another.

Once I got rid of all the B00 elements, I then go to:
"File -> Create WAV...,
Play the song "1" time,
then I click "Begin".

This seemed to work for me on an XP machine. This must be a bug in the logic that has to do with the B00 elements. Please let me know if that fixed your problem.

parkfun101@yahoo.com

Posted: 2011-04-28 05:03 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#16461
I've also had this problem when I didn't use the Bxx effect in exporting WAVs; I'd either set an actual amount of time to play the song, or I'd actually use one extra row for each frame & then use D00 to skip that one row until the last frame.

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
RE: Export as WAV: Not saving whole file Posted: 2011-07-28 16:17 Reply | Quote
parkfun101



Member for: 4072 days
Status: Offline

#20660
Yeah, I thought I had figured it out. Then I took those WAV files and tried listening to them within Windows 7 and they were still messed up, cut off 10 or so seconds of the recording. However, I just checked again and on an XP machine and the wav files still seem good.

I'm going to try saving them as WAV on Windows XP without the BOO statement...(perhaps other statements cause this problem, but I have not tested others yet). After I save them as WAV, I will try opening and resaving them in another application designed for audio to see if that allows them to play without the cutoff on XP and Windows 7. I will let you all know what I find out.


Posted: 2011-07-28 17:37 Reply | Quote
parkfun101



Member for: 4072 days
Status: Offline

#20664
Further research on the web is pointing at the WAV format of PCM as the possible cause of the problem. Another person had the cutoff problem with a totally different program saving as WAV.

http://forums.linuxmint.com/viewtopic.php?f=48&t=22603&start=0

Posted: 2011-07-28 17:44 Reply | Quote
rainwarrior

Avatar

Member for: 4149 days
Location: Canada
Status: Offline

#20665
The WAV PCM format doesn't really have any inherent problems like that; it's rather simple and capable of sample-perfect accuracy.

The problem is with the program making them or playing them back.

Posted: 2011-07-28 17:53 Reply | Quote
parkfun101



Member for: 4072 days
Status: Offline

#20666
On another site, the user switched from playing the WAV file in Windows Media player to something called "J.River's Media Center" and it played the files coded in PCM correctly. He also said he didn't have the problem on Windows Vista.

Perhaps the problem is not with PCM but Windows Media Player???

http://social.technet.microsoft.com/Forums/en-US/w7itpromedia/thread/36a64b68-f3da-4e16-929e-0c87b1af2013/

When I get home tonight, I will let you all know if the conversion to other WAV formats does the trick. I am just using Windows Sound Recorder in XP to do the conversions. I'll let you know the results.

Posted: 2011-07-28 23:59 Reply | Quote
parkfun101



Member for: 4072 days
Status: Offline

#20675
Testing results for playing WAV files that were saved in FamiTracker

==Windows XP==
Media Player - Worked

==Windows 7==
Media Player - Played but cut off last 10 seconds of song.
Winamp - Worked!!!

Page 1 of 1 Sort: