Language…
22 users online:  AmperSam,  Anorakun, apache, B2De, caioskii, Dennsen86, Ekimnoid, GamesInTweed, GRIMMKIN, Heitor Porfirio, JudithPrietht, krizeth, LightAligns, mario90, Rykon-V73, SMW Magic,  Tahixham,  Teyla, The_Uber_Camper,  Thomas, VSmario90, Yuvi - Guests: 279 - Bots: 393
Users: 64,795 (2,374 active)
Latest user: mathew

Set default note length in ticks in AddmusicK?

Hello! I need some help with AMK.

With the l-command, you can set the default length for all following notes, but you can't specify the length as exact ticks as far as I know, only as fractions of a whole note. With that way to specify length, there are some tick counts you simply can't achieve because of math. l11 results in 17 ticks, and l10 results in 19 ticks.
For notes (and rests and ties), you can apparently type "c=18" to get a c with a duration of exactly 18 ticks. Can I do something similar with the l command?

I've tried the following but nothing works:
l=18
l$12
l11^192
It seems it only accepts an integer between 1 and 192, and it's always interpreted as fraction of a whole note.

The only convenient workaround I've found is to assign some character to a tick-count, like this:
"_==18"
And then add that character at the end of every note, like this:
o5c_ e_ g_ ^_ r_

Is there a better way?
Unfortunately, I don't think so. However, KungFuFurby is working on a new AMK with tons of new features, including the ability to specify ticks with the length command. It is meant to be the next official version of AMK.

https://www.smwcentral.net/?p=viewthread&t=104876

If you have any questions, you can ask in the '#addmusickff' channel in SnesLab:

https://discord.gg/WmahuAbjmT
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Cool! Looking forward to that. I'll just use my workaround until it is released.
Thanks for the info!
AddmusicKFF does indeed support this particular method:
l=18

It's not in 1.0.8, but it is present in my 1.0.9 release candidate.
That's great. Thank you for doing this!