Click here to Skip to main content
15,917,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help in com wrapper Pin
BlackDice29-Apr-05 11:01
BlackDice29-Apr-05 11:01 
GeneralRe: help in com wrapper Pin
ThatsAlok29-Apr-05 19:50
ThatsAlok29-Apr-05 19:50 
GeneralAbout ADO Command object's prepared attribute Pin
Finix29-Apr-05 6:00
Finix29-Apr-05 6:00 
GeneralAdding Dialog to mdi mfc app Pin
os3omaha29-Apr-05 5:20
os3omaha29-Apr-05 5:20 
GeneralRe: Adding Dialog to mdi mfc app Pin
Wes Aday29-Apr-05 9:38
professionalWes Aday29-Apr-05 9:38 
GeneralRe: Adding Dialog to mdi mfc app Pin
Gary R. Wheeler30-Apr-05 3:11
Gary R. Wheeler30-Apr-05 3:11 
GeneralMake a sound with CSoundManager & CSound Pin
ilFrate29-Apr-05 4:56
ilFrate29-Apr-05 4:56 
GeneralRe: Make a sound with CSoundManager & CSound Pin
Franken29-Apr-05 11:16
Franken29-Apr-05 11:16 
the "tick" (or click) which you hear at the beginning of your sound is absolutely normal. If you listen carefully, you will also hear a click at the end of your sound eg. when playing a noise. The reason is, that your loudspeaker membrane goes from zero deflection abruptly to a hughe deflection or the other way around at the end of your sound. If you change the sound it is the same. You change the deflection very abruptly. This will always cause a click.
To prevent this effect, one usually "ramp" the signal (kind of fading). A cosine square ramp at the beginning and at the end of your signal will prevent this click (rise ramp:-pi/2 to 0; decay ramp: 0 to pi/2). 5ms ramp duration each should be enough. You can also use a linear rise/decay ramp of this duration. It is not as good as the cosine sqaure ramp but maybe it is a little bit easier to program.

Good luck Smile | :)
GeneralRe: Make a sound with CSoundManager & CSound Pin
ilFrate29-Apr-05 20:44
ilFrate29-Apr-05 20:44 
GeneralRe: Make a sound with CSoundManager & CSound Pin
Franken30-Apr-05 5:55
Franken30-Apr-05 5:55 
GeneralRe: Make a sound with CSoundManager & CSound Pin
ilFrate1-May-05 23:07
ilFrate1-May-05 23:07 
GeneralRe: Make a sound with CSoundManager & CSound Pin
Franken1-May-05 23:45
Franken1-May-05 23:45 
GeneralVisual C++ 2005 Express & PSDK Pin
Anonymous29-Apr-05 4:31
Anonymous29-Apr-05 4:31 
GeneralRe: Visual C++ 2005 Express & PSDK Pin
Chris Meech29-Apr-05 9:40
Chris Meech29-Apr-05 9:40 
GeneralRe: Visual C++ 2005 Express & PSDK Pin
Anonymous29-Apr-05 18:03
Anonymous29-Apr-05 18:03 
QuestionWhat's window form application? Will it replace MFC application? Pin
xufeisjtu29-Apr-05 2:50
xufeisjtu29-Apr-05 2:50 
AnswerRe: What's window form application? Will it replace MFC application? Pin
toxcct29-Apr-05 5:05
toxcct29-Apr-05 5:05 
GeneralVxD Pin
Neha.marwaha29-Apr-05 1:25
Neha.marwaha29-Apr-05 1:25 
QuestionGet system menu by API ? Pin
microsoftcertificate29-Apr-05 1:08
sussmicrosoftcertificate29-Apr-05 1:08 
GeneralPORT BLOCKING FOR WINDOWS 98 Pin
URagavSouth29-Apr-05 1:08
URagavSouth29-Apr-05 1:08 
GeneralRe: PORT BLOCKING FOR WINDOWS 98 Pin
Alexander M.,29-Apr-05 9:19
Alexander M.,29-Apr-05 9:19 
GeneralRe: PORT BLOCKING FOR WINDOWS 98 Pin
URagavSouth2-May-05 18:10
URagavSouth2-May-05 18:10 
GeneralGetting last write time of a FTP file Pin
ashtwin29-Apr-05 0:49
ashtwin29-Apr-05 0:49 
Generalpassword Echo Pin
29-Apr-05 0:40
suss29-Apr-05 0:40 
GeneralRe: password Echo Pin
22491729-Apr-05 0:48
22491729-Apr-05 0:48 

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.