No puedo escuchar sonido alguno... /No sound...

HMG en Español

Moderator: Rathinagiri

Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

No puedo escuchar sonido alguno... /No sound...

Post by Leopoldo Blancas »

Hola a todos...

Desde hace una hora no he podido que salga sonido del altavoz ni con PlayBeep() ni Tone(1000,3), ni.... ??? Ya reinicie la maquina, ya busque un ejemplo (Tipos de mensajes que están en miniguiExtend) y lo ejecute y nada... ya hice una verificación de virus y nada..... Ya oi varios videos y todo bien. El ejemplo que les mando es el que esta en HMG/Samples/Boton.1 solo le Agregue PlayBeep() y Tone(1000,3) y no logro escuchar el sonido.

*-----------------------------------------------------------------------------------------------------------------------------------------------
Hi all ...

For one hour I could not output sound speaker nor PlayBeep () or Tone (1000.3), or .... ??? Now restart the machine, and find an example (Types of messages that are in miniguiExtend) and run it and nothing ... I have done a virus check and nothing ..... I've heard several videos and all good. The example that I send is he that is in you alone HMG/Samples/Boton.1 PlayBeep Add () and Tone(1000.3) and I can not hear the sound.

Code: Select all

Function Main()

set century on
set date ital

   DEFINE WINDOW Form_1 ;
      AT 0,0 ;
      WIDTH 200 ;
      HEIGHT 200 ;
      MAIN;
      TITLE 'Button Test'

      DEFINE MAIN MENU
              POPUP 'Test'
                ITEM 'Disable button' ACTION Form_1.Button_1.Enabled := .f.
                ITEM 'Enable button'  ACTION Form_1.Button_1.Enabled := .t.
              END POPUP
      END MENU

      PlayBeep()
      Tone(1000,3)
      
      @ 30,70 BUTTON Button_1 PICTURE "button.bmp" WIDTH 50 HEIGHT 50 ACTION   {|| PlayBeep() , getprinter()}
      @ 100,70 textbox t1 value date() date 

   END WINDOW

   CENTER WINDOW Form_1

   ACTIVATE WINDOW Form_1

Return
Alguien tiene una idea??? y una posible solución???? / Anyone have an idea??? and a possible solution????

Gracias
Polo
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: No puedo escuchar sonido alguno... /No sound...

Post by danielmaximiliano »

Hola Polo :
aqui funcion PlayBeep()

probaste los ejemplos C:\hmg.3.1.1\SAMPLES\PLAYER.1 y comprobar si funciona los sonidos a travez de una aplicacion HMG?
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
mustafa
Posts: 1177
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: No puedo escuchar sonido alguno... /No sound...

Post by mustafa »

Hola Leopoldo
Mira este post: http://hmgforum.com/viewtopic.php?f=9&t ... ayer#p8267
haber si te puede servir ?
un saludo
Mustafa

Leopoldo Blancas wrote:Hola a todos...

Desde hace una hora no he podido que salga sonido del altavoz ni con PlayBeep() ni Tone(1000,3), ni.... ??? Ya reinicie la maquina, ya busque un ejemplo (Tipos de mensajes que están en miniguiExtend) y lo ejecute y nada... ya hice una verificación de virus y nada..... Ya oi varios videos y todo bien. El ejemplo que les mando es el que esta en HMG/Samples/Boton.1 solo le Agregue PlayBeep() y Tone(1000,3) y no logro escuchar el sonido.

*-----------------------------------------------------------------------------------------------------------------------------------------------
Hi all ...

For one hour I could not output sound speaker nor PlayBeep () or Tone (1000.3), or .... ??? Now restart the machine, and find an example (Types of messages that are in miniguiExtend) and run it and nothing ... I have done a virus check and nothing ..... I've heard several videos and all good. The example that I send is he that is in you alone HMG/Samples/Boton.1 PlayBeep Add () and Tone(1000.3) and I can not hear the sound.

Code: Select all

Function Main()

set century on
set date ital

   DEFINE WINDOW Form_1 ;
      AT 0,0 ;
      WIDTH 200 ;
      HEIGHT 200 ;
      MAIN;
      TITLE 'Button Test'

      DEFINE MAIN MENU
              POPUP 'Test'
                ITEM 'Disable button' ACTION Form_1.Button_1.Enabled := .f.
                ITEM 'Enable button'  ACTION Form_1.Button_1.Enabled := .t.
              END POPUP
      END MENU

      PlayBeep()
      Tone(1000,3)
      
      @ 30,70 BUTTON Button_1 PICTURE "button.bmp" WIDTH 50 HEIGHT 50 ACTION   {|| PlayBeep() , getprinter()}
      @ 100,70 textbox t1 value date() date 

   END WINDOW

   CENTER WINDOW Form_1

   ACTIVATE WINDOW Form_1

Return
Alguien tiene una idea??? y una posible solución???? / Anyone have an idea??? and a possible solution????

Gracias
Polo
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: No puedo escuchar sonido alguno... /No sound...

Post by Leopoldo Blancas »

Hola Daniel y Mustafá...

Ya probe Player.1 y ahí si se escucha el sonido, pero no en PlayBeep() ni en los diferentes tipos de mensaje, solo quería que hubiese un sonido para avisar que terminaba una rutina y nada, en una aplicación que había hecho ya tampoco se oye sonido, creo que voy a recargar otra vez HMG, es lo ultimo que me falta. Pero ni el la versión 3.0.46 se oye. Bueno.

Muchas gracias de antemano...
Saludos
Polo
*---------------------------------------------------------------------------------------------------------------------------
Hi Daniel and Mustafa ...

Already Player.1 probe and that if you hear the sound, but not PlayBeep () or different types of message, I just wanted to have a sound to alert that ended a routine and nothing, in an application that had not already sound is heard, I think I'll reload again HMG, is the last thing I need. But neither version 3.0.46 is heard. Well.

Thank you very much in advance ...
regards
Polo
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: No puedo escuchar sonido alguno... /No sound...

Post by danielmaximiliano »

Polo : toma una aplicacion que haga test de harware y prueba el Beep de sistema.

otra forma facil de probar el parlantito en D.O.S es utilizar este batch
beep.rar
(101 Bytes) Downloaded 256 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: No puedo escuchar sonido alguno... /No sound...

Post by Leopoldo Blancas »

Hola Daniel

No no hace ningún sonido... Lo ejecute desde D.O.S....que es entonces? Windows esta dañado?

Saludos
Polo
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: No puedo escuchar sonido alguno... /No sound...

Post by danielmaximiliano »

Funciona el Beep al encender las computadora ????
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: No puedo escuchar sonido alguno... /No sound...

Post by danielmaximiliano »

danielmaximiliano wrote:Funciona el Beep al encender las computadora ????
pueder hacer esto :
Hacemos clic en el botón Inicio y luego sobre Ejecutar, escribimos Regedit y pulsamos el botón Aceptar.

Una vez estamos en el Registro nos desplazamos por la siguiente clave

HKEY_CURRENT_USER\Control Panel\Sound.

En la clave Sound crearemos o modificaremos el valor de tipo alfanumérico Beep cuyo contenido será yes si queremos que el pitido interno del PC siga funcionando y si por el contrario queremos que no funcione pondremos el valor no para desactivarlo.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: No puedo escuchar sonido alguno... /No sound...

Post by Leopoldo Blancas »

Hola Daniel ya probe y probe y nada, a de ser problema de Windows... tendré un día de estos que formatear la máquina...

Gracias.
Polo
User avatar
cargom56
Posts: 9
Joined: Tue Nov 06, 2012 1:26 pm
Location: Rome, Italy

Re: No puedo escuchar sonido alguno... /No sound...

Post by cargom56 »

If you are having a similar issue it can be due to other software you have in the meanwhile installed on your PC. You may wish not to limit your investigation to software connected with sound. For instance, a Youtube to MP3 converter or a Youtube downloader software is known to cause this kind of problem. If you happen to have that installed, try removing it to see if the problem will go away.

Carlo
Post Reply