Тема: AHK: SoundBeep
SoundBeep не работает, при том, что внутренний динамик работает (при загрузке компа раздается одиночный сигнал).
Как то можно это исправить?
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
Страницы 1
Чтобы отправить ответ, вы должны войти или зарегистрироваться
SoundBeep не работает, при том, что внутренний динамик работает (при загрузке компа раздается одиночный сигнал).
Как то можно это исправить?
Давным-давно мне попадалась информация, что на внутренний динамик существует драйвер. Соответственно он по какой-то причине может оказаться не установленным. Но Вы всё-таки код покажите.
Так там кода то: SoundBeep, 750, 500 или просто SoundBeep
Тогда предлагаю поискать на оф. сайте.
У меня есть и внутренний динамик и наушники с usb звуковой картой.
Пока подключены наушники, SoundBeep воспроизводиться через них.
Может быть можно попробовать посмотреть настройки звука в Windows.
На ХР, помнится, бип шёл через динамик на материнке, а на новых осях уже идёт через звуковую карту.
а на новых осях уже идёт через звуковую карту
Ось 7 х32
Бип при загрузке же есть.
Тогда предлагаю поискать на оф. сайте
Нету там решения.
Может быть можно попробовать посмотреть настройки звука в Windows.
В диспетчере beep активирован и в работе.
Может через onMessage как-нибудь можно?
Так работает?
Если нет, то гуглите какую ошибку возвращает.
DllCall("Beep", UInt, 750, UInt, 1000)
msgbox % A_LastError
Так работает?
-1073741816
Батник тоже ничего не воспроизводит @Echo
Почитайте здесь.
Вот, что пишут в пометках к beep:
A long time ago, all PC computers shared a common 8254 programable interval timer chip for the generation of primitive sounds. The Beep function was written specifically to emit a beep on that piece of hardware.
On these older systems, muting and volume controls have no effect on Beep; you would still hear the tone. To silence the tone, you used the following commands:
net stop beep
sc config beep start= disabled
Since then, sound cards have become standard equipment on almost all PC computers. As sound cards became more common, manufacturers began to remove the old timer chip from computers. The chips were also excluded from the design of server computers. The result is that Beep did not work on all computers without the chip. This was okay because most developers had moved on to calling the MessageBeep function that uses whatever is the default sound device instead of the 8254 chip.
Eventually because of the lack of hardware to communicate with, support for Beep was dropped in Windows Vista and Windows XP 64-Bit Edition.
In Windows 7, Beep was rewritten to pass the beep to the default sound device for the session. This is normally the sound card, except when run under Terminal Services, in which case the beep is rendered on the client.
https://msdn.microsoft.com/en-us/librar … s.85).aspx
Так работает?
DllCall("MessageBeep", UInt, 0xFFFFFFFF)
teadrinker слишком там мудрено, да и админ. прав нету на компе.
DllCall("MessageBeep", UInt, 0xFFFFFFFF) тоже нет
I KNOW HOW TO MAKE PC SPEAKER BEEP ON 32/64-BIT WIN7 AND WIN8
1.Install VMware Player/Workstation (BTW This does not work with VirtualBox)
2.Create new VM and install Windows XP on it
3.After install, run command prompt, press Ctrl-G and then ENTER(that thing makes the beep)
After all of that, you should hear the beep from internal PC Speaker.
Alternatively, you can use Beep.exe command utility: http://www.rlvision.com/misc/beep.asp
Usage: beep.exe [frequency in hz] [duration in ms]
For more information, execute it in command prompt
https://yadi.sk/i/7q4pxSt134KgUe
Включено?
Включено?
Нету вообще PC Beep, есть Микрофон и Лин. вход.
Страницы 1
Чтобы отправить ответ, вы должны войти или зарегистрироваться