Due to the fact that people seem to have lots of files that are not "standard" rates (like 16516hz, etc), I might do something in my program that changes the hz to the nearest thing ssrc will be able to process-- this will make certain frequencies off by around 3-5 hz but that's not a big deal.
It seems like Norix already had this under his belt using C language. The problem is that his source code comments are in Japanese & don't render properly on my computer.
But I hope this may serve as something helpful (I also attached the program with its source code, if you're interested).
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
I've also updated the program to run with any sampling rate as the input (at least, within reason-- ssrc crashed with one that was over 80Khz but most people won't be doing that).
Awesome work Rushjet1! Still a bit buggy however....here's some things I noticed upon quick testing:
drag-n-drop is broken for .dmc files
batch conversion isn't working at all
Also, it wasn't readily apparent what the quality or edit mode features do, as they don't seem to change the sound. Probably I don't know what I'm doing :P
I've also updated the program to run with any sampling rate as the input (at least, within reason-- ssrc crashed with one that was over 80Khz but most people won't be doing that).
If this helps, the nearest frequency to 80 kHz is 96 kHz.
cak wrote:
Awesome work Rushjet1! Still a bit buggy however....here's some things I noticed upon quick testing:
drag-n-drop is broken for .dmc files
batch conversion isn't working at all
Also, it wasn't readily apparent what the quality or edit mode features do, as they don't seem to change the sound. Probably I don't know what I'm doing :P
I'm using XP sp2, if that helps.
Funny enough; I'm experiencing the same things here. I'm using Windows XP Pro SP3. It seems like the only audio you hear from the program is as though it were a constantly high-quality DMC sample file.
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
-Pitch is implemented
-Deleting selection is implemented
-Fixed several bugs related to the highlighting of the window
-Fixed bugs involving space bar triggering controls
-Fixed bugs with lower HZ samples crashing SSRC (small files)
-Implemented Cut, Copy, Paste, Trim, Select All, Delete
NOTES:
-Zoom function doesn't work with editing the wave file yet (it acts as if you're zoomed all the way out).
-You can either right click on the wave display or use shortcuts to use the editor functionality.
-CTRL+V = paste, CTRL+C = copy, CTRL+X = cut, CTRL+T = trim, CTRL+Z = revert, CTRL+A = select all
-"quality" Pitch change right now is a bit mediocre quality-wise. I might just have lots of copies of each .wav file in memory for small files.
-To use copy, cut, delete, or trim you must have something selected (by dragging the mouse and making a rectangle). To paste something, you need to click once (without dragging) and a single white line will show up- this is where the info will be pasted.
-Added a pop-up box when processing is being done
-Added a reverse function
-Data is read in almost 2x as fast
-Quality of "rate" changes is much higher
-Added extra error handling for non-pcm and non-wav files
-Fixed several bugs
-Added "play selection" feature
-DPCM output is always (mod16 + 1) bytes, so looping is more accurate
-Fixed a few of the keypresses not being read properly
-Various improvements to code efficiency
-Fixed all bugs with the trackbars (all scroll 1-per-tick)
Wonderful; you're on a roll with this. And I'm surprised at the level of quality the sample files have; samples containing speech can be quite clearly understood (without any crackling or quality loss).
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
-Zoom into any area is done
-Operations on zoomed selections are possible
-Modify volume for selection
-Fade volume to x%
-Fixed several bugs, made tons of optimizations (mostly to new functions)
-Zooming on large files is faster
-Fixed some bugs with opening files with additional info in their headers and files that were sampled at odd rates.