Sound

18 views
Skip to first unread message

Doug

unread,
Dec 18, 2025, 4:50:19 PM12/18/25
to SuperCard Discussion
As I use "find" quite a bit, I find it a little annoying that everytime the command is issued a beep is played. So, I tried to mute the sound using the soundVolume command. But it doesn't seem to work. I am using Mojave (10.14.6) on a MacPro early 2009 4,1 upgraded to 5,1.The sound is set to play through the TV that I use as a monitor.

Anyone know whether I am whistling in the dark.

Doug

unread,
Dec 18, 2025, 4:53:19 PM12/18/25
to SuperCard Discussion
I tried setting the output to the internal speakers, but no difference.

Joe Koomen

unread,
Dec 19, 2025, 10:26:32 AM12/19/25
to superca...@googlegroups.com

I think if you create you own finds window you can avoid the beep. The Supercard help and my own find windows/commands don’t make a sound, so it might be associated with the dialog box version.

 

Joe

--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-tal...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/supercard-talk/9f917cd8-6493-474f-985f-10737b3f32a5n%40googlegroups.com.

Doug

unread,
Dec 19, 2025, 3:53:52 PM (14 days ago) 12/19/25
to SuperCard Discussion
Hello Joe,

I knew if I posted here, one of the old faithful would reply. Thanks for your reply and suggestion.

At the moment, I am using Find to search through over 50 000 cards, spread out over 5 windows. I get a list of each of the found card's ' Unique field' . This takes time. Presenting this list via an ask list command allows me to choose a single record, which I can then read and write to using it's pointer (abbreviated card ID && "of" && abbreviated window ID). The beeps generated by the find command sound like a bunch of ants jumping on top of a drum.

I figured it out. If I set the sound output device to Internal Speakers using System Preferences then Supercard's soundVolume command works fine. 

Unfortunately, SuperCard, at this stage, can not do what I need it to do.

SuperCard's SoundDevices() reports the attached set of sound input devices, but I could not find an analogous function for sound output devices. Nor could I find a SuperCard way to set either the input or output sound device.

Further, Apple's MacPro offers no way to adjust the volume of sound output via HDMI. My current monitor on my MacPro is a 43 inch Ultra High Definition TV which I drive with HDMI.

I checked the internet for an Applescript solution to setting the output device, but boy is that complicated.

So, I guess I am SOL. Back to the manual method . It does work because my work is for me alone.

Mark Lucas

unread,
Dec 19, 2025, 5:46:46 PM (14 days ago) 12/19/25
to 'MARK LUCAS' via SuperCard Discussion
Presumably that behavior is another legacy of HyperCard.

Internally this beep is played via the AlertSound API, which means its volume is set separately from that of regular sound playback (using the "Alert volume" setting in System Preferences -> Sound).

You can also control the alert volume using AppleScript, using this somewhat tortured syntax:

get appleScript("set volume alert volume <0-100>")

So if you want to mute only this particular beep (but not all others), my first guess would be to write a wee wrapper around the find command (that sets the alert volume to 0, calls find, then sets the alert volume back to 100 again) and call that instead.

HTH,
-Mark

On Dec 18, 2025, at 4:50 PM, Doug <dde...@rogers.com> wrote:

As I use "find" quite a bit, I find it a little annoying that everytime the command is issued a beep is played. So, I tried to mute the sound using the soundVolume command. But it doesn't seem to work. I am using Mojave (10.14.6) on a MacPro early 2009 4,1 upgraded to 5,1.The sound is set to play through the TV that I use as a monitor.

Anyone know whether I am whistling in the dark.

Doug

unread,
Dec 20, 2025, 9:52:11 AM (13 days ago) 12/20/25
to SuperCard Discussion
Thank you Mark for the appleScript function. It works perfectly.

So now, I use the "Say" command to announce the search routine, and while that is playing, the search proceeds, with no beeps. The SoundVolume command still doesn't work through HDMI, but that is okay for now. I guess there is only so much one can do when using legacy software within new environments.

Thanks again for the help.
-Doug
Reply all
Reply to author
Forward
0 new messages