Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Sound in Pascal

Sombody Someone, Please write how to play sound with sb in Pascal(32 Bit TMTPascal) with own Buffer not
BP's TStream

Comments

  • : Sombody Someone, Please write how to play sound with sb in Pascal(32 Bit TMTPascal) with own Buffer not
    : BP's TStream
    : try

    sound();
    delay();
    nosound;
    obviously putting numbers in the brackets. delay(1000); equals one second. tell me if it works because when i do it, i only a really quiet sound, and yes my speakers are turned up!

  • viv.viv. Posts: 72
    : : Sombody Someone, Please write how to play sound with sb in Pascal(32 Bit TMTPascal) with own Buffer not

    well i do it quite easily..
    u see.. when you palay a sound from pascal, by using for example:

    sound(200); (*activate sound of 200 Hz*)
    delay(1000); (*wait 1000 thousands of a second b4 going on..*)
    nosound; (*turns off sound*)

    now, when you do this , it does not play a sound in your external speakers, it plays it in the small aldib speaker in your CPU (the big box.)
    if you dont have a speaker there (very unusual,) nothing will sound.

    does this help?






  • ibyiby Posts: 323
    : : : Sombody Someone, Please write how to play sound with sb in Pascal(32 Bit TMTPascal) with own Buffer not
    :
    : well i do it quite easily..
    : u see.. when you palay a sound from pascal, by using for example:
    :
    : sound(200); (*activate sound of 200 Hz*)
    : delay(1000); (*wait 1000 thousands of a second b4 going on..*)
    : nosound; (*turns off sound*)
    :
    : now, when you do this , it does not play a sound in your external speakers, it plays it in the small aldib speaker in your CPU (the big box.)
    : if you dont have a speaker there (very unusual,) nothing will sound.
    :
    : does this help?
    :
    :
    :
    :
    :
    :
    :


    I don't think he is after sound on PC speaker...



Sign In or Register to comment.