Previous Thread
Next Thread
Print Thread
Page 2 of 3 1 2 3
#108930 - 02/20/17 11:33 AM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Aug 2015
Posts: 319
Edstrom Offline
Senior Member
Edstrom  Offline
Senior Member

Joined: Aug 2015
Posts: 319
Ideally each mechanical part is recorded separately and then it is mixed together with filters adjusted for the drive specific casing etc.

- A floppy has numerous mechanical parts that makes sounds, some that are electronically triggered and some others that are manual like the drive hatch.
- A hard drive has only electronically triggered sounds
- A keyboard has different sounds for different kind of keys.
- A monitor has buzzing depending on the resolution setting, when going in between and when powering on/off
- Some PCBs has beepers which are already emulated and not sampled, may need casing filters.
- A Printer has *many* moving parts that makes sounds, including tearing off the paper.
- fax machines, modems, speakers has casings

How would a proper mechaudio emulation system look like? I have given this some thoughts.

sound = sum_of_devices( casing_filter( sum_of_parts( samples ) ) )

Where a part could also be a device, so it is kind of recursive or at least traversal.

It feels like this belongs in the OSD layer and that the drivers should only supply triggers and a mapping to driver specific samples unless inherited from the emulated device?!

#108931 - 02/20/17 11:41 AM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: May 2007
Posts: 527
mizapf Offline
Senior Member
mizapf  Offline
Senior Member

Joined: May 2007
Posts: 527
Germany
I did this to a very minor extent by recording the drive sound without steps, then a sound with steps, and then subtracting the drive sound from the combined sound. Accordingly, the floppy sound at this time is actually the sum of the spindle motor and the step motor.

I can imagine that someone with a good background in acoustics could create an output filter that turns a naked drive into a drive that is mounted in a case.

#108932 - 02/20/17 12:56 PM Re: Floppy disk sound emulation [Re: mizapf]  
Joined: Mar 2001
Posts: 15,707
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,707
USA
Originally Posted By mizapf
music keyboard manufacturers are using sampled sound for a long time already instead of the earlier methods of trying to create a flute tone by using a simple sine wave, so I believe this makes sense.


Subtractive synthesis never made it to creating realistic sounds, but physical modeling synths became a real thing around 2000 and sound quite good. Roland's made their zero-samples-just-modeled V-Piano for a decade now.

#108934 - 02/20/17 01:22 PM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Aug 2015
Posts: 319
Edstrom Offline
Senior Member
Edstrom  Offline
Senior Member

Joined: Aug 2015
Posts: 319
How to create realistic physical models for computer parts is beyond me, is that even possible given that we need contributors, not necessarily audio professionals, to do that? I guess what you say is that sampling is the wrong way to go here?

EDIT: The mechaudio emulator could be a mix of course: sound = sum_of_devices( casing_filter( sum_of_parts( samples and/or models ) ) )

Last edited by Edstrom; 02/20/17 02:06 PM.
#110756 - 09/08/17 09:13 PM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Feb 2017
Posts: 3
Crisis001 Offline
Member
Crisis001  Offline
Member

Joined: Feb 2017
Posts: 3
Thank you all for your replies! laugh
Sound emulation still not working with Mame 0.189...
I give up ^^

#110758 - 09/08/17 09:34 PM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Jan 2012
Posts: 724
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 724
Bavaria
1. Download latest MAME (I used 0.189 64 bit for Windows) from http://mamedev.org/release.php
2. Unpack the archive to your location of choice
3. Open commandline, CD to aforementioned location, issue "mame64 -cc". This creates a MAME.ini
4. open mame.ini with an editor, edit rompath to point at your ROM directory.
5. issue "mame64 kayproii" to open the Kaypro II driver ... listen to the drive sounds


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
#110759 - 09/08/17 11:53 PM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Mar 2001
Posts: 15,707
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,707
USA
Don't you need a sample pack download for that to work?

#110760 - 09/09/17 03:43 AM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Feb 2014
Posts: 53
Golden Child Offline
Member
Golden Child  Offline
Member

Joined: Feb 2014
Posts: 53
I thought the sounds were in the mame/samples/floppy directory. (20 files, 357kb)

BTW, I tried ./mame64 kayproii and found some IMD files on the net and I didn't hear any drive sounds. I hear keyboard beeps, but no drive sounds.


Do all drivers support it or just a few? I don't hear any sounds with apple2e. I really miss that "rat a tat" sound when it boots up. I do see that in the audio sliders there's a sl6:diskiing:0:525:flopsndout.

I kind of like the way the atari800 makes beeping sounds when it loads from disk so you know it's doing something. Or the cassette sounds in spectrum for instance. (the screeching can get to you though).

#110761 - 09/09/17 08:14 AM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Jan 2012
Posts: 724
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 724
Bavaria
The samples are definitely there in the official download (that's why I did a step by step from there rather than working from my regular MAME installation), and there's a rather gentle spinning and stepping sound you might miss over the Kaypro's keyboard beep. You can adjust the volume from the slider value.

You can add floppy sound to the drivers by adding
Code
MCFG_FLOPPY_DRIVE_SOUND(true)
after each of the MCFG lines for the floppy drives. I just checked, it works for WD based and 765 family (in the case of the NCR DMV it's a i8272).


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
#110762 - 09/09/17 01:13 PM Re: Floppy disk sound emulation [Re: Crisis001]  
Joined: Feb 2014
Posts: 53
Golden Child Offline
Member
Golden Child  Offline
Member

Joined: Feb 2014
Posts: 53
You're right. I do hear the kaypro sounds now if I turn them all the way up to 2.0 volume but they're still very faint compared to the keyboard click (which I had to turn almost all the way down to 0.04 to equalize them).

Sounds pretty good.

Page 2 of 3 1 2 3

Who's Online Now
3 registered members (Reznor007, Heihachi_73, 1 invisible), 15 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,411
Posts108,903
Members4,757
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.031s Queries: 14 (0.009s) Memory: 5.0191 MB (Peak: 5.2446 MB) Zlib enabled. Server Time: 2017-09-20 21:54:19 UTC