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 f.saeidi, Yesterday, 12:14 PM
          9 responses
          23 views
          0 likes
          Last Post f.saeidi  
          Started by Tim-c, Today, 03:54 AM
          0 responses
          3 views
          0 likes
          Last Post Tim-c
          by Tim-c
           
          Started by FrancisMorro, Today, 03:24 AM
          0 responses
          3 views
          0 likes
          Last Post FrancisMorro  
          Started by Segwin, 05-07-2018, 02:15 PM
          10 responses
          1,772 views
          0 likes
          Last Post Leafcutter  
          Started by Rapine Heihei, 04-23-2024, 07:51 PM
          2 responses
          31 views
          0 likes
          Last Post Max238
          by Max238
           
          Working...
          X