Login  •  Register


The time is now: Fri Aug 17, 2018 1:08 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 17 posts ]
Print view Previous topic  |  Next topic
Author Message
 Post subject: No sound in SheepShaver
PostPosted: Tue Jul 17, 2018 4:28 am 
Offline
Space Cadet

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

:-(


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 8:16 am 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5091
Location: Amsterdam, Netherlands
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.)


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 10:00 am 
Offline
Space Cadet

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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 11:35 am 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5091
Location: Amsterdam, Netherlands
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 11:43 am 
Offline
Space Cadet

Joined: Tue Jul 17, 2018 4:26 am
Posts: 9
Should I leave out /dev/dsp and /dev/mixer entirely?

Image

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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 12:06 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5091
Location: Amsterdam, Netherlands
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.
 


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 12:24 pm 
Offline
Space Cadet

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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 12:39 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5091
Location: Amsterdam, Netherlands
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 12:49 pm 
Offline
Space Cadet

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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 12:57 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5091
Location: Amsterdam, Netherlands
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:
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:
Quote:
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.
 


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 1:05 pm 
Offline
Space Cadet

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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jul 17, 2018 1:21 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5091
Location: Amsterdam, Netherlands
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jul 18, 2018 12:16 am 
Offline
Space Cadet

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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jul 18, 2018 12:17 am 
Offline
Space Cadet

Joined: Tue Jul 17, 2018 4:26 am
Posts: 9
points 2. and 3.

Thanks, I will see to this...


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jul 18, 2018 7:22 am 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5091
Location: Amsterdam, Netherlands
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.

Quote:
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":
Quote:
frameskip 0


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jul 18, 2018 4:05 pm 
Offline
Space Cadet

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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Jul 20, 2018 5:37 pm 
Offline
Tinkerer
User avatar

Joined: Fri Oct 13, 2017 4:34 pm
Posts: 68
Location: Mexico
Ronald was referring to this guide: https://emaculation.com/doku.php/sheeps ... os_x_setup

_________________
I'll attempt to make a radio station in the hill.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 17 posts ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group