Results 1 to 3 of 3
  1. #1
    Morfmor is offline Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Default Java ME beep(frequency, time)

    After days of googling, I still havn't found a way to play a given frequency for a given time.
    I'm looking for something similar to playTone(note, duration, vol) - I just wants to be able to play a frequency and not necesarily a tone.

    Is this possible?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,457
    Rep Power
    25

    Default

    Yes, I would think that if you can play a tone at any specific frequency, then you could choose the frequency to play based on the current time.
    What is the difference between a tone and a frequency?

    There was a recent very long thread about making sounds by Willemjav on the Advanced thread. Go ask him how to make a sound.

  3. #3
    Morfmor is offline Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Default

    playTone only lets you play certain frequency's (tones). You can choose from 0-127 (or something like that).

    What I would like to do, is to choose a frequency (not necesarily a tone) and then play that for a certain time. I'm more or less trying to create high-frequency nosie.

    I'll have a look at Willemjav's thread....

Similar Threads

  1. Beep
    By JavaLerner in forum New To Java
    Replies: 3
    Last Post: 07-16-2008, 10:17 AM
  2. Frequency Counter
    By justlearning in forum New To Java
    Replies: 0
    Last Post: 05-07-2008, 10:50 PM
  3. [SOLVED] BST Frequency Counter
    By theonly in forum Advanced Java
    Replies: 7
    Last Post: 04-29-2008, 11:33 PM
  4. How to beep every 5 minutes in Java
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-16-2008, 10:40 PM
  5. Time and Date in Java
    By java_fun2007 in forum New To Java
    Replies: 4
    Last Post: 11-06-2007, 07:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •