!QXXmAitoJyxSOUkLGd:matrix.org

Pokitto

120 Members
Pokitto General Chat. Pokitto: https://www.pokitto.com/ Forum: https://talk.pokitto.com/3 Servers

Load older messages


SenderMessageTime
11 Jan 2024
@_discord_677023449180274701:t2bot.iotuxinator2009 Oh, right lol 😆 22:49:59
@_discord_522157504336232458:t2bot.iospinal_cord Got 16bit audio playing on pwm, the screen still makes noises, but it plays. https://github.com/spinalcode/pwm_audio_pokitto/tree/main I can't do faster than 11025, not sure if its my code or something else. But with float volume you don't loose any quality at low volume. 22:52:34
@_discord_338299326143004685:t2bot.iocarbonacat I'm not sur how costly is the context switching 🤔 22:52:38
@_discord_338299326143004685:t2bot.iocarbonacat with float volume you don't lose quality? 🤔 I think the MCU doesn't think in term of floats but ints 22:54:11
@_discord_338299326143004685:t2bot.iocarbonacat the thing is for 22khz you'll need to read twice the number of samples (which, if you don't increase the buffer size, means twice the reading operations from SD card) and twice the interrupts to write them to the PWM 23:03:04
@_discord_487333236553416704:t2bot.iofmanga screen noise aside, did it solve the hiss problem? 23:28:47
12 Jan 2024
@_discord_522157504336232458:t2bot.iospinal_cord I assume it will sound a lot better as the hiss was introduced before playback when converting to 8bit pcm. I'll have a look at how pwmwrite works, hopefully possible to remove some of the floats. 09:27:12
@_discord_338299326143004685:t2bot.iocarbonacat if you can measure how much time left you got each frame with just the sound on it'd help you optimizing 09:30:34
@_discord_426517554404786176:t2bot.ioblixten3140 joined the room.12:17:12
@_discord_426517554404786176:t2bot.ioblixten3140 changed their display name from _discord_426517554404786176 to blixten3140.12:17:12
@_discord_426517554404786176:t2bot.ioblixten3140 I like to get a Pokitto, but the shop (https://www.pokitto.com/shop/) says: "Pokitto DIY Game Console (note: not available, new version coming soon)"
Is there any news about the new Pokitto (when and/or what the difference will be)?
12:17:13
@_discord_426517554404786176:t2bot.ioblixten3140 * I like to get a Pokitto, but the shop (https://www.pokitto.com/shop/) says: "Pokitto DIY Game Console (note: not available, new version coming soon)"
Is there any news about the new Pokitto (when and/or what the difference will be)?

I have bought the two magazines, just to have something 🙂
12:18:48
@_discord_426517554404786176:t2bot.ioblixten3140 * I like to get a Pokitto, but the shop (https://www.pokitto.com/shop/) says: "Pokitto DIY Game Console (note: not available, new version coming soon)"
Is there any news about the new Pokitto (when and/or what the difference will be)?

I have bought the two magazines, just to have something 🙂
12:21:44
@_discord_426517554404786176:t2bot.ioblixten3140 Thanks, Mr Pokitto. Keep up the good work, and make me (and others) happy. 🙂 18:18:54
@_discord_522157504336232458:t2bot.iospinal_cord Well, after getting 16bit pwm audio working, it seems it is not fast enough for my game.... oh well. 21:49:17
@_discord_522157504336232458:t2bot.iospinal_cord Not only that, it seems the Pok makes a lot of noise on the pwm, so playing quiet is no good as you can hear the screen update more. 22:03:42
@_discord_487333236553416704:t2bot.iofmanga "not fast enough" as in, the game doesn't update often enough to keep the buffer full, or does the fps drop just because of the pwm code? 22:22:32
@_discord_522157504336232458:t2bot.iospinal_cord not sure, wither the timer doesn't fire enough, or it's not reading the file fast enough. I'll stick with fuzzy 8bit, 22:29:50
@_discord_487333236553416704:t2bot.iofmanga How many khz did you set it to? 22:46:18
@_discord_522157504336232458:t2bot.iospinal_cord 11025 22:58:21
@_discord_522157504336232458:t2bot.iospinal_cord in my stand-along project, if I set it faster than that, it didn't play the music any faster. So it takes too much time, my guess would be the float calculations. 22:59:07
13 Jan 2024
@_discord_291648316347908097:t2bot.iohomineludens Saw this long time ago, but still very cool 07:56:29
@_discord_395486470372065281:t2bot.ioJonne That was a really cool illusion, I had not seen that 07:59:44
@_discord_522157504336232458:t2bot.iospinal_cord Remove the float helped a lot. I wonder what resolution the pwm is. I assume I'll be losing data one way or another. 12:12:21
@_discord_522157504336232458:t2bot.iospinal_cord wouldn't make any difference, even removing the floats, it slows down my game loop too much. Looks like I'll be sticking with fuzzy 8bit pcm afterall. 16:01:14
@_discord_395486470372065281:t2bot.ioJonne Just because we can not do it dpes not mean fmanga can't make it run at 150fps 16:13:01
@_discord_395486470372065281:t2bot.ioJonne * Just because we can not do it does not mean fmanga can't make it run at 150fps 16:13:10
@_discord_522157504336232458:t2bot.iospinal_cord But then I don't know if wpm sound better than 8bit ¯\_(ツ)_/¯ . 16:24:50
24 Jan 2024
@tor.sh:matrix.orgtor.shStarting a new project and having my kids help me with generating ideas. It is obviously going chaotic lol. They keep suggesting Minecraft things to me. And I am telling them "That just won't work in a 2D farm game guys."18:09:05
31 Jan 2024
@vejou:matrix.orgvejouexploding spiders!01:59:25

There are no newer messages yet.


Back to Room ListRoom Version: 6