[0.5B resolved] 5B envelope issue on some hardware (YM and 5B) - FamiTracker

# FamiTracker

FamiTracker Support Forums

Skip to content

## [0.5B resolved] 5B envelope issue on some hardware (YM and 5B)

Please post about bugs here.
Forum rules
When making a bug report, please try to be as specific as possible. Include information on how to reproduce the bug and an example file if possible.
If the application crashed, please include the generated memory dump file as well.
Post Reply

- Print view

9 posts • Page 1 of 1

ImATrackMan
  Posts: 188
  Joined: Sat Apr 25, 2015 6:05 am
  Location: Plantation, FL, US
  Contact:
  Contact ImATrackMan
  Website Twitter Skype

### [0.5B resolved] 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by ImATrackMan » Wed Feb 17, 2016 10:29 am

So thanks to a gracious offer by Rana, I got my hands on a TNS-HFC4. Built-in RP2C33 sound, an external cartridge slot for internal mixing through real cartridges (like jrlepage's HFC3), and even compatibility with multichip NSFs through the use of the HFX4 board. Naturally, I wanted to see how a few songs sounded mixed through the real cartridges (not externally mixed), and when I got to Gimmick! I initially noticed that the internal amp makes it way to loud (this was a mistake on my part, I had a jumper set wrong), but afterward found that noise and tone work fine, but envelope seems to play using shape value $00 or not at all no matter what the setting.
I'm going to go on a slight tangent and also mention 0cc-FT because it's not immune to envelope issues either, which means that this odd issue has been present since possibly before 0.4.6. Official FT refuses to play sounds using the envelope in any way unless it's combined with the tone at a very (extremely) high period, so low tone+env combos/ringmod will not work, and 0cc will only play the tone or noise portion of a mode combination. Even stranger, NSFs generated in the official FT beta have the same issue on the HFX4's and HFC5's YM chip (which is odd, because jsr can test this on his pwn hardware), while 0CC-generated NSFs play totally fine. I know the issue has something to do with FT because MML-based (OFGS, MCK, NSD.lib) NSFs which use the envelope all work as normal on both the YM and the 5B.
Long story short
Official FT 0.5b- Envelope does not work on 5B/YM normally, only under special circumstances
0cc/FT 0.4.6 - Envelope does not work on 5B, works on YM
Last edited by ImATrackMan on Wed Feb 17, 2016 11:26 pm, edited 3 times in total.
Slowly working on a thing called "FaMIGA".
____________________________________________________
Youtube
Twitter (Stay off my lawn, kids)
Soundcloud.
I do all hardware recordings including Sunsoft5B, FDS, and MULTICHIP !
>quscx uvngw bebxm xqdyl<
Top

HertzDevil
  Posts: 475
  Joined: Thu Apr 23, 2015 7:39 pm
  Location: Hong Kong SAR
  Contact:
  Contact HertzDevil
  Website Facebook Twitter Skype
  YouTube

### Re: 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by HertzDevil » Wed Feb 17, 2016 10:40 am

> ImATrackMan wrote:envelope seems to play value $00 or not at all no matter what the setting

Which register(s)?
refactoring 0cc-famitracker
Top

ImATrackMan
  Posts: 188
  Joined: Sat Apr 25, 2015 6:05 am
  Location: Plantation, FL, US
  Contact:
  Contact ImATrackMan
  Website Twitter Skype

### Re: 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by ImATrackMan » Wed Feb 17, 2016 10:43 am

Shape, edited OP
Slowly working on a thing called "FaMIGA".
____________________________________________________
Youtube
Twitter (Stay off my lawn, kids)
Soundcloud.
I do all hardware recordings including Sunsoft5B, FDS, and MULTICHIP !
>quscx uvngw bebxm xqdyl<
Top

ImATrackMan
  Posts: 188
  Joined: Sat Apr 25, 2015 6:05 am
  Location: Plantation, FL, US
  Contact:
  Contact ImATrackMan
  Website Twitter Skype

### Re: 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by ImATrackMan » Wed Feb 17, 2016 9:00 pm

Issue resolved with FT 0.5b. The instrument still needs a volume macro if the envelope is being used, It can't be set to 0.
Slowly working on a thing called "FaMIGA".
____________________________________________________
Youtube
Twitter (Stay off my lawn, kids)
Soundcloud.
I do all hardware recordings including Sunsoft5B, FDS, and MULTICHIP !
>quscx uvngw bebxm xqdyl<
Top

za909
  Posts: 79
  Joined: Tue May 12, 2015 12:10 pm
  Location: Hungary

### Re: [0.5B resolved] 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by za909 » Thu Feb 18, 2016 2:23 pm

I found your discovery of the envelope playing at half volume with an inaudibly high-pitched tone active, very interesting. Could this be reliably used to have limited control over the amplitude of the envelope? I suppose it would make sense because a similar thing happens when some games silence the triangle with period 0, and the frequency is so high that the mixer receives a constant mean voltage between 0 and 15.
Top

Xyz
  Posts: 297
  Joined: Tue Apr 21, 2015 4:36 pm

### Re: [0.5B resolved] 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by Xyz » Thu Feb 18, 2016 7:38 pm

I wouldn't exactly describe needing a redundant setting which you wouldn't in the right mind otherwise think to apply as "resolved"
>:( Fuck you hentai boy i hate you squid anus
Top

ImATrackMan
  Posts: 188
  Joined: Sat Apr 25, 2015 6:05 am
  Location: Plantation, FL, US
  Contact:
  Contact ImATrackMan
  Website Twitter Skype

### Re: [0.5B resolved] 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by ImATrackMan » Fri Feb 19, 2016 7:34 am

"Giving jsr the benefit of the doubt" mode: if the macro is zero the channel is disabled :^)

> za909 wrote:Could this be reliably used to have limited control over the amplitude of the envelope?

Yes, you get values of 100%, 50%, and "off".
Last edited by ImATrackMan on Fri Feb 19, 2016 7:43 am, edited 1 time in total.
Slowly working on a thing called "FaMIGA".
____________________________________________________
Youtube
Twitter (Stay off my lawn, kids)
Soundcloud.
I do all hardware recordings including Sunsoft5B, FDS, and MULTICHIP !
>quscx uvngw bebxm xqdyl<
Top

HertzDevil
  Posts: 475
  Joined: Thu Apr 23, 2015 7:39 pm
  Location: Hong Kong SAR
  Contact:
  Contact HertzDevil
  Website Facebook Twitter Skype
  YouTube

### Re: [0.5B resolved] 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by HertzDevil » Fri Feb 19, 2016 7:38 am

Do you have example FTMs and their register dumps from NSFPlay with LOG_NSF=1 in in_yansf.ini?
refactoring 0cc-famitracker
Top

ImATrackMan
  Posts: 188
  Joined: Sat Apr 25, 2015 6:05 am
  Location: Plantation, FL, US
  Contact:
  Contact ImATrackMan
  Website Twitter Skype

### Re: [0.5B resolved] 5B envelope issue on some hardware (YM and 5B)

- Quote

Post by ImATrackMan » Fri Feb 19, 2016 7:56 am

I do now. These are only up until the envelope plays and a while after that (since that's the issue). Buzzer's envelope use starts immediately, so it's quite small.

Attachments
  nsf_write.log
    NSF write log for Buzzer (plays fine in tracker, NSFplay, YM, issues on Gimmick!)
    (452.46 KiB) Downloaded 163 times
  Buzzer.ftm
    0cc-FT only
    (37.61 KiB) Downloaded 174 times
  nsf_write.log
    NSF write log for Hivmania (without macro)
    (576.45 KiB) Downloaded 179 times
  Hivmania.ftm
    (7.71 KiB) Downloaded 179 times
  nsf_write.log
    NSF write log for Hivmania (with macro)
    (1.04 MiB) Downloaded 166 times
  Hivmaniavol.ftm
    (7.71 KiB) Downloaded 177 times

Slowly working on a thing called "FaMIGA".
____________________________________________________
Youtube
Twitter (Stay off my lawn, kids)
Soundcloud.
I do all hardware recordings including Sunsoft5B, FDS, and MULTICHIP !
>quscx uvngw bebxm xqdyl<
Top

Display posts from previous:
Sort by

Post Reply

- Print view

9 posts • Page 1 of 1

Return to “Bug Reports”

Jump to

- Rules
- Wiki
- FamiTracker
- General Talk
- Bug Reports
- Feature Requests
- Source and development
- Music
- Original Music
- Cover Music
- Other
- Site Issues & Suggestions