Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

getting list of available voices

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

    getting list of available voices

    How would you get a list of system voices as a parameritized list when configuring a indicator? through speech synth
    Last edited by WHICKED; 11-08-2022, 03:42 PM.

    #2
    Hello WHICKED,

    Thank you for your post.

    Please clarify what you are referring to; I don't understand what you mean by "a list of voices." Are you able to provide a screenshot or an example of what types of items would be on the list? Is this supposed to be a user input for the indicator settings?

    I look forward to your reply.

    Comment


      #3
      Trying to get a dropdown list as a paramter on a indicator that shows the narration system voices that can be used via c# Speech.

      Comment


        #4
        Hello WHICKED,

        Thank you for your reply.

        Are you referring to the System.Speech.Synthesis class? NinjaTrader uses the C# 5.0 programming language targeting .NET 4.8 for developing custom NinjaScript AddOns. Using external programming languages is not documented or supported and we would not be able to provide assistance. That being said, I was able to find the following forum threads that have some discussion about System.Speech.dll:
        Documents\NinjaTrader 8\bin\Custom is the proper place for a 3rd party referenced assembly dll.

        Support for 3rd party assemblies is limited. Our team is able to assist with adding the dll and a reference to the dll, however we cannot assist with its use, or with any errors or unexpected behavior that may occur.

        With that said, we are happy to forward any insightful information we happen to be aware of.

        Below is a link to the help guide on referencing a 3rd party assembly dll.
        https://ninjatrader.com/support/help...indicators.htm

        Any referenced managed assembly will need to target .NET Framework 4.8 or lower. Other versions of .NET will not work, such as .NET Core or .NET 5.

        With that information in mind, if you are able to List<String> of all of the voice values that you are looking for, you should be able to create a dropdown menu of enum values in a similar manner to the following reference sample:Please let us know if we may be of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X