Menu

Disk Drive Sounds - Lots of Clicks instead of Seeking?

2020-09-12
2020-09-20
  • Hamburgerinho Patty

    Hello,
    great work with Steem SSE. I think I found a bug with the disk drive sound emulation.

    The drive_seek.wav file is not played during the seeking operation of the floppy disk. Instead, drive_click.wav is being played many times in a row.

    Version: Steem.SSE.4.0.2.Win32.D3D.R18
    TOS: 1.00 DE

    Kind regards,
    Hamburger

     

    Last edit: Hamburgerinho Patty 2020-09-12
  • STeven

    STeven - 2020-09-12

    Hi,
    I'm afraid that this is a (bad) feature, not a bug.
    There's a right click option on drive icons for the sample.

     
  • Hamburgerinho Patty

    Hah, I discovered that after downloading the source code. But even after turning them on they were still bugged. (Sound_Buffer[Id][SEEK]->Stop(); was being called erroneously, resetting the loop constantly)
    Consequently, I was unhappy with the seeking sound anyway and made improvements: there are now two separate sounds, drive_seek_fwd.wav and drive_seek_back.wav for seeking forward and backwards, respectively, and they are no longer stopped in Sound_CheckMotor().
    I can make the commits and wav files available if you'd like, Steven (it really does sound like the real deal now! I've never heard such authentic floppy sounds in any emulator before).

     
  • STeven

    STeven - 2020-09-14

    By just looking at the code I didn't find the bug.
    Sure you can commit mods and the samples (if the samples are yours, you could add a full set), I added you to the developer list, and updated the code base (a bit dirty but I didn't expect this), so you'll need to update before you commit.

     
  • STeven

    STeven - 2020-09-18

    Well, meanwhile I made some improvements of my own, so I'd rather you don't commit and I removed you! Formerly the seek sound comprised a lot of step clicks, I kind of liked it but apparently this is not really correct so it's removed, there's just one final click at the end of the seek.
    Don't hesitate to send what you have though, it's probably better than what I did.

     
  • Hamburgerinho Patty

    Here's my modified floppy_drive.cpp and the wav files. Code isn't stellar, was just a quick job to get what I wanted as soon as possible. Line 710 commented out to fix the stopping of the seeking sound.
    It really sounds like the real ST to me after applying my stuff. You're free to use it at will, you don't have to of course. But I'm sure plenty of people would appreciate this :^)
    Have a good one Steven

     
  • STeven

    STeven - 2020-09-18

    Thx I'll check that.
    Did you test with different types of disk images, such as ST, STX, CTR, IPF, ST, SCP...?
    It's one of the challenges.

     
  • Hamburgerinho Patty

    Tested with ST and STX. The Pasti images seemed to have some trouble playing the proper sounds, so I'd have to dig a bit deeper. Worked great with ST.

     
  • STeven

    STeven - 2020-09-18

    Never mind, I'll check it, I'm busy debugging this (drive sound in general) for the moment.

     

    Last edit: STeven 2020-09-18
  • STeven

    STeven - 2020-09-20

    So I did, now I find the two seek samples too soft for the basic set, compared with the loud click. The original seek.wav is much louder.
    They don't mix that well with the Epson SMD-480L set either and should come from the same drive.
    Also, there's no reason they should be stereo?

     
  • STeven

    STeven - 2020-09-20

    I tried to match volumes.
    Here are two examples (guess the game), first with two samples for SEEK, second with one.

     

Log in to post a comment.

MongoDB Logo MongoDB