-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue#214: Scale Music 5000 speed with rest of emulator.
The Music5000 audio output was previously limiting the speed of the emulator itself when trying to select speeds greater than 100%. This commit changes the sampling rate declared to the host for the Music 5000 to be the right multiple of the real sampling rate for the emulator to run at that speed. For example, if we choose 200% for the emulator speed we tell Allegro the sampling rate for the Music 5000 voice is 93750Hz, twice the real Music 5000 sample rate of 46875Hz. This will also change the pitch of the Music 5000 output at speeds other than 100%, rather like varying the speed of a tape recorder.
- Loading branch information
Steve Fosdick
committed
Dec 4, 2023
1 parent
66d9f16
commit a481dc3
Showing
4 changed files
with
121 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters