So I put it all together and it works great, just a couple questions. I bought some sound fonts from saberfont.com and when I put them on they seem to be very quiet. I can barely hear the hum of some but the effects are loud on, off, clash.
What font(s) are you using?
I'm doing some work on the sound code right now, and I've realized that the volume
is a bit of a mess. Originally I lowered the volume of the hum to make room to make it
louder when you swing the saber around, which might be part of the problem.
The other problem may be that NEC fonts have some volume settings which I have not implemented
yet, so I need to look into that.
Also When I press the button and clash to switch a preset sometimes it will give me two beeps. So it is skipping two presets ahead rather then one.
I should probably make the time minimum time between clashes a bit longer.
As it is it is only 0.1s. You can easily change it yourself too, just find the line that
says:
if (t - last_clash < 100) return;
and change it. (100 is in milliseconds.)
I also have 23 boot sounds in the boot folder that it will play on stop up (I have it set to display the battery voltage on boot). But it likes to always pick boot6 (I can change any font to boot6 and it will play that font) I am wondering how to make it pick any one of the 23 boot sounds I have. if that is possible that is. If not no big deal...
Any ideas?
I'm in the home stretch I can see the light at the end of the tunnel.
Interesting. That's what happen when you use a pseudo-random generator without seeding it.
Ideally I'd use the motion chip to get some random data to feed into the random generator, but the motion chip takes a little while to initiate, so I might have to look for another source of randomness.
I will post updates as problems are worked out.