Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

dos-like

Engine for making things with a MS-DOS feel, but for modern platforms · By Mattias Gustavsson

PC Speaker support

A topic by clovergruff created Nov 17, 2023 Views: 57 Replies: 2
Viewing posts 1 to 2

Hi!

I Love this thing. Dos-like has allowed me to get more into programming in C, and I'm currently working on a small game I'd like to showcase soon!
I was wondering though, could it be possible to add support for pc-speaker-like sound effects? I remember writing small programs in QBasic ages ago, where you could call functions in a loop and they'd play beeps through the PC speaker. It was possible to compose simple audio clips purely through code.

Developer

i’m glad you like it. It would be possible to make something similar to the pc speaker music commands of qbasic, but I don’t have any plans to do it anytime soon (other projects are taking all my time at the moment)

However, you might be able to use the existing noteon/noteoff functions to do something similar…

(2 edits)

Thanks Mattias, I'll check those out!