-
-
Notifications
You must be signed in to change notification settings - Fork 477
Feature / separate samples for each fdd track seek #6512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature / separate samples for each fdd track seek #6512
Conversation
…to motor-on loop.
Updated README to reflect the new project name and added details about the Immersive86Box features and future plans.
…he files and intallation instructions
Added instructions for audio emulation installation.
…e operation and when it's finished at call fdc to set the appropriate fdc flags. Also added time logic to fdd to calculate seek duration and a callback function for it.
DISABLE_FDD_AUDIO definition added, to disable the feature via cmake/build.
This reverts commit 98a0478.
This reverts commit 7d32cb6.
…ill take the "correct" amount of time for each system and the seek time is based on the track count. E.g. 40 track FDD system causes 40 track seek time to be 80/40 * 6ms * 40 tracks + 50ms = 480ms + 50ms -> 530ms. 80 track system full seek is 80/80 * 6ms * 80 + 50ms = 530ms, 40 track seek would take 240 + 50 = 290ms.
86box upstream master sync to immersicve86box master
…dio profiles on audio settings change to take immediate action when VM already running.
|
Two things:
|
We don't have samples for track seeks above the normal range. There might be a way to force that with own SW and own hardware, but for e.g. YouTube recordings, the best option would probably be to just use the 79/39 track samples for any seeks above that. Typically user wouldn't even notice the difference. Current implementation clamps the seek track audio to 79 or 39 depending on the drive - so if the drive would seek from 0 to 83, it would playback 79 track seek up sample. For the ROM set, whatever suits you best? I don't mind where we want to keep the samples. Anything works for me. |
|
Put the samples into assets/sounds/fdd. You use the assets folder the same as the roms folder, with the new asset_fopen() function, so these would be asset_fopen("sounds/fdd/filename.wav", "rb") basically. And PR them to the new assets repository instead of the ROM's one. |
Yes. I closed the roms PR. I'll add the samples and the profiles configuration files to 86box assets folder and open from there, I'll update this PR and create another PR for the roms to clear any samples / cfg's from there. |
…ts/sounds/fdd Updated configuration and sample loading from assets subfolder. Update CMakeLists.txt to include assets-folder in the build and install.
|
Assets go to the assets repository: https://github.com/86Box/assets , not here. |
|
Also, please use sub-folders for each drive/set of .WAV files instead of having everything in a single folder. |
|
Ah yes. Misunderstood. I’ll make the changes this evening. |
|
Assets PR ready, code changes for this PR still required. |
|
Assets PR merged, thanks! Will merge this one when it's ready. |
…unction. src/CMakeLists.txt rollbacked to original, no assets copying. Fixed assets infra function to check for "assets/" - 7 characters, not 5 (as in "roms/"
Summary
For more quality and real like FDD samples, this PR will implement per seek samples. Each seek 1...79....1 will have individually recorded sample. Tested with AwardBIOS, IBM PS/1, PS/2, PCJr, IBM XT and AT system.
Fixed issue, where changing the FDD audio selection during 86box VM running did not load new profile samples.
Changed FDD audio selection to set to None and disabled when no drive selection is set.
80 track audio profiles are selectable for any 80 track drives, regardless of their physical size (5.25 and 3.5 drives)
40 track audio profiles are selectable for any 40 track drives.
Note: FDD audio samples and configuration added to assets/sounds/fdd and can be removed from ROM set. PR done for it.
Checklist
Note: Not "required" change in ROM set, but the samples can be removed from the ROM set - as they're no longer used from there.
References
Instructions needed for others to be able to contribute own FDD sample sets / profiles.