Click here to Skip to main content
15,923,051 members
Home / Discussions / C#
   

C#

 
Generaladvanced how-to question from a newbie. Pin
rusmo7-Feb-03 3:17
rusmo7-Feb-03 3:17 
GeneralRe: advanced how-to question from a newbie. Pin
rusmo277-Feb-03 4:53
rusmo277-Feb-03 4:53 
GeneralOverriding MouseWheel Pin
jpwkeeper7-Feb-03 0:56
jpwkeeper7-Feb-03 0:56 
GeneralRe: Overriding MouseWheel Pin
Jeff J7-Feb-03 8:43
Jeff J7-Feb-03 8:43 
GeneralSkinning Pin
daboss6-Feb-03 23:46
daboss6-Feb-03 23:46 
QuestionChecking files on server via http? Pin
lustuyck6-Feb-03 23:44
lustuyck6-Feb-03 23:44 
AnswerRe: Checking files on server via http? Pin
leppie7-Feb-03 6:38
leppie7-Feb-03 6:38 
GeneralPure Tones - Sound generation from scratch. Pin
mkearl6-Feb-03 23:42
mkearl6-Feb-03 23:42 
I am trying to find some code examples or source code that would show me how to create a pure tone in C# and assign it to a DirectSound buffer so that I can play it.

I have searched on Google for tone generators and sine wave generation etc but there is nothing that shows me how to create the tone from scratch. DirectSound allows me to read, create, and play a wav or other media formated file by creating a DirectSound device and playing it in a buffer, but I can't find anything on creating a tone from scratch.

I need to be able to create a tone from scratch at a certian frequency.. play it for a specific time be able to control the panning from right to left and control the volume. I am pretty sure I know how to do all of the the manipulation once I have the tone playing. I just need help with the actual generation.

Any ideas or help would be appreciated.

Mike.
GeneralRe: Pure Tones - Sound generation from scratch. Pin
Richard Deeming7-Feb-03 0:16
mveRichard Deeming7-Feb-03 0:16 
GeneralGuid and String Pin
devvvy6-Feb-03 23:30
devvvy6-Feb-03 23:30 
GeneralRe: Guid and String Pin
StephanBoome7-Feb-03 0:51
StephanBoome7-Feb-03 0:51 
GeneralRe: Guid and String Pin
devvvy7-Feb-03 0:53
devvvy7-Feb-03 0:53 
Questionpossibly a question without a awnser ? Pin
jtmtv186-Feb-03 23:11
jtmtv186-Feb-03 23:11 
AnswerRe: possibly a question without a awnser ? Pin
Philip Fitzsimons6-Feb-03 23:37
Philip Fitzsimons6-Feb-03 23:37 
GeneralRe: possibly a question without a awnser ? Pin
leppie7-Feb-03 11:09
leppie7-Feb-03 11:09 
QuestionStructure array is the member another structure? Pin
JuhaKa6-Feb-03 23:03
JuhaKa6-Feb-03 23:03 
AnswerRe: Structure array is the member another structure? Pin
leppie7-Feb-03 11:19
leppie7-Feb-03 11:19 
GeneralException creating a control Pin
chito6-Feb-03 16:03
chito6-Feb-03 16:03 
GeneralRe: Exception creating a control Pin
James T. Johnson6-Feb-03 18:42
James T. Johnson6-Feb-03 18:42 
QuestionHow can I make Command at runtime? Pin
bania6-Feb-03 15:40
bania6-Feb-03 15:40 
AnswerRe: How can I make Command at runtime? Pin
leppie6-Feb-03 21:53
leppie6-Feb-03 21:53 
GeneralThanks a lot!! Pin
bania7-Feb-03 3:32
bania7-Feb-03 3:32 
Questionassociate an object with datagrid's row ? Pin
Paresh Gheewala6-Feb-03 14:11
Paresh Gheewala6-Feb-03 14:11 
QuestionDrawString Diagonally on Image object? Pin
wkoch6-Feb-03 10:23
wkoch6-Feb-03 10:23 
AnswerRe: DrawString Diagonally on Image object? Pin
Paresh Gheewala6-Feb-03 10:43
Paresh Gheewala6-Feb-03 10:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.