Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sound file for "NinjaTrader must close" error dialog

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

    Sound file for "NinjaTrader must close" error dialog

    Hi guys,
    when NinjaTrader announces it has detected an error and needs to close, there is a sound alert that is not one of the standard sounds in the Sounds folder.

    I'd like to do something with that sound, as I want it to wake me up in the middle of the night (I'm auto-trading from Australia).
    I'm technically fine with the sound manipulation, that's not a problem. I just need to know which sound file you are using and where it is.
    Thanks,
    saltminer

    #2
    Unfortunately we do not support manipulation of NT sounds nor would we recommend it. However here is a hint: take a look at <installDir>/NinjaTrader6.5/sounds

    Comment


      #3
      Yes I'm familiar with this folder, and of the 17 sounds in there (and there are no hidden sounds that I can locate) the sound is not one of those.
      After doing some listening to every wav file on my drive, I'm going to take a punt that the sound is "Windows Critical Stop" in C:\Windows\Media

      I know you don't support me changing a system file, and good on you for it. However, I'm taking responsibility for my own actions here. A simple "yes, that's the file" from you will allow me do something about this audio alert noise upon a NinjaTrader crash. The current noise isn't enough to alert you if you are in the next room, yet I need it to wake me up from down the hall. All I'll do is replace the sound with an equally named file that is much longer and louder. Simple.

      So, is this the sound triggered? (Please?)
      saltminer

      Comment


        #4
        NT only controls the sounds in the folder mentioned in my previous post. All other sounds are .NET/windows sounds and not controled by NT.

        Comment


          #5
          Sound file location may vary

          dierk, or anybody else,

          I have these possible pointers to the audio sound files:

          Code:
          [FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000]
          [SIZE=2][FONT=Courier New][COLOR=#008000]PlaySound(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\NinjaTrader 6.5\\Sounds\\Train.wav");[/COLOR][/FONT][/SIZE]
          [SIZE=2][FONT=Courier New][COLOR=#008000]// [/COLOR][/FONT][/SIZE]
          [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]
          Code:
          [FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000]
          [SIZE=2][FONT=Courier New][COLOR=#008000]PlaySound(@"C:\Program Files\NinjaTrader 6.5\sounds\OrderFilled.wav");[/COLOR][/FONT][/SIZE]
          [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]
          how do I use "getfolderpath" to find a sound file whether it's MyDocuments or ProgramFiles or ?
          Code:
          <installDir>/NinjaTrader6.5/sounds
          please indicate the correct syntax since one is using "\", the other uses "\\" and the other is "/" ?

          thanks,
          kirk
          Last edited by zeller4; 07-10-2009, 04:50 AM.

          Comment


            #6
            Kirk, I would suggest checking into this thread here - http://www.ninjatrader-support2.com/...ad.php?t=18152
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Thanks Bertrand,

              Now I'm using
              Code:
              [FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]
              Cbi.Core.UserDataDir.ToString()
              [/SIZE][/FONT][/SIZE][/FONT]
              which finds the correct NinjaTrader 6.5 directory.

              What else do I need to add to find the sound or sounds directory in case there's a spelling difference from one machine to another?

              Kirk

              Comment


                #8
                Kirk,

                Nothing will be different from there on out. The sounds folder will always be named the same and the actual .wav file will be whatever wav file you want to use.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Thanks Josh

                  Comment


                    #10
                    Sound files

                    Assume standard set up/installation directories where do *.wav files go? Is there supposed to be a "sounds" subdirectory somewhere? please send me the pat that NT looks for. Thanks Jim

                    Comment


                      #11
                      Yes, it's in the default install directory - C:\Program Files\NinjaTrader 6.5\sounds
                      BertrandNinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by GLFX005, Today, 03:23 AM
                      0 responses
                      1 view
                      0 likes
                      Last Post GLFX005
                      by GLFX005
                       
                      Started by XXtrader, Yesterday, 11:30 PM
                      2 responses
                      11 views
                      0 likes
                      Last Post XXtrader  
                      Started by Waxavi, Today, 02:10 AM
                      0 responses
                      6 views
                      0 likes
                      Last Post Waxavi
                      by Waxavi
                       
                      Started by TradeForge, Today, 02:09 AM
                      0 responses
                      14 views
                      0 likes
                      Last Post TradeForge  
                      Started by Waxavi, Today, 02:00 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post Waxavi
                      by Waxavi
                       
                      Working...
                      X