Algorithms :: General :: Wave Audio Analysis |
|||
| By: omuyelijah |
Date: 14/02/2008 13:00:13 |
Points: 20 | Status: Answered Quality : Excellent |
|
Hello All, I recently wrote a c++ application to record radio tape data, storing into .wav and playing quite well but there is this background wave noise following the sound when played ( i.e. the 'shshshshshshsh' sound). Is there a way of removing this noise from it (cos I know it comes from the wave recording), probably an algorithm to be implemented programmatically or some other way? My code sample has these characteristics set before recording starts ------------------------------------------------------------------ nChannels=(WORD) 1; //channels for wave audio data nSamplesPerSec=(DWORD) 44010; //44.01khz wBitsPerSample=(WORD) 8; //should be 8 or 16 nBlockAlign= (WORD) ((wavfmt.nChannels * wavfmt.wBitsPerSample)/8); nAvgBytesPerSec= (DWORD) (wavfmt.nSamplesPerSec * wavfmt.nBlockAlign); Thanks all. |
|||
| By: VGR | Date: 15/02/2008 08:08:39 | Type : Answer |
|
| personally, I would either : - edit manually the WAV with an audio editor - try to figure out if the unwanted sound is of a fixed length, and then delete as many seconds as necessary from the (end of) file - programmatically try to analyse the file to see when the music stops and the noise begins, and then delete accordingly I don't know how to perform #3, but you perhaps know. |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








