Page 1 of 1

No sound in SheepShaver

Posted: Tue Jul 17, 2018 4:28 am
by themacmeister
Hi there,

I am using High Sierra 10.13.6, and I have no audio (I also have no /dev/dsp or /dev/mixer devices).

Is there any chance of doing an SDL audio/video build? I really miss my audio on Mac OS 9

I did a custom build of Basilisk II and it had the SDL patches, audio works great!

:-(

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 8:16 am
by Ronald P. Regensburg
themacmeister wrote:I am using High Sierra 10.13.6, and I have no audio (I also have no /dev/dsp or /dev/mixer devices).(
Sound works fine here on macOS 10.13.6 and with Mac OS 9.0.4.
Try: In Sound control panel select Built-in for Output and select a sound in Alert Sounds.
(The audio device settings are irrelevant in macOS.)

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 10:00 am
by themacmeister
I have no output devices whatsoever...

I tried zapping PRAM and resetting prefs too...

It has been the same on every single build I have tried (not necessarily using 9.0.4 tho - could this be the reason?)

Cheers!

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 11:35 am
by Ronald P. Regensburg
Sound works here in 9.0.4, 8.6, 8.5.1, 8.1 and 7.5.5. I cannot imagine how it could not work in 9.0 only.

Did you follow the advice in my previous post?
In Sound control panel (in Mac OS 9) select Built-in for Output and select a sound in Alert Sounds.

No, you have no sound devices. The items in preferences are a relict from the Linux origin of SheepShaver.

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 11:43 am
by themacmeister
Should I leave out /dev/dsp and /dev/mixer entirely?

Image

That is what my Sound control panel looks like at all times :-(

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 12:06 pm
by Ronald P. Regensburg
The location of the Sound control panel differs in different Mac OS versions. This is apparently Mac OS 8.5 or 8.6. In those OS versions the Sound control panel is installed in the Apple Extras folder. You can use it there to select Built-in for Output and select an Alert Sound.

This information (and much more) is documented in the SheepShaver for OSX setup guide: https://www.emaculation.com/doku.php/sh ... os_x_setup
The info about enabling sound in SheepShaver is in this chapter: https://www.emaculation.com/doku.php/sh ... heepshaver
themacmeister wrote:Should I leave out /dev/dsp and /dev/mixer entirely?
Irrelevant. It does nothing there.

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 12:24 pm
by themacmeister
I am reinstalling fresh Apple-only Mac OS 9 9.0.4

Is it possible because I was using 24bit sound?

I have switched it back to 16bit for the time being (44.1KHz)

Many thanks again for any advice...

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 12:39 pm
by Ronald P. Regensburg
In my 8.5 and 8.6 installations sound quality is set to 44.100kHZ. Probably the default, because I never changed sound settings in the Monitors and Sound control panel. For sound I only used the Sound control panel in the Apple Extras folder to enable sound.

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 12:49 pm
by themacmeister
OK, after switching back to 16bit 44.1KHz sound (in macOS High Sierra), I have sound in all versions of SheepShaver.

Sadly, your latest test build is crashing at Finder?! Dunno if it is a dsk format related error, but the original build of SheepShaver I had (which is almost certainly your build too) is working fine. I corrupted my DMG formatted drive that was full of software somehow (force-quit) - Think there is any way to recover it?

Thanks heaps for the help - I have sound again in SheepShaver AND Basilisk II !!!

PS. Do you have a build that still has Dynamic screen refresh rates?

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 12:57 pm
by Ronald P. Regensburg
Did this this latest test build run before and does it crash now? Do you recall if you had "Ignore Illegal Memory Accesses" enabled in preferences (as it should be)?

Show us the content of your prefs file:
Launch Terminal (in /Application/Utilities/) and type at the prompt

Code: Select all

open ~/.sheepshaver_prefs
followed by a return.
The file will open in your default text editor. Select all content and copy and paste it here in your reply.

Edit 1:
If you have backups (Time Machine or otherwise) you can easily recover a previous version of the corrupted DMG.

Edit 2:
PS. Do you have a build that still has Dynamic screen refresh rates?
All builds since many years can be and should be set to Dynamic screen refresh, also the latest test builds. A difference that you may notice is that SheepShaver now uses its own ("software") cursor inside its window and not the host's ("hardware") cursor.

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 1:05 pm
by themacmeister
disk New.dsk
disk mthump.img
extfs /
screen win/1024/768
windowmodes 0
screenmodes 0
seriala
serialb
rom newworld86.rom
bootdrive 0
bootdriver 0
ramsize 134217728
frameskip 2
gfxaccel true
nocdrom false
nonet false
nosound false
nogui false
noclipconversion false
ignoresegv false
jit true
jit68k false
keyboardtype 5
ether
keycodes false
keycodefile
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait true
Please tell me I can use JIT, coz it is like MOLASSES without it

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Posted: Tue Jul 17, 2018 1:21 pm
by Ronald P. Regensburg
You really should have read the setup guide and follow the instruction there. Two important settings are not correct.

1. In Preferences > Audio / Video the Refresh Rate should be set to "Dynamic".
The low refresh rate you use now will make things feel very slow.

2. In Preferences > Miscellaneous "Ignore Illegal Memory Accesses" needs to be enabled.
Without it you may experience SheepShaver crashes that can be avoided with this setting.

Less important, but still:

3. It is not a good idea to have all of your host's disk assigned as "Unix Root". Better create a separate folder to be the shared folder.

Re: No sound in SheepShaver

Posted: Wed Jul 18, 2018 12:16 am
by themacmeister
There is no "Dynamic" in the popup list... I am using SheepshaverPrefs app to set preferences.

Can I just type in Dynamic in a text editor?

Re: No sound in SheepShaver

Posted: Wed Jul 18, 2018 12:17 am
by themacmeister
points 2. and 3.

Thanks, I will see to this...

Re: No sound in SheepShaver

Posted: Wed Jul 18, 2018 7:22 am
by Ronald P. Regensburg
themacmeister wrote:There is no "Dynamic" in the popup list... I am using SheepshaverPrefs app to set preferences.
Do not use that old prefs editor. It is obsolete and incomplete. It may be useful only when for some reason SheepShaver itself cannot be launched. Use the built-in prefs editor: SheepShaver menu > Preferences. And as you apparently do not like studying the setup manual: After saving changes in preferences, quit SheepShaver and launch it again.
Can I just type in Dynamic in a text editor?
The prefs file can be edited in a text editor. The refresh rate can be set to "dynamic" by giving "frameskip" the value "0":
frameskip 0

Re: No sound in SheepShaver

Posted: Wed Jul 18, 2018 4:05 pm
by themacmeister
Setup Manual....

oh yeah, I remember those ;-)

I got rid of all my G3/G4 hardware (which still ran Mac OS 9.2.2 natively) so haven't used Basilisk II/SheepShaver since my WindowsXP days... WOW! that was so long ago...

maybe some dabbling in Win7

I copied the frameskip value from Basilisk prefs :-)

Many many thanks for your awesome support of this app!!!

You may mark this thread CLOSED/SOLVED now... cheers

Re: No sound in SheepShaver

Posted: Fri Jul 20, 2018 5:37 pm
by SistemaRayoXP
Ronald was referring to this guide: https://emaculation.com/doku.php/sheeps ... os_x_setup

Re: No sound in SheepShaver

Posted: Fri Jul 10, 2020 2:42 am
by 364owen11
This worked for me, thanks! :smile: :smile: :mrgreen: