Sound from WAVE-IN and immediately back to WAV-OUT
posted 15 years ago
Hello World! I'd like to write a program that runs in background, continously reads sound values from my sound card (2 channels, 16 bit, 44.100 values per channel per second), calculates 44.100 times per sec. the difference between the left and the right value and IMMEDIATELY plays that difference. My sound card supplies full duplex. So my question is, is there a class or whatever which does not record or play a full WAV-File or WAV-'line', but gives me IMMEDIATELY the actual sound values? And how can I play sound that I 'create' just in time? Thanks a lot for any helpful answers! Sven.