nesdev.com
http://forums.nesdev.com/

FamiTone - audio library (release)
http://forums.nesdev.com/viewtopic.php?f=6&t=7329
Page 4 of 6

Author:  unregistered [ Mon May 30, 2011 1:50 pm ]
Post subject: 

Shiru wrote:
This question is not related to FamiTone, it is related to NESASM and answered in its docs. In short, .bank selects 8K bank in a ROM file, number of banks defined through .ines*** defines in the beginning of the source file.


ah ok i got it now, the FamiTone code is NESASM. :oops: Thank you. :)

Have another question and hope it is related to FamiTone. :) How can I get FamiToneUpdate to run on every frame.................................. wait that's probably answered in demo.asm... yes it is! :oops: Thanks though. :)

Author:  Shiru [ Mon May 30, 2011 1:53 pm ]
Post subject: 

It is related to NES programming in general, and actually it is not the simplest question. You need to call it after VRAM updates, so the most common way is to put sound update call in the NMI handler, after all the video related code.

Author:  unregistered [ Thu Jun 02, 2011 8:22 am ]
Post subject: 

Shiru, have you ever recieved a small bunch of Unknown label. errors followed by a lot of Can't determine address. errors? These errors have been reported by asm6 while trying to build my nes file to test with. All of the errors have been reported from music32101.asm, the first music file created by famitone. I did add the -asm6 before its creation.

Author:  Shiru [ Thu Jun 02, 2011 8:35 am ]
Post subject: 

No, I haven't got any mails regarding FamiTone at all.

I don't know anything about asm6.

Author:  unregistered [ Sat Jun 04, 2011 3:34 pm ]
Post subject:  !!! :D

Made progress... yes. All of the errors dissappeared and the rom build successfully once I recieved some understanding and so we figured out that all of the
Code:
.env_default
things needed to be changed to
Code:
@env_default
. I guess something needs to be changed in the text2data program? Remember I'm using asm6. :)

The rom kind of works... there is a lot of wierd things... I think it's my code problem somewhere, but Shiru, do you think you could help me with some hints as to why the song doesn't play? Have to look at the code now... help if you can. :D

Author:  Shiru [ Sun Jun 05, 2011 4:15 am ]
Post subject: 

text2data supports asm6 syntax, so you did something wrong. Old version of the tool, -asm6 in a wrong place, etc.

Sorry, I don't like to figure out what is wrong with other's code, I always have megabytes of my own code to work with. If you have problems with NES programming in general, ask on NESdev section of this forum, other people could help. In this thread I only answer to questions related to FamiTone usage, issues, bugs, not obvious things (not mentioned in docs), etc.

Author:  Shiru [ Sun Jun 05, 2011 11:15 am ]
Post subject: 

I had thoughts about native multiple assemblers support in FamiTone for long time, similar to the idea tepples once suggested. Ports by ManicGenius and UncleSporky gave me idea how it should look, so here is my attempt to solve the problem: a tool that converts NESASM source code to CA65 and ASM6 source code (not arbitrary code, just FamiTone).

As I'm not a user of these assemblers, try it and tell me if anything is wrong. CA65 output compiles without errors, at least.

Edit: now included into the main archive

Additionally, text2data and nsf2data tools were updated to produce correct ca65 output.

Author:  Shiru [ Sun Jun 05, 2011 6:35 pm ]
Post subject: 

FamiTone is updated. Many minor fixes, some optimizations, code to work correctly in situation when you call update in NMI and start sound effects from the main code.

ca65 version converted with the tool is tested, it works correctly.

Author:  Shiru [ Sat Jul 16, 2011 2:49 am ]
Post subject: 

Fixed a bug in text2data with incorrect RLE compression in envelopes (encoded 3+ as 5+ frames).

Author:  Shiru [ Fri Jul 22, 2011 11:52 am ]
Post subject: 

Another update. Fixes some things in text2data, and also adds two switches -onlyins and -noins. Using these switches you can export instrument and music data separately, it is useful when you need to save some space by using the same instruments data with few songs.

Warning: text2data don't like songs with patterns of different weird lengths (with effects D00 and Bxx), in some cases it can create wrong music data. Needs to be fixed.

Author:  Hamtaro126 [ Sun Jul 24, 2011 4:15 pm ]
Post subject: 

I went to Shiru's website, It seems to be down, Maybe permanently.

Just thought I'd let you know.

Author:  Shiru [ Sun Jul 24, 2011 4:28 pm ]
Post subject: 

Thanks to my hoster for my new signature. Just wait a day, it will work again. FTP links works always, though.

Author:  thefox [ Thu Aug 18, 2011 6:37 am ]
Post subject: 

FYI, I've added FamiTone text export option in Pornotracker.

Author:  sdwave [ Mon Feb 13, 2012 1:48 am ]
Post subject:  Awesome work!

I just wanted to say Famitone is a really nice library/package. I've got my Famitracker music running (with DPCM drums) and multichannel tri/noise sound effects I made from .ftm->.nsf->famitone data.

One small possible bug report, I'm using ca65, and I had to fix one small bug to get my sound effects working. I needed to change

.if(~FT_SFX_ENABLE)

from using bitwise not "~" to logical not "!"

.if( !FT_SFX_ENABLE)

Expected, or something else I should have done?

Author:  Shiru [ Mon Feb 13, 2012 3:19 am ]
Post subject: 

In my version it is logical not, and it haven't change for long time, so maybe you got some older version (current is 1.24)?

Page 4 of 6 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/