Click here to Skip to main content
16,016,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsegmenting a wave file based on short pauses Pin
N Vamshi Krishna12-Jul-09 20:23
N Vamshi Krishna12-Jul-09 20:23 
AnswerRe: segmenting a wave file based on short pauses Pin
killabyte12-Jul-09 21:28
killabyte12-Jul-09 21:28 
GeneralRe: segmenting a wave file based on short pauses Pin
vamshi_krishna12-Jul-09 22:53
vamshi_krishna12-Jul-09 22:53 
GeneralRe: segmenting a wave file based on short pauses Pin
vamshi_krishna12-Jul-09 23:17
vamshi_krishna12-Jul-09 23:17 
GeneralRe: segmenting a wave file based on short pauses Pin
chandu00412-Jul-09 23:25
chandu00412-Jul-09 23:25 
GeneralRe: segmenting a wave file based on short pauses Pin
killabyte12-Jul-09 23:39
killabyte12-Jul-09 23:39 
GeneralRe: segmenting a wave file based on short pauses Pin
chandu00412-Jul-09 23:46
chandu00412-Jul-09 23:46 
GeneralRe: segmenting a wave file based on short pauses Pin
killabyte13-Jul-09 0:15
killabyte13-Jul-09 0:15 
ok it sounds like your reading in the whole file so doing an FFT on this wont enable you to determine a position of the silence. (because u have no time reference anymore, but if your buffer size was small enough chunk then you could).

if your dealing with PCM data ( i think you 3 are the same person?) then you could just parse through the array looking for a series of zero value +/- a tolerance ,remembering that zero might be different according to your encoding IE. if the data type is signed or unsigned the zero value or centre point will be different (8bit signed zero pt = 0, 8bit unsigned zero point = 128).
GeneralRe: segmenting a wave file based on short pauses Pin
chandu00413-Jul-09 0:21
chandu00413-Jul-09 0:21 
GeneralRe: segmenting a wave file based on short pauses Pin
killabyte13-Jul-09 0:27
killabyte13-Jul-09 0:27 
GeneralRe: segmenting a wave file based on short pauses Pin
chandu00413-Jul-09 0:55
chandu00413-Jul-09 0:55 
GeneralRe: segmenting a wave file based on short pauses Pin
chandu00413-Jul-09 1:34
chandu00413-Jul-09 1:34 
Generalsegmenting a wave file based on short pauses Pin
chandu00413-Jul-09 1:37
chandu00413-Jul-09 1:37 
GeneralRe: segmenting a wave file based on short pauses Pin
killabyte13-Jul-09 3:28
killabyte13-Jul-09 3:28 
GeneralRe: segmenting a wave file based on short pauses Pin
chandu00413-Jul-09 18:08
chandu00413-Jul-09 18:08 
QuestionEsc Key in a dialog based application Pin
Rakesh512-Jul-09 20:07
Rakesh512-Jul-09 20:07 
AnswerRe: Esc Key in a dialog based application Pin
_AnsHUMAN_ 12-Jul-09 20:12
_AnsHUMAN_ 12-Jul-09 20:12 
AnswerRe: Esc Key in a dialog based application Pin
Chandrasekharan P12-Jul-09 20:16
Chandrasekharan P12-Jul-09 20:16 
GeneralRe: Esc Key in a dialog based application Pin
Rajesh R Subramanian12-Jul-09 21:49
professionalRajesh R Subramanian12-Jul-09 21:49 
Questionvery faster method than getpixel and setpixel Pin
Mortezai12-Jul-09 19:59
Mortezai12-Jul-09 19:59 
AnswerRe: very faster method than getpixel and setpixel Pin
Chandrasekharan P12-Jul-09 20:01
Chandrasekharan P12-Jul-09 20:01 
AnswerRe: very faster method than getpixel and setpixel Pin
CPallini12-Jul-09 21:47
mveCPallini12-Jul-09 21:47 
Questionhow can this program work correctly Pin
carter200012-Jul-09 19:37
carter200012-Jul-09 19:37 
AnswerRe: how can this program work correctly Pin
Stuart Dootson12-Jul-09 20:07
professionalStuart Dootson12-Jul-09 20:07 
GeneralRe: how can this program work correctly Pin
carter200012-Jul-09 20:23
carter200012-Jul-09 20:23 

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.