How to programatically set sound bitrate

This is related to my earlier posting
http://forums.adobe.com/thread/479280?tstart=0
I now can stream and play  an audio file. this works fine when the format of the audio file is 44100Hz PCM.
I want to stream and play an audio file whose format is 8000Hz ulaw. Converting the samples from 1 byte ulaw to 2 bytes PCM is trivial, but converting the ample rate from 8000 to 44100 is more complicated.
I'd like to the sound object to set the audio bitrate to 8000 but I can't find a method or property

Hello,
Unfortunately NIHyperTrend control is an ActiveX control that is very limited in its a ability to be configured. programmatically changing the y-axis is not possible. I apologize for the inconvenience.
National Instruments

Similar Messages

  • How to programatically set hypertrend trace Y-axis setting

    Group,
    I can't seem to figure out how to programatically specify which Y axis a trace belongs to in Hypertrend.  In the trace properties it seems that I can set most everything else but I don't see a setting for this option.  I can set the MINs, MAXs, colors, URLS and so forth but when the Hypertrend control has more that one Y-Axis set up, how can I specify which one?  Can anyone point me in the right direction?
    Thanks
    Todd

    Hello,
    Unfortunately NIHyperTrend control is an ActiveX control that is very limited in its a ability to be configured. programmatically changing the y-axis is not possible. I apologize for the inconvenience.
    National Instruments

  • How to programatically set  HT expiration based on BPM process?

    Hi All,
    I'm developing a BPM process with human tasks. Is there a way by which I can set the task to expire 35 days after the date the instance of the BPM process was spawned? I see within the task an option to set Expiration after a fixed number of days, but my scenario requires that I compare the current date with the date on which the instance of the BPM process was created and set to expire accordingly.
    Is this achievable? If not directly are there any suggested programmatic approaches to achieve this?
    JDev : 11.1.1.4
    Thank you.
    PP.

    Don't know if you know how to get the number of days, hours, minutes that you want to wait and then put that into a either a string or integer variable (no decimals). If you know how to do this, then the code below should help. These examples assume you want to wait a certain number of days and this number is passed in using the variable "sla".
    Setting the human task's deadline
    The human task deadline timer can be set programmatically from a process variable using an XPath expression. In the human task's "Deadline" tab select "By Expression" from the dropdown. In the example below, the XPath expression would this if you had an string or integer variable called "Sla" and you wanted to set the number of days based on this variable:
    concat("P0Y0M",/task:task/task:payload/task:Sla,"DT0H0M0.0S")
    Setting the Interactive activity's deadline
    You'll also want to set a boundary timer event on the Interactive activity set to the same duration. The syntax for this logic is different than the human tasks deadline. In the timer event, if you use the radio button "Time Date", the XPath expression to set the number of days based on a variable would be:
    xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),concat('P0Y0M'  ,bpmn:getActivityInstanceAttribute('SUBPROCESS3082641628371', 'inputDataItem')/ns:sLA,'DT0H0M0.0S'))If you instead select the timer event's "Time Cycle" radio button, the logic would be:
    concat('P0Y0M',bpmn:getActivityInstanceAttribute('SUBPROCESS3082641628371', 'inputDataItem')/ns:sLA,'DT0HM0.0S')Dan

  • How to programatically set and save shortcut menus in to a control?

    I want to create some some shortcut menus for multiple controls of the same type, I want to do it programatically so I dont have to go one by one editing the custom menus, or copy paste the same control since I would have to re-build all my controls every time I want to add a new shortcut menu option (becouse I dont know yet how many options I will need). How can I programatically add a element to the shortcut menu of a control, and save it in to it? For example, in shortcut menu activation event, I can modify add/remove elements, but this do not save on to the shortctu menu you edit statically in edit mode of the vi. Ty! 

    There is no need for a time out. If someone right clicks on the control with the menu, a menu activation event is fired for that control. If the make a selection a menu selection event is fired for the control, otherwise it is like they never clicked on the control in the first place, nothing happens.
    Write a small example for yourself and run it with execution highlighting turned on. You'll see what I mean.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How do programatically set focus on a record other than the first one in a block?

    My form performs the query for the block, and by default it leaves the focus on the first (top) record in the block.  I'd like to have it focus on the last record in the block upon initial query.
    i've tried Last_record and go_record in a post-block trigger but these builtins are restricted and you can't execute them from post block triggers.  i don't see any block property things that would influence this either...  how can i do it?  thanks.

    i just figured out the answer to my own question... in the when new block instance trigger, there's an execute_query statement, and i simply put last_record statement after that...

  • How to programati​cally set front panel objects (buttons) to enable, disabled, and disabled and gray

    I'm writing a program that when I am iterating through a loop, I want to have some buttons disabled and grayed. Once the loop is done, I want those buttons to now be enabled.
    But I have no clue how to programatically do this
    (aka enable and disable while the program is running, NOT before the program starts)
    Any help would be appreciated

    Create a property node, & select the 'Disabled' property.  Set it to 0 for enabled, 1 for disabled, & 2 for disabled & grayed.
    Paul Cardinale

  • How do I set my email to shoe me the number of emails inmy inbox on the mail icon alon with a sound tellingme Ihave mail ?

    How do I set my email to show me how many emails I have on my email icon along with a sound to tell me I have new emails each time they arrive ?

    Hello 4grandsforme,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Understanding notifications
    http://support.apple.com/kb/ht3576
    Badges: An image or number appears on the application icon.
    Have a nice day,
    Mario

  • How can I get volume on my I6 to hear incoming calls . I went to setting , sounds, and selected a tone, but still no sound for incoming calls, texts, or other notifications.

    How can I get volume on my I6 to hear incoming calls . I went to setting , sounds, and selected a tone, but still no sound for incoming calls, texts, or other notifications.

    Hi rsample,
    Thank you for visiting Apple Support Communities.
    Your symptoms make it sound like the iPhone side switch is set to silent mode.
    iOS: Understanding sounds, ringtones, and alerts
    Set your device to silent mode
    iPhone: Toggle the Ring/Silent switch on the side of the device.
    Best Regards,
    Nubz

  • How Do I set the "Record" settings in Sound booth.

    How Do I set the "Record" bit settings in Sound Booth, i.e. the 16 bit rate so that the wav files will burn to a music CD. (the default 48 will dot burn to a CD).
    Thanks Marv.

    Why not post in the SB forum?
    Go to File/Record and set the format to what you need:

  • How do you set up the alert for FaceTime with sound

    How do you set up the alert for FaceTime with sound?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
     Cheers, Tom

  • How do I set individual sound alerts for multiple email accounts?

    How do I set individual sound alerts for multiple email accounts?

    Here: http://www.guidingtech.com/15275/get-different-notifications-per-mail-account-io s-6/
    Long and short of it, the settings can be individually changed under Notifications. Select Mail and then the account you want to change the sound to.

  • How Shall I programatically set  VO's  for Advanced Table?

    I have Advanced Table which display data from 3 different table under certain conditions.
    These 3 tables having same columns but different data.
    Here I have defined 3 VOs for this 3 tables.
    Now I want to programatically configure this VO to Advanced Table.
    Also...How shall i set View Attribute for Column in Advanced Table.
    I have written following code..but that didnt work...it is in processRequest()
    OAAdvancedTableBean tableBean = (OAAdvancedTableBean) webBean.findChildRecursive("SampleTable");
    if (tableBean!=null)
    System.out.println("Table Bean is Not Null");
    tableBean.prepareForRendering(pageContext);
    tableBean.setViewUsageName("EMCOpptyLevel1DataVO"); //EMCOpptyLevel1DataVO is name of VO
    OAMessageTextInputBean hours = (OAMessageTextInputBean)tableBean.findIndexedChildRecursive("hours1");
    hours.setViewUsageName("EMCOpptyLevel1DataVO");
    hours.setViewAttributeName("Hours");
    am.invokeMethod("initialize");// This will execute query on EMCOpptyLevel1DataVO
    }

    We have done it in the follwoing way. I have created one VO and this was with qry "select a,b from tab1;"
    I have written an public initialize(int condition){} method in VOImpl class. In the initialize method I used to change the qry of the VO something like this
    public initialize(int condition){
    if condition = 1
         setqry("select a,b from tab1");
         setFullSqlMode(FULLSQL_MODE_AUGMENTATION);
    if condition = 2
         setqry("select a,b from tab2");
         setFullSqlMode(FULLSQL_MODE_AUGMENTATION);
    Basically, I was using only one VO, but changing the qry on the VO dynamically depending on the condition. Depending on the condition I initialize my VO appropriately.

  • How to set sound device(sound card)

    i have 2 sound cards one - integrated on MB and one on PCI.
    I want with Java to use in some cases first in some cases second. How could I set one of them for usage?
    Am I need JMF or ther e is any other general setting to change preffered sound device(with java of course) for whole system(windows in my case)
    thank you Stoyan

    As I know you should add the devices to the jmf registery and after that to make that your application will choose the preferred device list.

  • I am running Logic Pro 9.1.7, and I use a Roland RD700GX keyboard to input midi data into Logic.  How do I set up Logic to record the Roland's own internal Grand Piano sounds into Logic, while retaining the ability to make midi edits? By Eggie

    I am running Logic Pro 9.1.7 on a mid-2011 Intel iMac running OS10.7.4. I use a Roland RD700GX as my midi input keyboard.  How can I set up Logic to record The RD700GX's own internal Grand Piano sounds, while retaining the ability to take advantage of Logic 9's midi editing capabilities. I am a relative newcomer to Logic, and I haven't been able to find an answer in The Logic 9 User Manual. A step by step procedure would be much appreciated. Thank you.
    Eggie0379

    Create a new External Midi Track, set the MIDI port to the one being connected to teh RD700. Now,create a new Software Instrument track. Select the external instrument plug-in. Set the MIDI destination and the audio input inside the Plug-in. Now, you can record the MIDI notes and hear the sound of the RD700. Once you've editied, you can bounce the track.
    Best,
    DaCaptain

  • How can I set up my iphone as a pager when my sound is cut off?

    How can I set up my iphone as a pager when my sound is cut off?

    Nbt24vs wrote:
    I had a droid before that I used as a pager. I found an app that would allow me to tell my phone even if its in silence mode if I got a text from "??" whatever then beep/sound off anyway. Since there are so many more apps in the Apple world I cant beive there isnt an equivalant app.
    When the sound is muted, all notifications are muted. Because of the greater inherent security in iOS than Android, an app such as you describe is not possible. There are no apps that can selectively override the mute. App developers do not have access to those system functions.

Maybe you are looking for

  • What happens if I buy a phone off eBay and it says Apple ID is locked is there a way you guys can fix it

    I found a phone on eBay and AT&T told me if I find a phone they can change it for me but it says Apple ID is locked

  • Link BP Property to Item Property

    Hi, In order to restrict the items a customer (BP) can purchase in the Sales Order module I want to link properties in the BP to propeties in the Item group. I.e BP property 30 may indicate access to items with item property = 5. My intention was to

  • Help on message mapping requirement

    I have a source file with a structure like below: emp no , company code , dependent name , dependent age , dependent qualification an exp file would look something like below : PERNRA , 1000, ABC , 23, CA PERNRA,  1000, DEF , 25 , BE PERNRB,  1200, X

  • Data inconsistency

    hi to all what is the meaning of data inconsistency? plz explain this one thanks@regards ravi

  • Lost mail after upgrade to Leopard OS X 10.5.1

    I upgraded to Leopard 10.5.1 from Panther 10.3.x. Everything opened as before except all the mail in all my folders between March 2006 and the date of the upgrade. Bookmarks, applications, address books, files, settings, desktop, etc. Absolutely ever