Numzyx [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=27098 Spectrum Analyzer <p> <table><tr><td> <a href="/bbs/?pid=100486#p"> <img src="/bbs/thumbs/pico8_dft_test-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=100486#p"> dft_test</a><br><br> by <a href="/bbs/?uid=27098"> Numzyx</a> <br><br><br> <a href="/bbs/?pid=100486#p"> [Click to Play]</a> </td></tr></table> <br /> had a silly idea, why not make a spectrum analyzer that reads data sent to the pcm channel?<br /> while it does work, it uses an unoptimized discrete fourier transform, which is very slow! watch the cpu meter almost die when it starts doing the calculations<br /> i should have implemented a fast fourier transform, but i didn't because 1: i don't fully understand how it works, 2: it involves keeping track of and manipulating multiple lists of data points, and i don't know all of the nuances of tables in lua so while i could technically implement the algorithm while only half knowing how it works, i wouldn't be able to do so efficiently. maybe one of you kind souls can spare a gamer some advice? the idea is there and i do think this would make for some really cool effects in pcm music players</p> <p>anyway if you dare to use this as-is, the drawspectrum(x, y, w, h, pos, len) function does as follows:<br /> draws a spectrum at (x, y), computes w points of the dft, and draws the magnitude spectrum w pixels wide, and scales the plot by h. pos is the address where it should look for pcm data and len is the number of samples to use when computing the dft. again, it's very slow, it's like O(w * len) time or something</p> https://www.lexaloffle.com/bbs/?tid=45413 https://www.lexaloffle.com/bbs/?tid=45413 Sat, 20 Nov 2021 16:03:28 UTC WIDE JELPI <p> <table><tr><td> <a href="/bbs/?pid=79342#p"> <img src="/bbs/thumbs/pico8_wwiiddeejjeellppii-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79342#p"> wwiiddeejjeellppii</a><br><br> by <a href="/bbs/?uid=27098"> Numzyx</a> <br><br><br> <a href="/bbs/?pid=79342#p"> [Click to Play]</a> </td></tr></table> <br /> song is titled &quot;Song for Denise&quot; which is a song that i did not write<br /> edit: ゴゴゴゴ</p> https://www.lexaloffle.com/bbs/?tid=38827 https://www.lexaloffle.com/bbs/?tid=38827 Wed, 15 Jul 2020 00:38:55 UTC Music Visualizer <p> <table><tr><td> <a href="/bbs/?pid=76482#p"> <img src="/bbs/thumbs/pico8_music_visualizer-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76482#p"> music_visualizer</a><br><br> by <a href="/bbs/?uid=27098"> Numzyx</a> <br><br><br> <a href="/bbs/?pid=76482#p"> [Click to Play]</a> </td></tr></table> </p> <p>i tried using the tracker for the first time. the song is Porky's Porkies from Mother 3.<br /> the sound organization is a bit of a mess so good luck trying to learn anything from it<br /> I also added a music visualizer to keep it from being boring. The visualizer should work for any arbitrary song you shove into it.<br /> edit: i made it prettier :3</p> https://www.lexaloffle.com/bbs/?tid=37918 https://www.lexaloffle.com/bbs/?tid=37918 Wed, 13 May 2020 01:37:58 UTC Crescent (TweetTweetJam 3) <p>tossed together in about an hour<br /> made for tweet tweet jam 3<br /> have fun and remember to play safe<br /> <table><tr><td> <a href="/bbs/?pid=69837#p"> <img src="/bbs/thumbs/pico8_crescent-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69837#p"> crescent</a><br><br> by <a href="/bbs/?uid=27098"> Numzyx</a> <br><br><br> <a href="/bbs/?pid=69837#p"> [Click to Play]</a> </td></tr></table> <br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;">older version with exploits <table><tr><td> <a href="/bbs/?pid=69837#p"> <img src="/bbs/thumbs/pico8_crescent-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69837#p"> crescent</a><br><br> by <a href="/bbs/?uid=27098"> Numzyx</a> <br><br><br> <a href="/bbs/?pid=69837#p"> [Click to Play]</a> </td></tr></table> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=35897 https://www.lexaloffle.com/bbs/?tid=35897 Tue, 12 Nov 2019 00:54:26 UTC