Results 1 to 3 of 3

Thread: Playing Sounds In Forms!

  1. #1
    Join Date
    Mar 2007
    Location
    Nr. Leeds, Uk
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Playing Sounds In Forms!

    Its kinda Pointless But I'm Bored lol,
    I wanna Make My Script Play A Song I Wrote When It Loads The Form, But I don't No weher to save the sound file and what format it has to be, at the moment its .midi.

    I know I have to use the
    SCAR Code:
    PlaySound('theme.midi')
    procedure, but I can't get it to work please help me

  2. #2
    Join Date
    Dec 2006
    Location
    utah
    Posts
    1,427
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    I think "play sound" only plays WAVE Files
    so Record sound on "Sound recorder" and
    save it as a .wav file then play sound

    Example:
    Procedure Playsound(Sender:TObject);
    begin
    PlaySound('Example.wav");
    end;

    MainForm.Onactivate:= @PlaySOund

  3. #3
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •