Im really very ungry, the interface with sound with directsound in my emulator is a s**t.
All that i know about Digital Sound Processing is nothing and all i did in my life was to put a 555 with and a resistor and a 8 ohm speaker to generate tones with the potenciometer.
I just want to tell that even i dont understand whats going on on the APU (althought is well emulated), the only thing i know about sampling is that i have a 22050 dsound buffer and i divide it by 1789772.5 / 22050 = 81~.. and i take the output of the DAC (that i dont know how it works too) and ^ 0x80 it and i fill the next byte in my "NES" buffer when passed a frame (367~ samples) then it goes to the dsound one.
Anyway all i wanna do is a NES emulator so i asked my self how to improve thing in the emu.. so i got these answers:
1) Use the blargg's lib of APU (wich i really dont understand how it works well) and interface it with dsound.
2) Take a formal course about sound and DSP (wich is not a good idea in this country, cos nobody will give it to me)
3) Sit the a*s down in the chair and start studying electronics by myself and the read the Blargg's recomended book about DSP.
But... we can say im cought in the middle..
1) i dont want to use a alrady made library (i want to do the sound by myself).
2) Formal course where i live?
3) This would be the best choice but it takes a lot of time.
anyway..
what would you recommend me to do?
All that i know about Digital Sound Processing is nothing and all i did in my life was to put a 555 with and a resistor and a 8 ohm speaker to generate tones with the potenciometer.
I just want to tell that even i dont understand whats going on on the APU (althought is well emulated), the only thing i know about sampling is that i have a 22050 dsound buffer and i divide it by 1789772.5 / 22050 = 81~.. and i take the output of the DAC (that i dont know how it works too) and ^ 0x80 it and i fill the next byte in my "NES" buffer when passed a frame (367~ samples) then it goes to the dsound one.
Anyway all i wanna do is a NES emulator so i asked my self how to improve thing in the emu.. so i got these answers:
1) Use the blargg's lib of APU (wich i really dont understand how it works well) and interface it with dsound.
2) Take a formal course about sound and DSP (wich is not a good idea in this country, cos nobody will give it to me)
3) Sit the a*s down in the chair and start studying electronics by myself and the read the Blargg's recomended book about DSP.
But... we can say im cought in the middle..
1) i dont want to use a alrady made library (i want to do the sound by myself).
2) Formal course where i live?
3) This would be the best choice but it takes a lot of time.
anyway..
what would you recommend me to do?