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 > Triangle popping. Owner: rainwarrior New post
Page 1 of 1 Sort:  
Triangle popping. Posted: 2011-07-03 23:35 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#19378
I have two observations about popping on the triangle channel.


1. When halting the triangle in high registers, you get a very prominent pop. Below about C-3 I don't notice the pop any more, probably because once the angle of the discontinuity gets low enough it's not very audible. It happens in the note onset too, but doesn't really sound like a problem there, since the pop gets covered by the actual sound of the triangle.

This is probably accurate to the original hardware's sound, but it's a fairly unpleasant accuracy. I don't think stopping on a zero crossing would help, since it's a discontinuity of slope rather than position. Maybe a volume ramp would help? Or... maybe nobody else cares about this.


2. When beginning playback, the first note of the triangle sometimes has an extra little jog on it that makes a very bright pop (not like the dull one on onset/halt). This doesn't happen every time; if I save as WAV multiple times I get different results. Maybe it's jumping from 0 to the last triangle counter value on the first note only?

It doesn't matter if this first note is on the first row or somewhere in the middle of a pattern.

I've attached two examples, and the FTM that produced them.


Attachments:
tripop_test2.wav (78 Kb)
tripop_test.ftm (1 Kb)
tripop_test.wav (106 Kb)
Posted: 2011-07-03 23:44 Reply | Quote
Im_a_Track_Man

Avatar

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

#19379
IF you use a C00 command (I use 0.3.5. sue me, I have C00) it also makes it pop. I thought I was the only one that noticed it. i can get pretty annoying at times.

_______________________
[BURNING LOVE]
[url=http://www.youtube.com/user/ImATrackMan]YouTube
[url=https://twitter.com/ImATrackMan]Twitter (Stay off my lawn, kids)
Posted: 2011-07-04 00:07 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#19382
Every tracker version has C00 to halt the track completely.

This also happens when you use the Zxx command in the DPCM channel (because you're directly editing the delta counter & affecting the triangle's volume).

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

(Lousy modern technology! )
Posted: 2011-07-04 00:44 Reply | Quote
Im_a_Track_Man

Avatar

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

#19385
I thought it became obsolete some time ago.


_______________________
[BURNING LOVE]
[url=http://www.youtube.com/user/ImATrackMan]YouTube
[url=https://twitter.com/ImATrackMan]Twitter (Stay off my lawn, kids)
Posted: 2011-07-04 00:49 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#19386
That was the Exx effect for volume control that went obsolete.

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

(Lousy modern technology! )
Posted: 2011-07-04 00:50 Reply | Quote
Im_a_Track_Man

Avatar

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

#19387
OOOOOOOOOoooooooohhhhh.

_______________________
[BURNING LOVE]
[url=http://www.youtube.com/user/ImATrackMan]YouTube
[url=https://twitter.com/ImATrackMan]Twitter (Stay off my lawn, kids)
Posted: 2011-07-04 01:19 Reply | Quote
jsr
Administrator

Avatar

Member for: 5924 days
Location: Sweden
Status: Offline

#19393
I think you are right on both observations.

The first pop is caused by the wave being halted, which generates some harmonics (and can be seen on the spectrum analyzer). This is what happens on a real NES so I don't think I'll do anything about it.

The second pop is caused by the wave being reset to zero, and this on the other hand does not occur on a real NES; except for when doing a hardware reset. So this might be worth a work around if you find it irritating. All channels are reset when starting/stopping the player to clear everything to a known state. So if the counter was already at zero then no pop will be audible.

_______________________
Programmer and developer
Posted: 2011-07-04 01:55 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#19395
Yeah, I think if I reset the program and use the very first playback for my WAV dumps it's fine.

RE: Triangle popping. Posted: 2011-07-11 04:36 Reply | Quote
Phytopep

Avatar

Member for: 3998 days
Status: Offline

#19756
I noticed the beginning triangle problem, too.

Usually, even though the triangle waveform position starts and stops abruptly, FamiTracker does a decent job of smoothing the difference out with a low frequency transition from the triangle's position to the "center" position.

Except not the first time a triangle note plays in a song. I can still see the same low frequency transition happening when I look at the waveform, but there's an abrupt click added to that.

To work around this I play a dummy triangle note in a short intro frame, and then skip into the real song. I then crop off that intro frame in a WAV editor. Not the most elegant solution, but it was quick.


Posted: 2011-07-11 04:40 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#19757
The slow transition to the center position is just the highpass filter. The internal position of the triangle wave just sits where it was. E.g. if the triangle stops high, when it resumes the waveform will dip low and curve back to centred. This is pretty normal behaviour though.

RE: Triangle popping. Posted: 2011-07-11 05:16  (Last Edited: 2011-07-11 05:17) Reply | Quote
auriplane



Member for: 4009 days
Status: Offline

#19760
[quote=Phytopep]Except not the first time a triangle note plays in a song. I can still see the same low frequency transition happening when I look at the waveform, but there's an abrupt click added to that.

To work around this I play a dummy triangle note in a short intro frame, and then skip into the real song. I then crop off that intro frame in a WAV editor. Not the most elegant solution, but it was quick.
[/quote]

To make loopable songs without an initial click, I've been exporting a WAV that plays the whole song more than once, then I cut off the first loop in a WAV editor. I'd just assumed that initial click wasn't a bug, so I worked around it instead of complaining :-)

Page 1 of 1 Sort: