Comments (21)
The attachment is a gzipped wav file, renamed so github allowed upload.
from sgdk.
Did you tested on real hardware ? I made a test using the 4PCM driver and while it doesn't sound as good than on computer (pitch is a bit lower and sound is a bit harsh) it was not crakling.
Are you doing something else while playing the sample ? You have to know than hanging the 68K bus (by using DMA or doing VDP accesses in active period) will have an impact on PCM playback. That might be your problem.
from sgdk.
No, I don't have real hw, just an emulator. Will test a standalone project, without any graphics, tomorrow.
from sgdk.
Ok, you should now that PCM sound in emulator are almost time not correct. You should really test on real hardware or an accurate emulator as Exodus, BlastEm or Genesis Plus.
from sgdk.
A no-graphics ROM still has bad sound. I'm attaching it, can you please confirm it plays fine for you?
The source is just
#include <genesis.h>
#include "files.h"
int main() {
Z80_init();
Z80_loadDriver(Z80_DRIVER_4PCM_ENV, 1);
SND_startPlay_4PCM_ENV(music, sizeof(music), 0, 1);
while (1);
return 0;
}
I've been using dgen. I tried to compile BlastEm, but it is seriously buggy, several compile errors. Genesis Plus doesn't exist for Linux according to Google, will try Exodus next.
from sgdk.
Rename to rom.md.gz and unpack.
from sgdk.
It's the almost same code i tested on real hardware, it does not play as good than on computer as i told you, but not crackling at least. DGen is a really outdated emulator, you should try newer ones as Gens or Fusion at least ;)
from sgdk.
Gens also didn't compile, I tried it before I tried dgen.
I'm attaching what I hear from DGen - is what you hear this bad?
(rename to .wav.gz)
output.pdf
from sgdk.
Fusion is closed source, and Exodus was Windows only. It seems there are no other Genesis emulators I can try...
from sgdk.
You should try this one : http://segaretro.org/Gens/GS
About the sound, it does sound better on real hardware but not too much...
I've to see why the sound is fuzzy like that, even in emulator.
from sgdk.
I did. All of gens, gens/gs, and gens/gs II only support 32-bit.
from sgdk.
Did you tried that method ?
http://danielj.se/2011/05/01/install-gensgs-megadrive-emulator-on-64-bit-ubuntu/
and maybe this can help you as well :
http://ubuntuforums.org/showthread.php?t=597615
from sgdk.
I run a pure 64-bit distro on purpose. It is not possible to install 32-bit libs, and even if it were, I'm not willing to do so.
from sgdk.
Would it be possible for you to record how it sounds on real hw? I'd like to hear if it's acceptable enough.
from sgdk.
Ok, too bad ... i though there were more possibilities to run megadrive emulator on 64 bit Linux system :-/ You can eventually use Wine but i guess that is not a solution for you.
from sgdk.
Unfortunately i can't as my laptop does not have a working microphone input :-/ I could eventually record it from my smartphone but the quality won't be really nice to check about quality i guess.
from sgdk.
Can we ask on some forum? I don't know where Genesis homebrew folks hang out. Real hw recording would confirm if there's an issue with the sound driver code.
from sgdk.
Of course you can ask on the forum in the Megadrive or SGDK section, if you provide the rom i am sure someone could make a small record about how it sounds on the real hardware.
from sgdk.
http://gendev.spritesmind.net/forum/viewtopic.php?f=19&t=2256#p27812
from sgdk.
A kind forum member posted a recording (attached here). It still has the same kind of buzz as the emulator, just a bit quieter - this confirms there is an issue in the 4PCM driver.
from sgdk.
After having inspecting the waveform produced, the driver does not seem wrong here, hardware related issue :-/ So i close.
from sgdk.
Related Issues (20)
- Fail to build on windows HOT 6
- Error in makelib.gen HOT 1
- Adding Multi-Platform Docker Images and Build Pipelines to SGDK
- add commands to Makefile: init, vendor, install HOT 1
- SpriteEngine - auto anim HOT 4
- Heavy dependence on non-reproducible artifacts
- Rescomp freeze for some sprite resource in compilation time HOT 2
- Optimization idea for rescomp HOT 2
- Rescomp could detect duplicate frames in case of same sprite sheet with different colors HOT 2
- Projects fail to build with C23 HOT 1
- SPR_getAnimationDone is delayed and flickering HOT 8
- SGDK is not running on Mega Drive / Sega Genesis HOT 4
- issues in Docker HOT 1
- Question about bank switching HOT 3
- How can we cut sprites?
- Problems with XGM_StartPlayPCM function HOT 4
- ROM larger than it should be, links unneeded symbols from libmd.a HOT 4
- GDK not working properly despite following the installation step by step. HOT 1
- Every sound driver is always linked in
- Wrong JOY_getJoypadType(JOY_2) result HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgdk.