Announcement

Collapse
No announcement yet.

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:
      http://www.ninjatrader.com/support/f...ad.php?t=15417
      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:
          http://www.ninjatrader.com/webnew/pa...injaScript.htm
          Ryan M.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Futurestrader00, Yesterday, 06:14 PM
          1 response
          16 views
          0 likes
          Last Post cincai
          by cincai
           
          Started by ballston, Today, 06:32 AM
          0 responses
          2 views
          0 likes
          Last Post ballston  
          Started by Danila, Today, 04:38 AM
          2 responses
          7 views
          0 likes
          Last Post Danila
          by Danila
           
          Started by sinpeople, Today, 04:38 AM
          0 responses
          7 views
          0 likes
          Last Post sinpeople  
          Started by kiffgj, Today, 04:23 AM
          0 responses
          8 views
          0 likes
          Last Post kiffgj
          by kiffgj
           
          Working...
          X