How to produce a sound whose intensity depending on the amplitude of a signal?

i am acquiring some signal. each time the signal reach a value (e.g. 0.5 V) i want my application to emitt a sound. that's what i did for now but i wish i could make the sound intensity depending on the amplitude of my signal?
thanks for your help
guillaume
PS: i attached my application vi
Attachments:
thyroide001.vi ‏110 KB

Take a look at the documentation on the vi "Tone Gen.vi" that you're using. It has an inputs for tone frequency and volume. You can set those to create distinctive tones and amplitudes for each threshold.
Tim

Similar Messages

  • Apple Mail: How can I automatically set a signature, depending on the sender, NOT on the account?

    Apple Mail: How can I automatically set a signature, depending on the sender (have several for one account), NOT on the account?
    I have some comma-separated senders in my Apple Mail accounts, some for business, some for private (using the same account). When I'm sending a business mail, I would like to append my business signature, when I send a private one, either nothing, or a fun signature.
    Best,
    Berlin1892

    karenbee,
    Here's the solution for PCs: Tools>Options, then click Sync in the Options window. Good luck.

  • How to split words in two arrays depending of the first letter.

    Yes, how to split words in two arrays depending of the first letter.
    I have a string array with some words, and I need to separe this array into two differents string arrays depending of the first letter:
    if the word starts in A to M the word goes to array Words_AM;
    if the word starts in N to Z the word goes to array Words_NZ;
    Now I'm doing the next:
    if ((ArrayWord.charAt(0))<='a') && (ArrayWord.charAt(0)>='m'))                                        {                                                                                          
    Words_AM]=ArrayWord;
    else
    Words_NZ[i]]=ArrayWord;
    But doesn't work.
    Any solution?
    Best wishes.

    Yes , that's true. But also I have to change the <='a' to <'a', because of with first option didn't selecting the a letter.
    But with z letter, doing the same before, doens't run.
    if ((ArrayWord.charAt(0))<'a') || (ArrayWord.charAt(0)>='m'))
       Words_NZ]=ArrayWord;
    else
    if ((ArrayWord.charAt(0))<='n') || (ArrayWord.charAt(0)>'z')) Words_AM[i]]=ArrayWord;
    Regards ;)

  • How to produce beep sound from sap program?

    Hello all,
    Can anybody help me to produce beep sound from sap program.
    I dont want to play a WAV file.
    I just want to produce a BEEP sound.
    Your help is highly appreciated.
    Thanks n Regards
    chandu

    Hi
    Thanks for the quick response.
    I tried the code in ur reply.
    Its not producing any beep sound.
    type-pools: ole2.
    data: return type i,
    sapinfo type ole2_object.
    data: begin of command,
    command(12) type c value 'cmd /c echo ',
    hex07(1) type x value '07',
    end of command.
    create object sapinfo 'SAPINFO' no flush.
    call method of sapinfo 'EXEC' = return
    exporting
    #1 = command
    #2 = 0.
    free sapinfo.
    Is there anyother way??
    Thanks

  • Most efficient way to extract the amplitude of a signal and display on an intensity graph

    Hi All,
    I am having difficulty to display the amplitude of an voltage signal (voltage picked up by NI DAQ card).
    what I am trying: Voltage signal (Dynamic data type)--> 2D array of dynamic data type (using 2 nested for loops) --> normal 2D array with scalar values --> intensity graph
    I have difficulty to convert the dynamic 2D array to scalar 2D arry.
    I only want to extract the amplitude of the imcoming signal.. any body can give some advice? thanks in advance..
    Charlie

    Hi Hillary,
    Thanks for your reply.
    Yes, I did tried to use Amplitude and Levels Express vi, it should be the one I am looking for, but I found it not work in my case, I need to put the value of amplitudes into a 2D array.
    If I use Amplitude and Levels Express vi, it will give me a 3D array, I have found the solution, just convert the dynamic data to single scalar. (see pic attached)
    Anybody can help me to solve the following 2 problems:
    1. The speed of this program is too low, i think ii due to the DAQ assistant in the 2 for loops (for creating 2D array), it should be able to re-write using DAQmx (as "centerbolt" told me), I am working on this now, if anybody can help, I will appreciate that.
    2. Is there any other way to creat the 2D array (for purpose of increasing speed also).
    Thanks,
    Charlie

  • How to set  color of a  row depending on the value of column in JTable?

    Hi All,
    I have a JTable that add rows when the user clicks on the button. In this way there can be any no. of rows in my table. My table contains five columns. When a new row is added , it is added with new data each time. Also the data of the rows keep on changing time to time.
    My problem is that when the data value for the third column comes out to be -ve then color of the row should be red and if its value is +ve then the color of the row should be green.
    I have tried for this in the way but it is not working properly.
    public Component prepareRenderer(TableCellRenderer renderer,int rowIndex, int vColIndex)
         Component c = super.prepareRenderer(renderer, rowIndex, vColIndex);
    if(rowIndex<table.getRowCount() && change<0 )
              c.setForeground(Color.red);
              c.setFont(new Font("TimesRoman",Font.PLAIN,11));
    else if(rowIndex<table.getRowCount() && change>0)
    c.setForeground(new Color(20,220,20));
         c.setFont(new Font("TimesRoman",Font.PLAIN,11));
    return c;
    where change is the value of the third column.
    Any help is highly appreciated.
    Thanx in advance.
    Regards,
    Har Krishan

    Perhaps you'll find this link useful. It gives a general idea of how you can create and adjust your custom renderer:
    http://www.senun.com/Left/Programming/Java_old/Examples_swing/JTableExamples4.html
    Hope it helps.
    Eugene

  • How to set up music so they remain on the phone when no signal?

    my songs are greyed out on my phone. cannot play now.
    Yesterday was in a basement with no wifi or signal could not play songs had the cloud icon beside each song

    You'll either need to download them from the icloud onto your iphone by selecting the cloud icon or place them on you iphone via itunes.  And that is provided that you have the space on your phone.

  • When I placed a video from my camera roll on my ipad to keynote on my ipad I lost sound how do you make sound work?

    When i placed a video from my camera roll on my ipad to my keynote presentation on my ipad I lost sound how do I get sound?

    Not sure of the answer, but does the sound disappear when it was added to the photo roll, or when you try to import it into Keynote?

  • Have a 2 year old ipad2 and while speakers work fine I can no longer get sound through headphones, how can I get sound through the headphones?

    I have a two year old ipad2 and while the speakers work ok I can no longer get any sound through the headphones? If any one has any suggestions on how I can get sound to come out of the headphones I would be grateful.

    System Preferences --> Sound --> uncheck the mute button next to the Output volume (assuming it is set).  Or move the Output volume slider.

  • Populate a bind variable depending on the previous page.

    Hi,
    How do you populate a bind variable depending on the previous page (where the user is “branching from”)?
    Example.
    Page 10 has a report:
    Select Value1_Desc
    From Table
    Where Value1_ID = :P10_VALUE1_ID
    Page 5 can branch to page 10 and pass along the Value1_Desc from P5_VALUE1_ID into :P10_VALUE1_ID.
    Page 8 can also branch to page 10 with an item value based on the same field, passing Value1_ID from P8_VALUE1_ID into :P10_VALUE1_ID.
    Is there a way to make the report in page 10 accept the proper bind variable value depending on the previous page?
    Thanks
    Matt

    Matt,
    Page 5 can branch to page 10 and pass along the Value1_Desc from P5_VALUE1_ID into :P10_VALUE1_ID.Page 5 can branch to page 10 and pass along the VALUE1_ID from P5_VALUE1_ID into :P10_VALUE1_ID.
    The normal method is to have the branch pass the value in the URL, e.g., the branch from page 5 would specify:
    f?p=&APP_ID.:10:&SESSION.::NO::P10_VALUE1_ID:&P5_VALUE1_ID.
    Scott

  • How can I get my dad's iMac to produce typewriter sounds? He's visually impaired and it really helps him.

    How can I get my dad's iMac to produce typewriter sounds? He's visually impaired and it really helps him.

    You may wish to contact Matias (www.matias.ca). They sell a "Tactile Pro" USB board that is built like the old and wonderful "Nimitz" ADB keyboard of the 1990's. Original Tactile boards produced that typewriter "clack." Don't know if this feature has been continued from looking at their web site. Therefore you should contact them directly.
    Not cheap but probably the best KB on the market today.

  • How to produce 5.1 sound with logitech z5500 running on iMac 10.5.8 with sound blaster live 24 bit external.

    How to produce 5.1 sound with logitech z5500 running on iMac 10.5.8 with sound blaster live 24 bit external.

    First off your operating system version is obsolete and not being updated for security issues from Apple.
    OS X 10.4/10.5 need to upgrade, 10.6.8 ok still
    So at least you need to upgrade to 10.6.8, and that will make your machine secure again.
    However if you decide to upgrade further to 10.7 or 10.8, be forewarned your PPC based software of old is not going to work any longer. and your machine may require more RAM.
    Check here to see and download the free MacTracker to see your machines true RAM potential and specs. There are videos online at YouTube, it's really easy to install yourself.
    http://roaringapps.com/apps:table
    I checked out the z-5500, apprantly the optical out shouldn't be a problem, however the surround sound decoding is a problem as the Mac doesn't do it, just passes it through for decoding on a receiver via the optical out port if your Mac has one.
    Use the free MacTracker to find out or when you upgrade OS X, there is a option in the System Preferences > Sound.
    https://logitech-en-ap.custhelp.com/app/answers/detail/a_id/9693/section/trouble shoot/crid/409/lt_product_id/224/tabs/1,3,2,4,5/cl/sg,en
    The Sound Blaster Live 24 bit doesn't do Dolby 5.1 according to Wikipedia. More info on it is here.
    http://support.creative.com/Products/ProductDetails.aspx?catID=1&prodID=10702&pr odName=Live!%2024-bit%20External&CatName=Sound+Blaster
    If it's able to accept optical toslink cable from the Mac's toslink stereo mini port (if it has optical output) and then send that to the z-5500 via the analog speakers, then you should be fine.
    I'm afraid you'll have to do some more digging to get it to work.
    The only surround sound your going to get is by playing DVD movies that have it, then it can't have Dolby 5.1 as the Live 24 bit can't decode it.
    So do your research on what surround sound formats the Live 24 can decode, then compare your DVD collection for those movies that have it, then get it all connected and enable it on the movie preferences at the menu.
    Good Luck

  • How to generate a pwm whose duty cycle has to be varied depending on the frequency of the input trigger??

    Sir/madam,
    I am quite new to the Labview FPGA module. 
    I am currently working on an application where i have to generate a pwm to control the ON time duration . The pwm ON time depends on the frequency of an input signal.I want to retrieve the ON time value from a lookup table which contain the duty cycle values for the pwm at different frequencies of the input.This input also has to work as a trigger. The input is pulsed and the trigger has to generate the pwm at every rising edge. I am using a PCI 7831R-  RIO series. I am urgently in need of some help and i have hardly a  couple of weeks before i meet the deadline.
    I am trying hard to learn the basics from the shipping examples but not able to quite make my vi work. 
    Kindly lend a helping hand and i would be very grateful to anybody who can help. Thanks a lot in advance.
    Do ask in case of any clarifications required. I  think i have explained my problem quite well. 

    Hello Manu,
    You can refer 
    Developing a PWM Interface using LabVIEW FPGA or PWM Output with LabVIEW FPGA
    How this helps.
    Best Regards, 
    Hardik Asawa
    AE
    National Instruments  
    Message Edited by Hardik Asawa on 05-05-2010 12:46 AM

  • How to get audio on a nc4010 working on windows seven for now it only produces formed sound.

    Have gotten the original driver from the support site and installed it manualy wich it does and the sound does work. But I wont get the normal sound. It sounds deformed it cann't play any mp3 since they sound completly rotten, however youtube does it bearely clear but it does let the deformed sound hear every now and then (also depends on the movie!!)

    Did you try modifying an XP driver to see if that works?
    Try modifying one of these...
    http://catalog.update.microsoft.com/v7/site/search.aspx?q=ali%20audio
    Hopefully there is a way to make it work. I helped a person get W7 audio to work on an older PC than yours.
    See this post.  Different driver unfortunately, but the idea is the same as you know.
    http://h30434.www3.hp.com/t5/Notebook-PC-Sound-and-Audio/Conexant-Audio-Driver-for-Windows-7/td-p/73...
    Paul

  • How can I match sound quality between video clips and audio clips?

    Hi guys,
    First of all let me say that I enjoy using the latest Media Encoder. However, as a novice, I have two related problems.
    1.I am recording video to use with PowerPoint slides in Adobe Captivate. I am encoding the video with best quality FLV. This produces very good video,
          but with a degraded audio track, even though I had filtered the audio in soundbooth. The post encoding sounds like it did before Soundbooth corrections.
    2. Some of the video recording has been set cut into audio clips to be used as background narration behind PowerPoint. The logic behind this is: that if both are
          recorded at the same time, the voice quality should match.
    This is far from the outcome. I have tried MP3 for the audio which of course produced the best sound- but is entirely unlike the rest of the video. I have also encoded the audio with Windows Waveform preset figuring that since the soundbooth edit was a .wav file, that there should be a reasonable match. Wrong again!
    So, the audio quality of all clips is poor, and the difference between the encoded video clips, and the audio encoded clips spoils the otherwise professional result in Captivate.
    Please help, all of you experts.

    Thank you.
    OS Windows 7 x 64; 3.2 MHz; 2 TB; 12 GB Ram-9GB ram allocated to Adobe.
    My process is this:
    1. The whole video and audio narration material is shot in one continuous video sesseion.
    2. The microphone is only mono, but the camera is set to stereo. Noone can work out how to change the camera to mono.
    3. In Premiere Pro 5, I select render and replace in SoundBooth.
    4. In Soundbooth, I choose Add Multichannels.
    5. In Multichannels, I delete the unwanted noisy channel, and any other unused channels.
    6. With the remaining mono channel, I then select Export and Save As option, then Stereo.
    7. Next I edit the stereo channels as needed.
    8. The imported stereo won't automatically update in Premiere Pro, so in PPR I import the new edited stereo track.
    9. I test this track in PPR, to check that it is playing R & L channels. It is. OK.
    10 On the timeline, I proceed to cut apart this single stereo wavelength .
    11.These clips are saved as Video, or Audio subclips.
    12 From the video subclips, I export to Media Encoder, and choose either FLV4 match attributes (High Q). This I modify to custom 2 pass (Custom save).
         The summary says that this is saved to MP3 Stereo.
    13. I import this into Captivate 5, but the Video outcome is Left channel only. I have tested this on Media Player/Real Player where it is also L channel only.
    14. I export my Audio subclips to Media player, and select MP3 option and this summary also reports stereo. The Audio outcome is stereo, when played in any player and in Captivate 5.
    I cannot understand how a single, continuous track edited uniformly in Soundbooth to stereo, can produce different outcomes in Media player.
    I would so appreciate a solution to this problem, because, in the Captivate 5 e-learning production, the switch between stereo audio (behind PowerPoints), and l. channel video is distracting. Naturally, the l. channel only is a thin sound. It is as if it had never been edited in SoundBooth at all.

Maybe you are looking for