473,569 Members | 2,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pitch control for a sound player?

Hi everyone,
I have this small problem and I wonder if someone could put me in some
direction.
I am trying to build a simple sound generator, mainly for playing the
sound of a car's engine.
I found this wav file with a sound of a car and I need some way to be
able to play it and to control it's pitch. The pitch is important in
order to get the changing RPM (or speed) effect.
I managed to play it with the regular Audio object that is given with
the : Microsoft.Direc tX.AudioVideoPl ayback namespace. But this object
doesn't enable (as far as I saw...) any manipulation on the pitch.

Did someone found a way to do it in .NET ???

Thanks in advance,
Tal

Jul 21 '05 #1
1 2491
I can't help too much but try this link http://www.bscgames.com/dx_sound.asp.
Pitch is also known as "Frequency" which may help your google results.

"ta******@hotma il.com" wrote:
Hi everyone,
I have this small problem and I wonder if someone could put me in some
direction.
I am trying to build a simple sound generator, mainly for playing the
sound of a car's engine.
I found this wav file with a sound of a car and I need some way to be
able to play it and to control it's pitch. The pitch is important in
order to get the changing RPM (or speed) effect.
I managed to play it with the regular Audio object that is given with
the : Microsoft.Direc tX.AudioVideoPl ayback namespace. But this object
doesn't enable (as far as I saw...) any manipulation on the pitch.

Did someone found a way to do it in .NET ???

Thanks in advance,
Tal

Jul 21 '05 #2

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

Similar topics

0
1384
by: Justin Shaw | last post by:
I am using the tkSnack library to estimate the frequency from a sound file. The pitch seems to drop down an octave at 400 Hertz. For example A~440 Hertz comes out at 220 Hertz. When I use the maxpitch and minpitch options to limit the response to say 380 - 460 the result is all zeros. Any ideas on how I can estimate the pitch of a sound up...
22
2517
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play the video from a DVD but not the audio. He had been searching for an answer for days on support.microsoft.com but found none. I suggested Google...
2
3037
by: FE | last post by:
Hi, I need to create a program that will connect a media stream (a server on the internet - Windows Media format) and then generate an error when : * The stream is ok but there is no sound (for example when someone disconnected the mic) * The stream is ok but there is no more images In these to cases, I imagine the encoding server is...
1
4488
by: Vinay Kodam | last post by:
Is there any OCX component or function or source code that I can use to convert sound into db or pitch? In another word, if I talk through Microphone, it should tell me what my db or pitch is? Thanks and Regards Vinay
1
449
by: talsharf | last post by:
Hi everyone, I have this small problem and I wonder if someone could put me in some direction. I am trying to build a simple sound generator, mainly for playing the sound of a car's engine. I found this wav file with a sound of a car and I need some way to be able to play it and to control it's pitch. The pitch is important in order to get...
3
2659
by: Sree | last post by:
hello, I am blocked at a point in my code where i had to play a music file using a C program. Can i open and control windows media player using a C program? if i can, please help me how to do this. if i can't, tell me if there are any other ways of playing (for eg., mp3) sound file using a C program.
2
4755
by: lazzypink | last post by:
hi guys! i having a problem in my project which is create a media player and let the user choose the sound card for audio output. Let say i have 2 sound card in my computer, i want to select the sound card to play an audio file. i'm using C# window media player com component. eg. axWindowsMediaPlayer1. your kindly help much much appreciated....
8
14928
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to cut and paste code that MSDN recommends for playing a simple wav file from inside an embedded file, like presumeably the 'resources' file .resx is. ...
0
1942
by: djpaul | last post by:
Hello, Does anybody knows a good api or dll to use within c#? I am creating a jingle program and also for music where i need a good pitch control on it. I tried the directShiow but when i pull down (or up) the trackbar it stammers. Like he has no buffer or something like that. Or can i set an buffer for the DirectShow to get rid of this...
0
7701
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7615
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
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 we have to send another system
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.