Midi Synth for Pi's
Pages: 1 2
Jeff Doggett (257) 234 posts |
That works an absolute treat, Peter. I’ve uploaded an updated version of the Doom game with a couple of small tweaks to the midi init/shutdown. If you want to try it go to my site Download “Doom.zip” and “Doom1.zip” Unpack and place the doom1/wad file inside the application in the !Doom.Iwads directory. |
Peter Everett (9846) 59 posts |
As you say, it works a treat! I’ll leave it as a test version for a while, but I’m really pleased as I couldn’t do much testing here. It’s been a long long time since I played Doom. Thanks. |
Cameron Cawley (3514) 157 posts |
I gave this a go on a RiscPC, and something I noticed is that while it’s usable (if a bit crackly at times), it visibly slows the machine down while it’s loaded, even when there’s nothing playing. Would it be possible for the MIDI synthesis to only be active if something is playing? |
Peter Everett (9846) 59 posts |
Not sure about the crackles, haven’t noticed that here. On an RPCEmu setup as a RiscPC, the synth uses about 40%. The RPCEmu reports it’s speed at about 200mips and the synths occupancy is noticable. I will try a sleep on timeout. |
Peter Everett (9846) 59 posts |
I’ve uploaded versions of the midi synth module and the !Midiplay application that provide a sleep on inactivity timeout to reduce unecessary cpu loading. If the synth has been inactive for a set period it goes to sleep, and will wake up when it needs to produce audio. Going to sleep and waking up should not be noticable. The default timeout is 10 seconds but is adjustable and can be disabled. |
Pages: 1 2