r/ComputerCraft • • Jun 20 '26

NekoMOD: ProTracker for ComputerCraft (Version 1.0)

This is a heavily optimized ProTracker player that i made for ComputerCraft, it is inspired from MinkMod (https://www.reddit.com/r/ComputerCraft/comments/1o497xb/minkmod_a_protracker_player_written_in_lua_for/).

This supports:

  • 44.1 kHz Playback (which is CD Quality audio) [NO 12 KHZ LIMIT!!]
  • Linear Interpolation
  • And Way More!

It has been heavily optimized via localizing globals (it's way faster to do this than global tables) and recycling mixCache, rawBuffer, and outputBuffer

You can try it by doing: pastebin get 0Kwx11cX NekoMOD.lua

Source Code is at https://pastebin.com/raw/0Kwx11cX

39 Upvotes

1 comment sorted by

1

u/MinkiTheAvali CRaft-Again Shell Enjoyer Aug 14 '26

I wrote minkmod and must say, thats sick!