No sound in SheepShaver

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

No sound in SheepShaver

Post 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!

:-(
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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.)
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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!
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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.
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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 :-(
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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.
Last edited by Ronald P. Regensburg on Tue Jul 17, 2018 12:10 pm, edited 1 time in total.
Reason:  
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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...
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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.
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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?
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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.
Last edited by Ronald P. Regensburg on Tue Jul 17, 2018 1:08 pm, edited 2 times in total.
Reason:  
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Post 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.
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: No sound in SheepShaver

Post 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?
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: No sound in SheepShaver

Post by themacmeister »

points 2. and 3.

Thanks, I will see to this...
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: No sound in SheepShaver

Post 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
themacmeister
Space Cadet
Posts: 9
Joined: Tue Jul 17, 2018 4:26 am

Re: No sound in SheepShaver

Post 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
User avatar
SistemaRayoXP
Tinkerer
Posts: 82
Joined: Fri Oct 13, 2017 4:34 pm
Location: Mexico
Contact:

Re: No sound in SheepShaver

Post by SistemaRayoXP »

Ronald was referring to this guide: https://emaculation.com/doku.php/sheeps ... os_x_setup
Hill radio station first attempt: Failure. Retrying...
364owen11
Space Cadet
Posts: 2
Joined: Thu Jul 09, 2020 11:02 pm

Re: No sound in SheepShaver

Post by 364owen11 »

This worked for me, thanks! :smile: :smile: :mrgreen:
Post Reply