
AlexPaterson
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Downloads
Posts posted by AlexPaterson
-
-
On 11/24/2021 at 2:49 PM, SlithyMatt said:
It all depends on what kind of sound you want to make. I have videos showing you how to use the Programmable Sound Generator (PSG):
and then another for using the YM2151 FM Synthesizer chip:
If you want to playback PCM sound samples, I have example code but no video yet.
Thanks @SlithyMatt, but I managed to adapt a BASIC program from here (https://www.8bitcoding.com/p/sound-in-basic-i-programmable-sound.html) to play a simple sound using vpoke statements. I've attached the .c file I used to this post in case anyone asks the same question I did. However, it's very quiet - way quieter than the rest of the sounds on my PC - even though I've set the volume bits set to all 1's. Is this an emulator thing, or have I done something wrong?
-
Hi,
I've recently downloaded the Commander X16 emulator and had a go at trying to program it with CC65. However, I can't work out how to make a sound, and there's no documentation on it (that I could find). Does anyone know how to do this?
Thanks,
Alex Paterson
How to play sounds with CC65?
in X16 Programming Support
Posted
I've increased the frequency, but that doesn't seem to make much difference to the volume. I've also increased the length of the tone too.
That explains why changing the frequency and duration doesn't change much.
Thanks for the help @SlithyMatt and @kliepatsch