473,465 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to create a tone of a given frequency

I need to create tones simulating the keys of a piano.
1. Please how does the sourcecode look like for a tone generator using
single sine wave?
2. How does the sourcecode look like for a tone generator including harmonics?
(Direct Sound or any other Microsoft technology)
Thank you very much
Oct 2 '08 #1
1 5021
Conny,

I know very few from sounds, however DirectX has a broad scala for solutions
about that.

http://www.microsoft.com/downloads/d...displaylang=en

Cor

"Conny" <Co***@discussions.microsoft.comschreef in bericht
news:A6**********************************@microsof t.com...
>I need to create tones simulating the keys of a piano.
1. Please how does the sourcecode look like for a tone generator using
single sine wave?
2. How does the sourcecode look like for a tone generator including
harmonics?
(Direct Sound or any other Microsoft technology)
Thank you very much
Oct 2 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jinoy | last post by:
how can i detect the dtmf tone using the mscomm control. pls send me the code of it.
9
by: christopher diggins | last post by:
I would like to survey how widespread the usage of smart pointers in C++ code is today. Any anecdotal experience about the frequency of usage of smart pointer for dynamic allocation in your own...
4
by: seo gang ho | last post by:
how to make tone generator.. set frequency and amplitude.. show me the example.. thank you for read..
19
by: jason_box | last post by:
I'm alittle new at C and I'm trying to write a simple program that will record the frequency of words and just print it out. It is suppose to take stdin and I heard it's only a few lines but I'm...
5
by: johnb41 | last post by:
Does anyone know how can i create a sound in vb.net that will be a specific frequency? I can't find anything online that helps. Thanks very much for your help! John
7
by: Udhay | last post by:
How to get the frequency of an audio file and how to separate the low and high frequency of an audio file
11
by: fireman87 | last post by:
Hi, Can anyone tell me how I can generate a tone in VB6 I need to be able to set the frequency and duration in ms it also needs to go to the line out or speaker out of the sound card. I have...
1
by: LA1 | last post by:
I have telecomuter that logs into a mainframe to use a DB2 database. The client uses SPUFI to edit the database and make changes. The client has received from us a new notebook. Both his old and...
2
by: Tim_Mac | last post by:
hi, i'm trying to create a WAV file using c# that will contain a set of beep tones, which are only known at run time. It is a bit like morse code except that each tone will correspond to an...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.