Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert sound not playing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Alert sound not playing

    Alert("My alert",NinjaTrader.Cbi.Priority.High,"Breakdown reversal","Alert1.wav",10,Color.Black,Color.Yellow );

    I have the Alert1.wav file in the sounds folder - and it works on my Vista machine but not on Windows 7.
    Log
    2010-04-15 09:42:44:089 Cbi.AlertCollection.ProcessEventArgsInThreadContex t, exception caught: Sound API only supports playing PCM wave files.

    #2
    Searching the forum for "PCM" yielded this thread: http://www.ninjatrader-support2.com/...&highlight=PCM

    Comment


      #3
      64 bit

      Where can I find this audio recorder for a 64 bit operating system?
      None of the ones I have tried work.

      Comment


        #4
        Sorry I would not know.

        Comment


          #5
          NT responsibility

          As Alert1 comes with the installation wouldn't it make more sense if NT produced and distributed the file in pcm format in the first place??

          Comment


            #6
            Yes, we'll add that our list of future considerations. However, the sounds work on my Win7 64bit so I suspect it might be something related to your particular machine.

            Comment


              #7
              Thanks to Harry (a forum user) I had an idea. Could you please try this:
              a) double click on the file <program files>/NinjaTrader7/sounds/Alert.wav. Do you hear a sound?
              b) please download and unzip the attached file to <program files>/NinjaTrader7/sounds/Alert.wav and double click on that file. Do you hear a sound?
              c) now try your script. Would it work or still same error?

              Would be great if you could provide feedback on (a) - (c). Thanks
              Attached Files

              Comment


                #8
                Feedback

                a. yes
                b. yes
                c. yes

                great thanks.
                I have been unable to convert it to pcm myself.

                Comment


                  #9
                  Kudos to Harry again. Guess we have a plan. I wanted to run some more checks before I would convert all sound files to that PCM format to resolve the issue.

                  Comment


                    #10
                    Dierk, would it be possible for you to add a bunch of standard type sounds to be included in the NT install folder. There are not that many sounds to select from for alerts and sounds and if I specify sound files from Windows there is always the chance they will be excluded from a version of Windows or they may change the folder or path to the stock Windows sounds. It would be nice to have an abundance of sound options without going outside of NT. Thanks, Dan
                    eDanny
                    NinjaTrader Ecosystem Vendor - Integrity Traders

                    Comment


                      #11
                      Thanks for your suggestion. I put it to the list. Our focus right now is getting NT7 stable. Thus, we leave any enhancement and such aside.

                      Comment


                        #12
                        Thanks for the consideration.
                        eDanny
                        NinjaTrader Ecosystem Vendor - Integrity Traders

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        626 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        359 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        105 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        562 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        567 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X