Would the interpolation fix the issues with some of the sounds in Super Mario World? e.g. the spin jump, pipes, etc.trentg said:I'm also interested in the source code for PocketSNES 6.5.0. I would like to add some form of audio interpolation as an option. The sound quality right now is very sub optimal.
Huh. You must have golden ears, because I think the sound is fine. Why don't you try to fix the sound in Lemonboy? It could use someone new. I don't think the developers of Lemonboy have been working on it...trentg said:I'm not sure, but it would fix the issues of it sounding very bad. I would actually probably do a "gaussian interpolation" which is like a blur or smoothing, and it shouldn't hit performance much at all. I can't get the source though :-/... Right now every game sounds like below NES quality sound...
trentg said:I'm also interested in the source code for PocketSNES 6.5.0. I would like to add some form of audio interpolation as an option. The sound quality right now is very sub optimal.
chickendung said:Would the interpolation fix the issues with some of the sounds in Super Mario World? e.g. the spin jump, pipes, etc.trentg said:I'm also interested in the source code for PocketSNES 6.5.0. I would like to add some form of audio interpolation as an option. The sound quality right now is very sub optimal.
I think you may be refering to the sharper and at times more "aliasy" sound. I think the reason is that the SNES had a low-pass filter to help filter out some of the high frequency aliasing caused by low sample rate samples (memory). The emu does not have this filter (probably a few capacitors?) as a real SNES does. The downside to this filter though is that it removes high frequencies making the sound a bit muffled sounding (while hiding aliasing). I remember plugging in a real SNES a while ago and it hit me how muffly it sounded after playing it on emus. It sounded like all of the treble was stripped out.trentg said:Actually it seems you may be right Rivroner... though the real snes sounds much better IMO just listening to it on my tv, while recording it it just seems to add a fuzzy noise... On PocketSnes it just sounds too crisp and not what I'm used to, maybe that's why it sounds jarring to me... One way or another, I'd still like to have a go at adding interpolation and see if it can get closer to the original sound... but nobody is offering the source code, unfortunately (even though parts are GPL :x).
trentg said:I was talking to an emulator writer and she said that a smoothing effect would do the trick and have very little impact on performance. This is what I had planned to implement if I could have gotten the source code (come on!). It works something like this:
1) take sample a
2) take next sample b
3) set current sample to (b+b+b+a)/4 (or b+a/2 or whatever works best)
4) current sample becomes a
5) goto 2
If you are truly willing to enhance the sound quality, then perhaps Juanvvc could send the developer a message. Juan is an active member at GP32Spain. Shall I ask Juan, or will you do it?trentg said:It might actually not be worse than NES, but I put it at about the same level. It's very aliased. It's so bad I do not even use my wiz anymore (main purpose I got it was for playing SNES and porting my own games. I will do more porting of my games but for now I'll use a real snes or something with interpolation like snes9x). But I'm very particular about how my audio sounds, as evidenced by me being the only one to really take it as far as not playing it because of the quality.
trentg said:It might actually not be worse than NES, but I put it at about the same level. It's very aliased. It's so bad I do not even use my wiz anymore (main purpose I got it was for playing SNES and porting my own games. I will do more porting of my games but for now I'll use a real snes or something with interpolation like snes9x). But I'm very particular about how my audio sounds, as evidenced by me being the only one to really take it as far as not playing it because of the quality.
chickendung said:If you are truly willing to enhance the sound quality, then perhaps Juanvvc could send the developer a message. Juan is an active member at GP32Spain. Shall I ask Juan, or will you do it?trentg said:It might actually not be worse than NES, but I put it at about the same level. It's very aliased. It's so bad I do not even use my wiz anymore (main purpose I got it was for playing SNES and porting my own games. I will do more porting of my games but for now I'll use a real snes or something with interpolation like snes9x). But I'm very particular about how my audio sounds, as evidenced by me being the only one to really take it as far as not playing it because of the quality.
trentg said:chickendung said:If you are truly willing to enhance the sound quality, then perhaps Juanvvc could send the developer a message. Juan is an active member at GP32Spain. Shall I ask Juan, or will you do it?trentg said:It might actually not be worse than NES, but I put it at about the same level. It's very aliased. It's so bad I do not even use my wiz anymore (main purpose I got it was for playing SNES and porting my own games. I will do more porting of my games but for now I'll use a real snes or something with interpolation like snes9x). But I'm very particular about how my audio sounds, as evidenced by me being the only one to really take it as far as not playing it because of the quality.
I tried to contact someone on gp32spain already, but it wasn't Juan AFAIK. If you could get me the source I will certainly at least try to implement some interpolation. I don't think it will be that difficult, just may take a while because I'm fairly busy already. If you know him and he agrees to share the source then he can contact me here by pm or on gp32spain as I have an account there but if he does that then please inform me because I do not go there regularly.