First, this is an extremely modified version of zapman's old wav editor code. Extremely modified. Second, I mainly planned on just making this in it's very basic form - a grapher for wav files that you could zoom around and such. Then I thought, heck, how hard would it be to implement a simple effect system? So I tried that out. Let me emphasize Simple there. Very simple. I put in a silencer (that was easy



This will only currently load wav files. Theoretically, you could drop in other types fairly easily. I've built it so that most of the procedures aren't specific to what kind of audio file it is. Once you have it read into memory, it's cool. 8, 16 and 32 bit wav files are supported with mono and stereo. It wouldn't be too hard to modify it for more than 2 channels.
The neat trick that I was proud of is that it can load a 250 mb file into memory and only use about 6mb. I store info in blocks of data which are then drawn to screen. Playing the file still reads from the original.
Here's the demo app with a simple wav file loaded. The three scrollbars are scale, zoom & position (left to right).

Nothing special. The next is after applying a silence effect. It also shows a selection. There are 'events' that can be set up and one of them is shown there - the selection event. The demo app is set up to display the currently selected samples & time (in milliseconds).

Finally, the very very simple and laughable increase volume effect added as well.

Note the selection again.
Anyway, there are still bugs and legacy code so don't be surprised when it formats your computer and sends your email addresses out to random erotic websites. Also, I stripped this sucker out of my main project and tore it to pieces for this release so there are probably bits of the old code floating around in it uselessly. Ah well


http://www.seijin.net/Storage/Code/xAud ... io-PB4.rar
I have to thank zapman for getting me started on this. This (and my main project) would not have happened without his original code. I doubt I'll be maintaining this release much. I don't see any major changes for it in the future. I've got several other things to concentrate on >_<
Hope it's useful for somebody out there
