Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Play sound in consecutive order

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

    Play sound in consecutive order

    Hi!

    I wrote next code
    PlaySound("First.wav");
    PlaySound("Second.wav");
    PlaySound("Third.wav");
    run and... hear ONLY LAST sound

    How play sound-file in consecutive order witout concealment and overlap?

    Thanks

    #2
    I have addressed this, but only available as a spin off for COTReport in my Zweistein.Library.dll



    regards

    Andreas

    Comment


      #3
      Hello Nikoli,

      Thank you for your post.

      There are several approaches you could take to this issue but the easiest will likely not be a programming solution.

      If you want all three files to play in sequence you should consider getting sound editing program to join all segments into one file.

      If you pursue a programming solution, you would like to need to work with TimeSpan objects and setting up a sequence through the use of bool flags or uservariables.

      The following reference sample is useful for setting up a sequence of events through the use of User variables:
      Ryan M.NinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_RyanM View Post
        If you pursue a programming solution
        Yes, programm choose sequence of sound - it is ok.

        Pls, give more explanations or example what do you mean by that
        Originally posted by NinjaTrader_RyanM View Post
        work with TimeSpan objects and setting up a sequence through the use of bool flags or uservariables.
        ?

        How eliminate concealment and overlap in consecutive order play with TimeSpan objects or use of bool flags or uservariables?
        Last edited by Nikoli; 05-15-2010, 10:45 PM.

        Comment


          #5
          Hello Nikoli,

          Unfortunatley this isn't something we offer direct support for.

          If you would like to hire a programmer to code this for you can consider one of our 3rd party NinjaScript consultants at the link below:
          Ryan M.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by lorem, Yesterday, 09:18 AM
          4 responses
          14 views
          0 likes
          Last Post lorem
          by lorem
           
          Started by Spiderbird, Today, 12:15 PM
          0 responses
          5 views
          0 likes
          Last Post Spiderbird  
          Started by cmtjoancolmenero, Yesterday, 03:58 PM
          12 responses
          42 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by FrazMann, Today, 11:21 AM
          0 responses
          6 views
          0 likes
          Last Post FrazMann  
          Started by geddyisodin, Yesterday, 05:20 AM
          8 responses
          52 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X