Author Topic: Some mods  (Read 410 times)

Bonknuts

  • Hero Member
  • *****
  • Posts: 3292
Some mods
« on: August 16, 2013, 02:08:25 PM »
Before people get there panties in a bunch (either excited or dismissive), this is just for fun. I've written quite a few different resample drivers for the PCE over the years (they all have different advantages). 7khz, 7.86khz, 15.7khz, 40khz-224khz, etc (I think etc, or maybe that's all of them). Some did the resampling inside the interrupt routine, others did it in sequence to a buffer for the driver to play. Blah-blah-blah.

 Anyway, my MOD pattern/fx decoder was never finished. I had a convertor to take MOD/XMs and convert them, but... well, nevermind that. So this is David Michael's mod player. It's not finished either, but a decent amount of FX are supported. Quite simple, but while the code works - it's far from optimized. It did the resampling inside the interrupt routine, converted the sample on the fly inside the routine, etc. Blah, blah, yadda-yadda. I always wondered why DM's player sounded so harsh, until I looked at it and found out that ... jitter from a not fast enough interrupt routine. Made high frequencies sound like crap. So, with a little help - here's DM's mod player with a few mods, without the jitter. Doesn't sound too bad. I was supposed to keep this hush-hush, but it's been like... over 5 years now..... come on! (GOB reference)





(has two different songs in the video)



 Personally, I like the PCE sound. Going with (re)samplers like this, you loose that. Still, PCE sound lacks a few things IMO. A fatter bottom end and some instruments with more pronounced timbre other than just detuning two channels and using vibrato. I think the marriage of the two would probably yield some decent PCE-fied tunes. Anyway, this is just one of those - hey, check this out. Kind of thing. Some instruments in the video/mods sounds decent, while others not so much. Non of these samples are preprocessed. They're straight 7khz resampled on the fly. This is roughly what later gen GBA games did (7-8khz to a single 9bit stereo dac with a resampler routine.)

esteban

  • Hero Member
  • *****
  • Posts: 24063
Re: Some mods
« Reply #1 on: August 16, 2013, 05:14:15 PM »
A fatter bottom end and some instruments with more pronounced timbre other than just detuning two channels and using vibrato. I think the marriage of the two would probably yield some decent PCE-fied tunes. Anyway, this is just one of those - hey, check this out. Kind of thing. Some instruments in the video/mods sounds decent, while others not so much. Non of these samples are preprocessed. They're straight 7khz resampled on the fly. This is roughly what later gen GBA games did (7-8khz to a single 9bit stereo dac with a resampler routine.)


Not to repeat my YubeTube comments, but...awesome. 

I agree with you that a more robust lower end that could really rumble the floorboards would have been nice, but I don't think any of the consoles (at the time) were offering much in that department (sadly).  Even Red Book was often mixed/equalized towards the midrange. I think the reasoning was thus: unless you have a console + stereo, you're not going to appreciate a wide dynamic range on mediocre, underpowered TV speakers. I could be overstating things, but I don't think I'm too far off the mark.

ANECDOTE: Back in the day, I hooked my NES up to an old 8-track+turntable stereo, later a nice Marantz receiver...that was the only way to play. I even had an ANCIENT wireless headphone system that required stapling an antenna loop to the ceiling joists in the basement. I must have put up 100' of wire (unbeknownst to my parents). I don't think the transmitter could handle more than 100', which meant I could only wire two rooms.  As long as you didn't stray too far, the damn things worked well. This was mid-80's, and I thought it was awesome. If you went up to the second story, the headphones could only catch a clear signal in a few, specific spots.  My bed, luckily, was one spot. I used to listen to TV shows (or play a VHS tape) whilst falling asleep. I had to lie perfectly still, though, because the signal was so weak that even the slightest twitch of my skull would cut off reception.
[/anecdote]

« Last Edit: August 16, 2013, 05:23:02 PM by esteban »
  |    | 

sunteam_paul

  • Hero Member
  • *****
  • Posts: 4732
Re: Some mods
« Reply #2 on: August 16, 2013, 11:22:15 PM »
I love this.
The PC Engine Software Bible
Quote from: Tatsujin
I just felt in a hole!

spenoza

  • Hero Member
  • *****
  • Posts: 2751
Re: Some mods
« Reply #3 on: August 17, 2013, 04:12:29 AM »
This is actually really fantastic. sounds really awesome. How memory and CPU-intensive is it? Is this the kind of thing that could ultimately be stripped down to be an actual in-game music engine?
<a href="http://www.pcedaisakusen.net/2/34/103/show-collection.htm" class="bbc_link" target="_blank">My meager PC Engine Collection so far.</a><br><a href="https://www.pcenginefx.com/forums/" class="bbc_link" target="_blank">PC Engine Software Bible</a><br><a href="http://www.racketboy.com/forum/" c

touko

  • Hero Member
  • *****
  • Posts: 953
Re: Some mods
« Reply #4 on: August 17, 2013, 04:54:23 AM »
Great  :D

Vecanti

  • Hero Member
  • *****
  • Posts: 629
Re: Some mods
« Reply #5 on: August 17, 2013, 08:50:56 AM »
FLETCH!!!!!!! 


That is beyond awesome.  So does this actually play Mods in real-time? I would love to fire up my Amiga and play some my dozens of old Mods on my Turbo :)

I'm guessing this is something that will never be released though it sounds like?


roflmao

  • Hero Member
  • *****
  • Posts: 4830
Re: Some mods
« Reply #6 on: August 17, 2013, 10:30:53 AM »
These are awesome!