Author Topic: Sound question  (Read 964 times)

TheOldMan

  • Hero Member
  • *****
  • Posts: 958
Re: Sound question
« Reply #15 on: December 09, 2015, 07:16:28 AM »
Quote
Ahh man, now you're just teasing - lol.
Yeah, sort of. If you think about what Aetherbyte is doing, and recent messages from me, you can make a pretty good guess as to what I'm doing. Remember, I'm the tool guy here.

Quote
...runs game logic every other frame....

I'm hoping it doesn't come to that.

Quote
Is there some reason that you don't want to just store the pre-converted ADPCM in the data track, load it directly from CD into the ADPCM buffer, and then play it from there?  :-k

It's a matter of quality. I have to be able to say to the boss "This is why we can't do it that way" and then convince him that What I'm doing 1) Will work, and  2) Will work good enough.

There's also some technical stuff that prevents using sox.

Quote
It's a pretty-simple basic algorithm, isn't it?

Laughably so. When I saw it, it took less than an hour to get it working. Biggest problem was I had the wrong (intel/dvi) table. Once I figured that out....it works.
I just thought it noteable that the only real change to the algorithm (for different formats) was the tables used. Maybe I should compile a set of tables to output different formats... :)




ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: Sound question
« Reply #16 on: December 09, 2015, 11:23:19 AM »
I just thought it noteable that the only real change to the algorithm (for different formats) was the tables used. Maybe I should compile a set of tables to output different formats... :)

Got any tables for NEC uPD7759C ADPCM formats?  :-D  Seems nobody has those.

TheOldMan

  • Hero Member
  • *****
  • Posts: 958
Re: Sound question
« Reply #17 on: December 09, 2015, 11:59:14 AM »
Quote
Got any tables for NEC uPD7759C ADPCM formats?  :-D  Seems nobody has those.

A quick look says the tables diff table at least is calculated on they fly, apparently.

See if this helps: https://github.com/xobs/chumby-mame/blob/master/src/sndhrdw/upd7759.cpp

elmer

  • Hero Member
  • *****
  • Posts: 2153

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Sound question
« Reply #19 on: December 10, 2015, 07:02:38 AM »
I can't wait til I'm old and have tons of free time, lol
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.