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 andrewtrades, Today, 04:57 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by chbruno, Today, 04:10 PM
          0 responses
          3 views
          0 likes
          Last Post chbruno
          by chbruno
           
          Started by josh18955, 03-25-2023, 11:16 AM
          6 responses
          436 views
          0 likes
          Last Post Delerium  
          Started by FAQtrader, Today, 03:35 PM
          0 responses
          6 views
          0 likes
          Last Post FAQtrader  
          Started by rocketman7, Today, 09:41 AM
          5 responses
          19 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X