Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Am I deciding literally two days before November that maybe it's time to do Novel Month again?

Uncategorized
3 2 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • No thank you please, Zuck

    Uncategorized socialmedia meta
    1
    0 Votes
    1 Posts
    0 Views
    No thank you please, Zuckhttps://www.theverge.com/news/809349/meta-mark-zuckerberg-ai-social-feeds-q3-2025-earnings#SocialMedia #Meta #AI
  • 0 Votes
    1 Posts
    0 Views
    Against my better judgement, I'm making a pound cake in the bread machine. Because I want pound cake but also want to be lazy.
  • 0 Votes
    3 Posts
    0 Views
    @BathysphereHat wow! I had no idea. I guess mine are copycats.
  • 10 Cent Microcontroller Makes Tracker Music

    Uncategorized
    1
    1
    0 Votes
    1 Posts
    0 Views
    10 Cent Microcontroller Makes Tracker MusicWe are absurdly spoiled these days by our microcontrollers. Take the CH32V00X family– they’ve been immortalized by meme as β€œthe ten cent micro” but with a clock speed of 48MHz and 32-bit registers to work with, they’re astoundingly capable machines even by the standards of home computers of yore. That’s what motivated [Tim] to see if he could use one to play MOD files, with only minimal extra parts– and quite specifically no DAC.Well, that’s part of what motivated him. The other part was seeing Hackaday feature someone use a CH32V003 making chiptune-like beeps. [Tim] apparently saw that post as a gauntlet thrown down, and he picked it up with an even smaller chip: the CH32V002, which he proceeded to turn into a MOD player. For those of you who slept through 80s and early 90s (or for those precocious infants reading this who hadn’t then yet been born), MOD files are an electronic music format, pioneered on the Amiga home computers. Like MIDI, the file specifies when to play specific voices rather than encoding the sound directly. Unlike MIDI, MOD files are self-contained, with the samples/voices used being stored inside the file. The original version targeted four-channel sound, and that’s what [Tim] is using here.As you can see from the demo video, it sounds great. He pulled it off by using the chip’s built-in PWM timer. Since the timer’s duty cycle is determined by a variable that can be changed by DMA, the CPU doesn’t end up with very much to do here. In the worst case, with everything in flash memory instead of SRAM, the CPU is only taxed at 24%, so there’s plenty of power to say, add graphics for a proper demo. Using the existing MODPlay Library, [Tim]’s player fits into 4kB of memory, leaving a perfectly-usable 12kB for the MOD file. As far as external components needed, it’s just an RC filter to get rid of PWM noise.[Tim] has put his code up on GitHub for anyone interested, and has perhaps inadvertently cast down another gauntlet for anyone who wants to use these little RISC V microprocessors for musical tasks. If you can do better, please do, let us know.youtube.com/embed/IQmQ0Qlt3V8?…hackaday.com/2025/10/29/10-cen…