NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
November 25, 2017, 09:01:57 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
The most important medicine is tender love and care. ..."Mother Teresa(1910-1997, Roman Catholic Missionary, 1979 Nobel Peace Prize)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: How to play sound with given frequency: beep(530Hz, 800ms)  (Read 8185 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fred Chuit
Newbie
*
Offline Offline

Posts: 18



«
Embed this message
on: January 19, 2009, 07:57:18 pm » posted from:Meppel,Drenthe,Netherlands

Dear EJS-users,

I am looking for a way to play a sound with given frequency and time.
Something like: Beep(500Hz,1000ms).

Is something like this possible in EJS?

Already thanks for any help of advice.
Regards,
Fred
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #1 on: January 19, 2009, 08:38:45 pm »

I do not think EJS has build in element for sound to play at particular frequency.
But EJS is a code generator: It means that you can add any java library into ejs.
So find a library that can do the things you want and add it to EJS library.
And you can add code to use functions available in the library.
Logged
Pages: [1]   Go Up
  Print  
The most important medicine is tender love and care. ..."Mother Teresa(1910-1997, Roman Catholic Missionary, 1979 Nobel Peace Prize)"
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
A PROG WHICH CAN PLAY SOUND FILES IN SEQUENCE LILE WINAMP
Misc
rupesh_ucer@sify.com 0 19229 Last post March 30, 2006, 11:44:40 am
by rupesh_ucer@sify.com
It is fun to play with prism. (light trace and intensity due to refraction)
Optics
Fu-Kwun Hwang 2 29131 Last post July 25, 2012, 08:23:38 am
by Fu-Kwun Hwang
Superposition of two waves (same frequency, different amplitude, phase/dir )
Wave and Fluid
Fu-Kwun Hwang 1 24227 Last post October 23, 2017, 08:29:35 am
by Jocafis
Suposition of Two Waves (with different phases,same amplitude,frequency)
Wave and Fluid
Fu-Kwun Hwang 0 13938 Last post December 22, 2008, 09:56:12 am
by Fu-Kwun Hwang
EJS version of Fourier Synthesis (You can hear the sound,too!)
wave and fluid
ahmedelshfie 6 10482 Last post September 24, 2010, 08:44:25 pm
by ahmedelshfie
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.055 seconds with 22 queries.since 2011/06/15