@dom - great pointer I'll be sure to read it all.
@joebgoy - please do share your code, I (and others) may not be able to understand / advise / help with your problem, but by god we can certainly try.
Let me give you a little bit of (what I hope is inspiration) back in the late 1970's / Early 1980's when I first started dabbling with computers here in the UK. We had NO INTERNET, we had no stack overflow, Google search or raspberry pi forums
We succeeded by trial and error, we tried things that may (or may not have) broken our hardware, we poked and peeked random values to random hardware addresses until something happened.
Even if what we thought was supposed to happen didn't actually happen, we still counted that something as a victory, because we where learning, we where discovering things by fair means or foul.
You got some bleeps and bloops out of the chip, that my friend is a victory, keep at it and those bleeps and bloops will turn into real sounds.
When we where able to share our code it was via primitive BBS systems running across systems such as fidonet, where we had to hijack our parents telephone lines using 300 baud dial up modems, connections that easily ran up £100+ pound telephone bills in the space of a week or two. We shared our code, and 4/5/6 weeks later someone would reply with their own findings, putting two or more of these answers together would SOMETIMES get you the answer you wanted, however more often than enough it would give you several more questions on top of the question you where trying to answer.
With the Raspberry Pi, I'm back in those days, only now we have Google, the internet, stack overflow where more connected than ever. I'll part with my knowledge where ever I can, and IF I can answer a question I will, because I believe that it's in everyone's future to pass the knowledge on.
Despite the knowledge I've accumulated since those early days, I will openly admit there are things I have still yet to discover (and I've been doing this s**t now for at least 30 years) I openly encourage you to share your code and your Ideas and explain what you have and have not tried, once you do then many people with differing levels of knowledge and experience can all offer their input, and all it takes is ONE idea to spark a revolution
Back in 1985 I was one of the few people (along with Foz, Grez and the other Yorkshire Boys although not at the same time) to figure out that a bug in the BBC Model B micro sound chip (a Texas Instruments SN76489 if memory serves me right) allowed us to play back raw PCM sampled sound, once we released our code (Kudos to the Yorkshire boys for getting there before I did) almost over night software sprung up that made use of this technique.
In my mind this is what a lot of the idea behind the Raspberry Pi is, to get the current generation thinking about computing principles again, and not just being www jockeys.
Anyway, that's enough now... I'm getting tooooo carried away
I'll real my neck back in before it get's chopped off.
Share your code, the least expected person you know might just solve your problem.