-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sound - APU Implementation #24
Comments
https://github.com/SuzieQQ/video-simple-nes-test-apu here are test videos today i added apu in simple nes but it go slow i have to fix it |
https://youtube.com/shorts/uqL5e0qLJFM?feature=share test 1 https://youtube.com/shorts/d2f1uBxprRM?feature=share Test 2 https://youtube.com/shorts/sVbthcnU_X0?feature=share Test 3 Sorry it's always me and that I forgot the password of the account of suzie and I stored it only in the pc |
I had started working on an APU a while ago but SFML, the library this uses, has no way to play/stream audio in real time. You need to generate the samples in a buffer, then play that buffer. This means a constant latency and extra synchronization which proved problematic. |
@mayweather911 Do you have the source somewhere? I'll take a look. |
As soon as I can I will publish in my fork this version In release mode black screen you can see that it affects this bug |
Depending on both sdl and SFML doesn't sound ideal, since they are both competing libraries offering similar features. Perhaps we'll just get rid of SFML. Another idea is using OpenAL directly, which SFML uses.
|
Here is the zipper of the version with apu, in a while 'I get home and upload it to github. I was inquiring about OpenAL |
Ah compile in debug mode to make it work, there is a bug in the apu to solve from black screen in the release |
https://github.com/SuzieQQ/SimpleNES Added APU |
That seems to rely too much on Blargg's implementation, which i honestly think is against the point of this emulator. Let's try not to copy other emulators code. Maybe we can try doing an implementation of a realtime sound queue based on OpenAL and then use that for the rest of the APU. I'll try to experiment with OpenAL tonight |
great work |
Yes in fact I said that because I have seen many emulators use these files Great, I'll try to do something with the library you mentioned, thanks for everything you do. |
No description provided.
The text was updated successfully, but these errors were encountered: