Has anyone tried to make beeper music with Purebasic? I took the DATA from a ZX Spectrum tune I had and got PB to play it. It's a bit clicky.
https://www.dropbox.com/s/8mws0nty7f3n7 ... 6.mp4?dl=0
Beep Music in PB
- TheAutomator
- Enthusiast
- Posts: 112
- Joined: Tue Dec 01, 2020 8:33 pm
Re: Beep Music in PB
I think the clicking comes from sudden cutoff, for example
one waveform ending at its peak value, the other starting at it's lowest value immediately after:
_/''''\__/''''\__/''''\__/'''_____/'''''''''''\_____/'''''''''''\_____
.........beep 1.......|....................beep 2.......
(second beep cutting the first off)
one waveform ending at its peak value, the other starting at it's lowest value immediately after:
_/''''\__/''''\__/''''\__/'''_____/'''''''''''\_____/'''''''''''\_____
.........beep 1.......|....................beep 2.......
(second beep cutting the first off)
Re: Beep Music in PB
Any 8-bit beeper music I heard didn't click quite so much. Maybe they were a different waveform.
Re: Beep Music in PB
I made something similar for the Windows Beep() command to compose for the pc-speaker and generate the PB code for it:
(german forum)
forums.purebasic.com/german/viewtopic.php?f=11&t=11966
But it's probably not what you are looking for.
(german forum)
forums.purebasic.com/german/viewtopic.php?f=11&t=11966
But it's probably not what you are looking for.
-
- User
- Posts: 84
- Joined: Mon Jun 30, 2008 4:36 pm
- Location: UK
Re: Beep Music in PB
Slightly tangential but I wrote a program in Flat Assembler many years ago that plays Beethoven‘s “Ode to Joy” in beeps. I think PureBasic uses Fasm as a backend doesn’t it? Maybe someone could get it working and find it useful?
https://board.flatassembler.net/topic.php?t=15083
https://board.flatassembler.net/topic.php?t=15083