Csound Csound-dev Csound-tekno Search About

Csound without OS?

Date2016-04-24 22:48
FromChuckk Hubbard
SubjectCsound without OS?
I am just getting started with the idea of programming on a Raspberry Pi without an OS, the so-called bare-metal approach. The things I'd like to do for a particular project - an instrument - should all be fairly trivial, except the part where I create audio samples with Csound.
But I'm wondering, if I use the API, and manually take the samples from the buffers - that is, what I do with the audio to make it audible is not Csound's problem - well, is this something that could be done with existing Csound code without an OS? I mean, basically, realtime control and event input, opcodes, engine, and buffers that I'll use externally.
I see that not much has been written about audio for bare-metal Pi, but I think most people assume using Pi's onboard sound, which isn't even worth trying IMO. I have an external audio codec that can act as I2S clock master, so it should just be a question of calculating the samples when events are triggered.

I'm not actually doing this right now, but I'm trying to get a feel for my chances of success...
-Chuckk
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here