Chat

Author Topic: Genesis PCM not synced! :o  (Read 6540 times)

Strobe/TiTAN

  • Guest
Genesis PCM not synced! :o
« on: August 24, 2012, 06:23:15 PM »
Hello there! I was fiddling around with importing PCM samples, but it seems like something is wrong with the playback rate.
even if i import a 16000hz sample (or 32000hz) and change the playback rate to the respective number, it wont play at the rate it does in the audio editor.
i need to convert a sound to 14700hz and select 16000hz in DefleMask for it to be in the right sync. So the question is, am i doing something totally wrong here
or is this an actual bug?

I tried converting samples using Audacity and MilkyTracker, same results.

Offline Delek

  • Salí para ver
  • Administrator
  • Hero Member
  • Posts: 1809
    • Delek's Website
    • Email
Genesis PCM not synced! :o
« Reply #1 on: August 25, 2012, 06:41:30 PM »
The difference is huge or minimal?. The playback rate of a PCM sample is not granted in the SEGA Genesis, the hz are only a "desired" speed of playback, but it can be different depending on how the player is working and how much CPU load is present. I will check the PCM playback code but I don't recommend trying to get a perfect pitched PCM sample, it can vary a lot, and in the actual hardware you can even get worse results.

Please attach the wave file and I will check this out.

Strobe/TiTAN

  • Guest
Genesis PCM not synced! :o
« Reply #2 on: August 28, 2012, 11:58:45 AM »
Hello again! I attached some files, Test1.dmf contains a simple drumloop and bass notes (G1B.wav), playing in good sync when resampled to 29427Hz.
G1B32.wav is the 32000hz version of the same sample, that plays too slowly in deflemask. when exporting to VGM i need to change all samples
to the 32000hz versions, else the VGM is unsynced instead :o


Offline Delek

  • Salí para ver
  • Administrator
  • Hero Member
  • Posts: 1809
    • Delek's Website
    • Email
Genesis PCM not synced! :o
« Reply #3 on: August 28, 2012, 02:38:56 PM »
If the VGM plays fine then this should be a DefleMask issue. I will fix this for the upcoming DefleMask 8.

Strobe/TiTAN

  • Guest
Genesis PCM not synced! :o
« Reply #4 on: August 28, 2012, 02:40:46 PM »
Great! btw, is there a DefleMask 8 beta somewere already? I would like to play around with it!

Offline Delek

  • Salí para ver
  • Administrator
  • Hero Member
  • Posts: 1809
    • Delek's Website
    • Email
Genesis PCM not synced! :o
« Reply #5 on: August 28, 2012, 03:48:29 PM »
No, there is not a beta released. I added NES support, MIDI and changed OpenGL for SDL for video output. Among other things.
The release date is very close.

EDIT: Well, SDL is a shit compared to OGL in performance and effects. So the port to OpenGL to SDL was canceled.
« Last Edit: August 29, 2012, 01:07:02 AM by Delek »