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 aaadetos, 05-04-2021, 09:28 AM
          1 response
          5 views
          0 likes
          Last Post Lancer
          by Lancer
           
          Started by Stanfillirenfro, Today, 04:34 AM
          1 response
          6 views
          0 likes
          Last Post Stanfillirenfro  
          Started by Impeesa, Today, 04:31 AM
          0 responses
          4 views
          0 likes
          Last Post Impeesa
          by Impeesa
           
          Started by knarfoe, Today, 03:41 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by leschgarrett, Today, 03:58 AM
          0 responses
          1 view
          0 likes
          Last Post leschgarrett  
          Working...
          X