Posts

Showing posts from March, 2024

chm reads async copy combining text files

 please rewrite this program to use most efficient memory managed way to read very large wav file(300 mega bytes) using all available processors in the system (using async await method) public static void READ_SINGLE_WAV_FILE_TO_CONVERT_ITS_REPORT_TO_DXF(string inputFilePath, ref progressbar) {                                  int      sampleRate=44100;               int[] channels={};                            using (FileStream fileStream = new FileStream(inputFilePath, FileMode.Open, FileAccess.Read))             {                 using (BinaryReader binaryReader = new BinaryReader(fileStream))                 {             ...