Click here to Skip to main content
15,910,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help controlling columns in datagrid Pin
Dave Kreskowiak14-Feb-05 4:53
mveDave Kreskowiak14-Feb-05 4:53 
GeneralRe: Help controlling columns in datagrid Pin
Gaz@UK14-Feb-05 21:38
Gaz@UK14-Feb-05 21:38 
GeneralGet Top 10 from a search engine Pin
Mohsen Saad12-Feb-05 7:37
Mohsen Saad12-Feb-05 7:37 
GeneralRe: Get Top 10 from a search engine Pin
Dave Kreskowiak13-Feb-05 5:52
mveDave Kreskowiak13-Feb-05 5:52 
GeneralRe: Get Top 10 from a search engine Pin
Mohsen Saad13-Feb-05 11:57
Mohsen Saad13-Feb-05 11:57 
GeneralRe: Get Top 10 from a search engine Pin
Dave Kreskowiak13-Feb-05 16:59
mveDave Kreskowiak13-Feb-05 16:59 
Generalconcatenating wav files Pin
gilliver12-Feb-05 5:43
gilliver12-Feb-05 5:43 
GeneralRe: concatenating wav files Pin
Dave Kreskowiak13-Feb-05 17:16
mveDave Kreskowiak13-Feb-05 17:16 
If only it was so easy as copying files together. Unfortunately, it's not. The header of the .WAV file stores information such as bit rate, encoding, channel format, data length, ... This information is not expected in the middle of a .WAV file and is not interpreted as a new .WAV and played, as you've noticed.

You have a couple of problems. First, joining two .WAV files together means you have to read both files, determine that they share the exact same encoding, bit rate, ... what have you... Then write a new header with a new header built to encompass the data from BOTH files, not just one. Write the audio data from the first file, then append the audio data form the second.

Secondly, what if the encoding is different? How about the bit rate? You'll now have to recode the data from the second file to match the encoding of the first. Same with the bit rate...

I would recommend searching for an audio format processing library to take care of this work for you. I would suggest Googling[^] for "audio processing library VB.NET wav".



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: concatenating wav files Pin
gilliver14-Feb-05 4:55
gilliver14-Feb-05 4:55 
Generaluser defined Reports in crystal Reporting Pin
Member 121109012-Feb-05 3:40
Member 121109012-Feb-05 3:40 
GeneralExecutable code from string for a treeview control Pin
ergolabos12-Feb-05 1:32
ergolabos12-Feb-05 1:32 
GeneralRe: Executable code from string for a treeview control Pin
Dave Kreskowiak12-Feb-05 7:03
mveDave Kreskowiak12-Feb-05 7:03 
GeneralExitWindowsEx API Problem !!! Pin
Basavaraj P.Umadi12-Feb-05 0:35
Basavaraj P.Umadi12-Feb-05 0:35 
GeneralRe: ExitWindowsEx API Problem !!! Pin
Dave Kreskowiak12-Feb-05 3:20
mveDave Kreskowiak12-Feb-05 3:20 
Questioncan i get vs.net 2005 Pin
Member 172677311-Feb-05 23:05
Member 172677311-Feb-05 23:05 
AnswerRe: can i get vs.net 2005 Pin
Dave Kreskowiak12-Feb-05 3:13
mveDave Kreskowiak12-Feb-05 3:13 
GeneralRe: can i get vs.net 2005 Pin
Anonymous13-Feb-05 5:44
Anonymous13-Feb-05 5:44 
GeneralRe: can i get vs.net 2005 Pin
Dave Kreskowiak13-Feb-05 5:51
mveDave Kreskowiak13-Feb-05 5:51 
GeneralRe: can i get vs.net 2005 Pin
jonathan1514-Feb-05 0:15
jonathan1514-Feb-05 0:15 
GeneralRe: can i get vs.net 2005 Pin
DavidMLevine21-Feb-05 7:55
DavidMLevine21-Feb-05 7:55 
Generalto crystal report in vb.net Pin
mak_chill11-Feb-05 18:26
mak_chill11-Feb-05 18:26 
GeneralDisplay found result on static HTML or excel Pin
Mekong River11-Feb-05 14:46
Mekong River11-Feb-05 14:46 
Generalcalling OleCreatePictureIndirect from VB.NET Pin
LLINF11-Feb-05 14:28
LLINF11-Feb-05 14:28 
GeneralRe: calling OleCreatePictureIndirect from VB.NET Pin
Dave Kreskowiak14-Feb-05 4:47
mveDave Kreskowiak14-Feb-05 4:47 
GeneralHashTable Question Pin
viettho11-Feb-05 8:14
viettho11-Feb-05 8:14 

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.