Deer Girl

Deer Girl

Posted: 2018-05-30


Lily Lineart

Lily Lineart

Posted: 2018-02-12


More MOD Player Stuff

I got the MOD player running at 3-4ms/f on the 486DX2 at 66mhz with a 4-channel MOD file playing at 22khz. Doing okay, but not perfect.

The vibrato effect (4xx) has been implemented. I had to write another program to generate the 2kb tables of precomputed fixed-point (1.15, don't ask) vibrato pitch shift values, and aside from the per-sample branch to check if the vibrato is active, it doesn't have performance overhead unless you're using it.

The vibrato was one of the more complicated effects, and I had been putting it off for a while. Now that it's out of the way, other effects are being added much faster.

The glissando effect (E3x) on the slide-to-note effect (3xy) is also in. This one is just a modification to some per-tick code, adding an extra branch, so performance impact is negligible when not in use.

Progress is poking along. I might get this working natively on my Linux machine just so I can get some compiler warnings. Apparently Watcom 10.0a doesn't warn when you pass a pointer into a function that's the wrong type. You can probably imagine how long that took to track down.

Also, it'd be nice to have a native MOD player kicking around for other projects.

Posted: 2017-04-16


0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 [ 68 ] 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

Previous | Next