How to play a tone in FPGA

I am trying to play a tone(either a 4kHz or 7kHz) in a FPGA vi in Labview 2010.  Below is the logic that I am currently using, however, I hear no tone when running the vi.  Does anyone know why this is not working or have any other ideas to use different logic?
Attachments:
sound output FPGA.png ‏47 KB

Hi joes51385, 
First of all, what kind of a speaker do you have connected to your analog output. This could be a problem with the speaker. Also, your logic looks correct, but why are you multiplying the sine wave by .3? Are you using the full-scale amplitude for the sine wave amplitude? Your sine wave amplitude may be too small, which could cause you not to hear the sound. A screenshot of the sine wave setup window would be helpful. Also, it may be more convenient to use frequency values of 0.000175 (7 kHz) and 0.0001 (4Hz). 

Similar Messages

  • How to play stereo tones

    Hello!
    I've recently read something about brainwave generators (for those interested, take a look at http://www.bwgen.com/theory.htm), and i would like to implement them for mobile devices.
    What i need to do is play a sound at a certain frequence on the audio left channel and a sound at a different frequence on the right channel.
    Can this be done?
    Thank you.

    Check the audio settings in Windows and dont forget in Realtek HD audio manager. You can find it in control panel.
    I think your microphone is set to mute so check this.

  • Hello. My iPhone 4s when recieving message plays the tone more than once. How to stop that?

    It plays the tone more than once and it's not playing the tone fully. It plays like it is "stuck". Like CDs play when they are scratched. How can I stop that?

    Pause and off are the same thing.   This is how you stop the music.
    iPhone User Guide (For iOS 5.0 Software)

  • No HDMI Audio, Failed to Play Test Tone, Can't Change Default Playback Device

    Hello, I'm experiencing some real trouble with my HP Pavilion dv6-2160us (with the i3-330M, no dedicated graphics) Windows 7-64 bit, SP1 PC, and I would greatly appreciate some assistance.
    I've created a new thread because, despite the fact that many other people have experienced a problem similar to this and have posted what worked for them, nothing has worked for me.
    The Problem(s):
    My main problem is that I cannot get any audio to play from my PC to my HDMI HDTV.
    When I plug my HDMI cable into my PC and TV, the TV is recognized in Playback Devices, but nothing can play to it.
    When I try to test the TV in playback devices, I get a "Failed to play test tone" error.
    Additionally, I'd like to mention some other odd behavior that I think may be a part of the main problem.
    In Playback Devices, I cannot change anything. I can't disable or enable a device, I can't set default playback or communication devices, and I can't save changes inside device properties. Every time I try to change something, like the default playback device, nothing happens or the changes are immediately reversed.
    The Question:
    How can I get audio to play over HDMI on my PC (It's not a problem with the TV, my other HP machines play audio over HDMI to it just fine.)?
    What I've Tried:
    I have tried:
    Changing the default playback devices, which I'm unable to do
    Running the Windows 7 Audio Playback troubleshooters from within a clean boot state
    Uninstalling and reinstalling the Intel(R) Display Audio driver
    Uninstalling and reinstalling the IDT High Definition Audio CODEC
    Uninstalling the IDT PC Audio program from Programs and Features
    Disabling the IDT High Definition Audio CODEC
    Nothing has worked.
    The drivers I have are the latest issued by HP
    How can I get this working? I would really appreciate some assistance.
    I'm at the point where I'm ready to try pretty technically-involved suggestions, so, please feel free to post those.
    Your expertise is greatly appreciated.
    Thanks.

    Hi @dskrobow,
    Welcome to the HP Forums!
    It is a terrific place to find answers and suggestions!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I understand that you are connecting a HDTV but you do not have any audio.
    Here are two links that may help.
    HP Notebook PCs - Using Two or More Video Displays in Windows 7
    HP Notebook PCs - Troubleshooting HDMI Display and Sound Issues.
    Have you ran the  HP Support Assistant ?
    Have you ran the Windows troubleshooter?
    If you appreciate my responding please click the kudos button below to say thanks.
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • "Failed to play test tone&qu

    Ever since I installed the new drivers I get this error " Failed to play test tone"? Has anybody experienced this problem. Please help me get my older drivers installed. Everytime I try to uninstall the beta drivers and restart, DEVMgr instantly reinstalls the drivers. THANKS

    I don't know how to solve the test tone error, but to prevent device manager from installing the same drivers again, do this:
    After uninstalling all Creative products via the Control Panel -
    go into Device Manager
    Find your Sound Blaster entry - right click -> uninstall -> check box to delete driver software -> OK -> restart computer.
    Those drivers should now be gone from your computer; your OS my install default generic audio drivers, but the Creative ones should be gone.

  • IPhone not playing alert tone after switching off silent mode

    Hi I have been having an issue ever since getting my iPhone 6 plus where when I take the phone off silent mode the alert tone does not play when I receive a SMS, iMessage etc. The phone vibrates but does not sound the alert tone, all other sounds work like lock sound, keyboard clicks and ring tone.
    I have updated to the latest IOS 8.1.3 but the issue still seems to be happening.
    I just had a chance now to troubleshoot and noticed that this has something to do with the volume control that you pull up from the bottom of the screen.
    with the volume set to the minimum setting the alert tone does not play but it does play with the volume set mid-way or maximum. Depending on the volume setting depends how loud the alert tone plays.
    I can reproduce the issue with these steps:
    turn volume to minimum using the pull up menu at the bottom of the screen
    set phone to silent using the switch on the left side of the iPhone
    lock the screen
    take the phone off silent mode
    receive an SMS and the alert will not play.
    has anyone else come across this issue? i never had this problem with my iPhone 5 and i always had the volume set to a minimum.

    Hi Brenden_l,
    It sounds like you are turning down the volume for alerts with the Control Center volume control, which is like turning them down with the side buttons.
    Control Center - iPhone
    Control Center gives you instant access to the camera, calculator, AirPlay, and other handy features. You can also adjust the brightness, lock the screen in portrait orientation, turn wireless services on or off, and turn on AirDrop. See AirDrop.
    Open Control Center.  Swipe up from the bottom edge of any screen (even the Lock screen).
    You may want to change the Sound Setting to not have ringer and alert volume change with buttons.
    Volume controls - iPhone
    Lock the ringer and alert volumes.  Go to Settings > Sounds and turn off “Change with Buttons.”
    Take care,
    Nubz

  • What is behind message "Your SIM played a tone"?

    Hello everybody!
    I have a message few times a day with text "Your SIM played a tone" and two options (Cancel, Accept). Nothing happens for any option I choose.
    Could you please clarify me what is it about? and how I can switch it off?
    thanks in advance

    У тебя Мегафон?
    Идешь: Settings > Phone > SIM Applications > Калейдоскоп > Настройки > Вещание и ставишь + (нажимаешь) на "выключить"
    и всё =))

  • Your SIM Played a Tone

    Hello everybody!
    I have a message few times a day with text "Your SIM played a tone" and two options (Cancel, Accept). Nothing happens for any option I choose.
    Could you please clarify me what is it about? and how I can switch it off?
    thanks in advance

    Dear ios7 users,
    I have found a fix for this.
    Go to settings-->Privacy---->Location services-----> scroll down for System Services and turn off Location-Based iAds.
    This will definitely work.
    Regards,
    Prashanth.N

  • Instant messaging not showing on main display of phone or playing alert tone.

         I am running CUCM 8.5.1 with CUPS 8.5.4.  I have configured three 7965 phones for testing. I have installed the messaging service and can send IMs from phone to phone, phone to one of the clients or client to phones. I have set them all to play a tone upon receipt. One phone will play the tone and display the message on the main display. The other two pones only display the message within the phone messenger service under the messages selection with no tone. I have tried to do my do diligence in checking my settings and they appear all be the same configs between all the phones but yet i can not get the other phones to display the message on the main screen.
    Any suggestions as to what might be causing this or how to resolve would be appreciated. Can provide additional info on request to further clarify.
    Thanks,           

    Alll phones are running the sccp45.9-2-3s.

  • How to play multiple CDs from Music list

    This may sound really dumb, but I can't figure out how to play multiple albums in the latest iTunes.  I have to drag them over to a Playlist then check all the individual songs.  Is there a way to gang up multiple albums and get them onto Up Next by just selecting from Music?  Sometimes only the first song will play when I double click an album.  This would be similar to playing three CDs from your home stereo, for instance.  Can this simple task be performed from ITunes, please??

    Basically right click the artits in that left column and select Add to Up Next.
    You can also select individual albums by right clicking the album cover a little to the right and choosing the same option.

  • New update how to play music on apple tv

    I just updated my iPhone 4 and now can't figure out how to play music or videos on my apple tv

    iPhone 4 can AirPlay audio just fine, I'd forgotten that it can't do screen mirroring.  It's been so long since I had my iPhone 4 but I'm certain that some apps will allow video output over AirPlay (which is not the same as screen mirroring).  The stock iOS Photo and Video apps could stream pictures and video to ATV, but true mirroring of everything you see on the screen is not supported on iPhone 4.  It isn't iOS 7 that took away this capability, it is a capability that has always been limited with iPhone 4 (and earlier).
    If you are sure that your old 3G can output video over AirPlay, which specific apps?  Those same apps should work on the iPhone 4, even with iOS 7.

  • Tip: How to play a playlist one song at a time from iTunes on a computer using the checkbox property

    I would like to share a tip about how to play a playlist one song at a time from iTunes on a computer. The tip I am sharing is simple, but I was not able to find it in the iTunes Help. After searching on the internet I found the idea for this solution in a discussion in which this was presented as a frustrating problem rather than a desired behavior. This tip relies on the checkbox for each song in iTunes. For a song in a playlist to play automatically, the checkbox must be checked. To keep a song from playing in a playlist, simply uncheck it. Therefore, to keep all songs from playing automatically in a playlist, simply uncheck them all. Now you have a list of desired songs in a desired order but none of them will play automatically. You can play each one when you want to play it without having to search for the next song and without having to be at the computer to stop the playing after each song.
    Step by step:
    1. Create the playlist.
    2. Uncheck all of the check boxes in the playlist (In iTunes for Windows, ctrl click one of the check marks to uncheck all of the checkboxes at once) 
    3. Now double click (or select and press spacebar) a song to play it. It will stop when finished because there is no other song checked to be played next.
    4. If you want to change back to normal sequential play, ctrl click one of the check marks again to change all of the checkboxes back to the checked status.
    Based on some discussions I found while looking for a solution (including at least one in which the questioner got bashed about why anybody would ever want to do such a thing and in which the proposed solutions were things like creating one song playlists or simply press stop after each song), some may not understand why this would ever be desired.  Here's why I wanted to do it:
    I was responsible for playing a series of songs at a dance. I needed to stop after each song to have a transition time to allow me to introduce the next song and to give new dancers time to get onto the floor and other dancers an opportunity to leave the floor. Furthermore, I was also dancing and didn't want to have to spend time searching for the next song (which is why I wanted to create a playlist in advance with just the songs I wanted to play in the order I wanted to play them) and I wanted each song to stop after playing since I was not at the computer to press stop.
    I hope this will help others who have a similar need.

    Thank you! I put some self help hypnosis tracks to listen to on my iPod. I did not want to go to the next track automatically, I wanted to listen to them individually, one at a time. (If I fell asleep, I did not want to 'wake up' in the middle of a different track.) Your information helps me understand that I need to re-load this playlist onto my iPod from my  Mac computer, only first, I need to UNCHECK the boxes in front of each track so the iPod will STOP each time after playing the selected track. It is too bad that so many functions are not availabvle within the iPod, but that is probably why they can make it so compact.

  • Sound has stopped working; failed to play test tone; format not supported by the device (Vista x64 Ultimate)

    I can no longer hear any sound from my speakers/headphones. This happened suddenly yesterday without any hardware changes or noticeable software updates.
    -- The sound is not muted and the volume is set to full.
    -- In the device manager, my SigmaTel HD Audio device has no warnings or errors.
    -- I can't find any related messages in the Event Viewer.
    -- The primary audio device is selected as the default for playback. The mixer shows my media player as being mixed properly to the device.
    -- In the sound control panel, under Playback > Speakers/Headphones > Properties > Advanced:
     - I get the error message "failed to play test tone" when I try to Test my Default Format (dvd quality)
     - I get the error message "format not supported by the device" when I try to change my Default Format
    -- Note that unlike others who have similar problems, I'm not joined to a domain
    I've tried
    *  rebooting
    *  uninstalling and reinstalling the driver for the sound card
    *  "disable all enhancements" in the sound control panel
    (http://social.msdn.microsoft.com/forums/en-US/windowspro-audiodevelopment/thread/b09e43ba-3ffa-4a45-9593-8eee686f124a/)
    *  looking in the registry for some registry key (not found)
    (http://www.consumingexperience.com/2009/04/failed-to-play-test-tone-no-sound-on.html)
    Computer details
    Dell XPS M1530
    Vista Ultimate x64 SP1 with current updates
    SigmaTel driver version 6.10.0.5866
    **Update**
    I followed the following steps:
        * using regedit, go to HKLM\System\CurrentControlSet\Control\WMI\AutoLogger\Audio and change the “Start” value from 0 to 1.
        * Reboot the machine
        * Try to play an audio file.
        * Post a link to the generated log file which you can find in: %WINDIR%\system32\LogFiles\Audio
    but don't know where to post the resulting AudioSrv.Evm.001 file. It's also not human readable and I can't find what utility parses it for reading.
    **Another update**
    Still can't read the EVM. logparser 2.2 can't parse it.
    Found this thread which interested me but isn't applicable to x64 (I think):
    http://social.msdn.microsoft.com/Forums/en-US/mediafoundationdevelopment/thread/94cdc662-e974-43de-8feb-6eb156924347
    **YAU**
    Dell confirms it's an OS issue after troubleshooting with me for a couple of hours (wow)
    Is there a way to look at this EVM file _without_ installing the Windows Driver Kit??

    Hi,
    Thanks for posting in Microsoft TechNet Windows Vista Forum.
    Upon your description, I see that you have done a lot of research and tests. Unfortunately, none of these troubleshooting works.
    Based on my experience, this issue related to "failed to play test tone" can be related to several reasons. It also includes hardware defect. I am confusing why Dell confirms that the issue is related to Operating System. Could you let me know what operation Dell had troubleshot with you?
    Meanwhile, here I just provide more troubleshooting except what you performed. If it doesn't work, I may also need to recommend that you contact Dell for support.
    1. Microsoft has released a Hotfix to troubleshoot related to "Failed to play test tone".
    http://support.microsoft.com/kb/930883
    2. Make sure that these services are started.
    Windows Audio
    Multimedia Class Scheduler
    Remote Procedure Call
    Windows Audio Endpoint Builder
    3. I noticed that this issue occurred not long ago, I may need to suggest that you perform a System Restore to the previous restore point when the computer without any problem.
    System Restore
    ==============
    1)     Please click on Start and choose All Programs, Accessories, System Tools, and then Windows Backup.
    2)     Click Restore on the left pane.
    3)     Choose Basic Restore.
    4)     Follow the wizard and click Next.
    5)     If you would like to restore everything in the backup, we can check the box “Restore everything in this backup” on the top of the window.
    6)     We can also browse and choose certain files and folders to restore. Then, click Next.
    7)     Then choose the folder to save the recovered files and click Next.
    8)     When we see a “Restore is complete!” message, click Finish.
    Meanwhile, as I know, I'm afraid that there is no other way to look at EVM file except Windows Driver Kit. Maybe there are some third-party software that out of my mind can look at EVM files, you may need to perform more research on Internet.
    Hope this helps. Thanks.

  • I'd like to know how to play a sequence of podcasts. Does anybody know?

    I'd like to know how to play a sequence of podcasts?
    Finishing to hear a podcast, it comes back to main menu! Why can it play all the contents in sequence, like music?

    Hold down the mute button on the steering wheel until you hear,"Ready" and then say "Voice". That will bring up Siri.

  • How to play live streaming in windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight app. In my I want to show live streaming youtube channel , I think it is not possible, 
    Actually that youtube channel is a television channel , I want to stream that live tv in my app.(I tried to load youtube channel in webbrowser in iframe tag but it is not opening)
    Anybody help me how to play live tv or live streaming in my app,
    Thanks..
    Suresh.M

    Hello,
    You will likely need to write a custom
    MediaStreamSource that can access the media stream and parse it. Windows Phone supports h.264 natively and as long as the site serves up a media stream that contains h.264 frames you can parse it and have our built in decoder decode and display it. You
    will need to have intimate knowledge of the streaming protocol used by the website that you are trying to play. You must also make sure that the website is not using protected content. IANAL so I would recommend that you have your local law professional
    (lawyer) review the licensing of the website that you are attempting to connect to and stream from before continuing your development. Your lawyer can make sure make sure their licensing allows you to do this.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

Maybe you are looking for