Search found 2985 matches
- Sun Jul 12, 2009 6:44 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
Well, if it's not "secret", maybe you could post some code? Or if the code is secret, but the compression isn't, post some pseudo code on how it works. http://www.fileden.com/files/2008/4/21/1876835/TADPCM.jpg That's all existing info about it... Hahahaha! I've worked from worse. :lol: The last dem...
- Sun Jul 12, 2009 5:09 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
Okay, here's demo 3. musicdemo3.7z This is just a change in the 8:1 compressor (I did change maxDelta, so everything is technically new). Before, the compressor simply chose the sign based on whether the next input value was greater than or less than the current derived sample. This compressor first...
- Sat Jul 11, 2009 8:57 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
- Sat Jul 11, 2009 7:33 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
2bit files sound much nicer :D Yeah, the difference was really amazing. It also gave me an idea for modifying the 1 bit encoder to maybe make that sound better. Going to try that this weekend. I've been looking around for a 2 bit ADPCM routine so I could compare that to the 2 bit CVSD. All the ADPC...
- Thu Jul 09, 2009 3:18 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
Me guesses not everyone has access to it. It's probably a "devs-only" page or something. Of course, if you don't have access, YOU should considering you're one of those devs. :D Maybe one of the mods can add you to the list. In the meantime, lemme make a brief explanation here, and the code is in th...
- Thu Jul 09, 2009 5:06 am
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
Okay, I wanted to see how this works with more typical game music, so I made up a test with the Sonic CD present level CDDA tracks. musicdemo2-2.7z This one can play up to 8 songs. Press the directions for songs 1 to 4, and hold B while pressing a direction for songs 5 to 8. I only had room for seve...
- Thu Jul 09, 2009 12:49 am
- Forum: Super 32X
- Topic: CVSD Compression of Sounds
- Replies: 2
- Views: 3094
Another experiment. Where the original code above shifts the delta everytime the current bit matches the last bit, this code has a bit to say explicitly which way to shift. So it's two bits per sample instead of 1. The original code was limited in how it could estimate the next sample. You could onl...
- Thu Jul 09, 2009 12:40 am
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
And yet another full archive. musicdemo2-1.7z This is a modification on the code - where the previous code did 16:1 compression (eqv 8:1), this does 8:1 (eqv 4:1). Basically, 2 bits per sample instead of 1. This is the game music. See what you think. For more info on this compression, go to my CVSD ...
- Tue Jul 07, 2009 6:22 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
Okay, here's another full archive: musicdemo-3.7z
This has "Eye of Time" compressed at 22kHz as well as the game music at 22kHz. Includes source.
This has "Eye of Time" compressed at 22kHz as well as the game music at 22kHz. Includes source.
- Tue Jul 07, 2009 5:50 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
As far as commenting goes, "Real programmers never comment - if it was hard to write, it should be harder to read, and impossible to change." :lol: Yeah, the computer side compressor code can be more "fun" to write... thankfully the cvsd compressor was pretty easy. By the way, here's the same game m...
- Tue Jul 07, 2009 4:56 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
it sounds really muffled for being 22KHz.... I myself have worked out one compression method that's tuned for Z80 and 8bit output, I will have to write decoder and encoder.... the hard part :P Well, remember that to help suppress the noise more, I'm sampling the input at half the playback rate, so ...
- Tue Jul 07, 2009 4:44 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
The game music I included is really cool, but needs some pre-filtering to minimize the aliasing going on here. I just converted it straight and it's definitely showing the aliasing. Your track actually converted rather well with no work. Other than some noise, it sounds pretty good. This method of c...
- Tue Jul 07, 2009 4:14 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
I just tried it out, and it seems to have quite a lot of noise in the sound, but the playback is very even :) Make a demo with this file :) http://www.fileden.com/files/2008/4/21/1876835/07%20-%20For%20you.mp3 GameMusic.7z That has your file as song 1, then three more "game" type music scores as so...
- Tue Jul 07, 2009 3:54 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
Okay, here's a slight update to the demo - it's just the rom binary and the Z80 driver source as that was the only thing to change. I added a few NOPs to the loop to get it as close to 22050 Hz as I care to right now. musicdemo-2.7z EDIT: As to how close it is now - it was 9.5% fast, and now it's 0...
- Mon Jul 06, 2009 5:45 pm
- Forum: Demos
- Topic: CVSD Compressed audio example
- Replies: 74
- Views: 70605
Okay, here's a slight update to the demo - it's just the rom binary and the Z80 driver source as that was the only thing to change. I added a few NOPs to the loop to get it as close to 22050 Hz as I care to right now. musicdemo-2.7z EDIT: As to how close it is now - it was 9.5% fast, and now it's 0....