asiekierka / nitrotracker

A Fasttracker II style tracker for the Nintendo DS
68 stars 5 forks source link

dsmidiwifi receive note on with looped envelope-enabled instrument double-triggers (0xtob/#59) #77

Open asiekierka opened 1 year ago

asiekierka commented 1 year ago

when the ds is receiving dsmidiwifi events and the relevant instrument has an envelope enabled on a looped sample, the note seems to trigger once, at what seems to be double the speed of the envelope, and then it triggers again at the normal speed of the envelope.

in the console it appears the ds only receives one "note on" event (as indicated via "got sth" followed by "on 0 57" or whatever the note name and instrument are). following the nitrotracker play instrument command code doesn't reveal anything that looks immediately wrong.

this is happening both when "receive" by itself is enabled as well as when both "send" and "receive" are enabled. disabling the envelope for the instrument results in only one play of the note as expected.

deadpahn commented 1 year ago

For the life of me I could never get "dsmidiwifi" to work lol. The OG ds only does WEP I believe so it's kind of a risk for security (DSi does WPA2 tho I believe). Now that I think about it I just realized I could probably try this feature out now lol

asiekierka commented 1 year ago

Correct - NitroTracker currently only supports DS-mode WiFi, even in DSi mode, so no WPA/WPA2. Sorry!