Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Triangle linear counter retrigger command #291

Open
Gumball2415 opened this issue Jul 27, 2024 · 3 comments
Open

[Feature Request] Triangle linear counter retrigger command #291

Gumball2415 opened this issue Jul 27, 2024 · 3 comments
Labels
enhancement New feature or request nsf-driver sound engine used in NSF/assembly file export

Comments

@Gumball2415
Copy link
Collaborator

Works similar to DPCM retrigger command (Xxx), but the xx parameter will control linear counter duration instead of tick period.

This command will write the linear counter value xx on every tick the command is active for.

Requested by @zeta0134

@zeta0134
Copy link

Proposed documentation:

Triangle Effects
----------------

**Xxx - Linear Trill**

Retrigger's the linear counter on each tick, with a period of **xx** in APU Quarter Frames. Use xx=00 to disable.
Valid range: 00 - 7F

I'm not emotionally attached to Xxx, but as it performs a similar automatic retriggering for DPCM sample playback, it seems to fit.

@zeta0134
Copy link

Motivation: this setup is used to great effect in Namco's Pacman CE demake for NES, here:

https://youtu.be/Fg8B3kiVckY?t=60

And here:

https://youtu.be/zAmF4QRf8eE?t=16

It is currently somewhat possible to recreate this effect in FamiTracker by using speed = 1, but this is both irritating to compose against and very inefficient in terms of the compiled bytecode data. The effect is pretty simple to implement in a driver, so it makes sense to include it as an automation.

@Gumball2415
Copy link
Collaborator Author

this feature will be queued after #262

@Gumball2415 Gumball2415 added enhancement New feature or request nsf-driver sound engine used in NSF/assembly file export labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nsf-driver sound engine used in NSF/assembly file export
Projects
None yet
Development

No branches or pull requests

2 participants