SOUND and MIDIMESSAGE do not work
A Logo programming environment for Microsoft Windows
Brought to you by:
david_costanzo
Using FMSLogo 7.3.0, Spanish install under Windows 10 Pro Version 10.0.17134 build 17134
This does nothing (no sound)
sound [2500 130]
This does nothing (no sound):
PRINT MIDIOPEN
[MIDI Mapper]
MIDIMESSAGE (LIST 192+13 56 0 192+13 56 0)
listen to tone
MIDIMESSAGE (LIST 144+13 100 100)
MIDICLOSE
Does PLAYWAVE work? If you run PORTCLOSE, when the error dialog box appears, does FMSLogo play the system default noise? Can other applications make noises?
MIDIOPEN and SOUND are implemented in two very different ways, so different that the only thing they have in common is their use of the sound card. I'm not familiar with Window 10, but I wonder if there's some additional ways to control audio and somehow it got turned off for FMSLogo. Can look in the mixer and confirm that nothing is muted?
yes.
no
VLC, youtube, yes
yes, playwave does work.
It seems that some midi sounds work and some don't. it behaves weirdly, video attached.
My computer cannot doesn't have the capability to watch the video, so I'll have to wait until I get in front of a computer that can play it to see what you mean.
I suspect there's something specific about your computer or your computer's configuration that's causing this. To display the error from PORTCLOSE, FMSLogo calls MessageBox, which is supposed to play the default sound. If that doesn't make a noise, it indicates that there's something deeper down in the OS that's causing the problem.
The SOUND procedure uses the win32 function Beep. The MSDN documentation explains the long history, but ends up with saying that on Windows 10, it should be routed to your sound card. On my machine (Window XP), this stopped working because my PC speakers stopped working, but that shouldn't be what's causing your problem.
PLAYWAVE uses sndPlaySound. It's good to know that it works, but I cannot explain why it would work, but Windows doesn't beep when PORTCLOSE shows a dialog box.
What is the make & model of your Windows 10 computer? Is it a laptop?
Here is the video in AVI format
Yes
Toshiba Satellite C75-B x64, Processor i5-5200U
Sound Device Realtek High Definition Audio.
I'm going to try to see the last FMSLogo version that didn't have this issue...
I restarted my laptop and the issue has gone away...
Sorry for the false alarm.
I guess if it hasn't come back for now, then you won't be able to reproduce it. It's possible that FMSLogo could have done something differently that would have kept the audio working, but I would need to be able to reproduce it to be able to investigate it further.