Yasja de Miranda
Yasja de Miranda

Reputation: 11

CSound6 and it's lack of 32 bit libraries

I'm probably missing something truly essential in my CSound6 API adventures. I've scoured the internets for answers but without luck. Also, this is my first post on stackoverflow, for it has answered all my previous questions by proxy (for which I'm eternally grateful of course). Here she goes:

I'm developing a standalone sampler/synthesizer/step sequencer based on a Raspberry Pi 2, think of the good old Electribe SX/MX. The GUI is based on SDL2 which I got going after some struggling. The sound engine I chose to use is CSound 6 and it's C++ API.

Of course, because of the Raspberry Pi being a 32 bit platform, I should link against 32 bit libraries.

However, the CSound manuals give little to no information about the use of the 32 bit libraries other than the few words spent on this page.

Of course, that would have been enough if libcsound.a or csound.dll or something alike would exist. I've got everything going with csound64 linked but I'm pretty sure that she'll disappoint me when actually compiling for the Raspberry.

The bin folder inside my CSound installation folder contains the following files that might have something to do with it, but after trying all of them, they do not seem to be the library I'm looking for:

csnd6.dll
csound6~.dll
csound64.dll and csound64.lib
CsoundQt-d-cs6.lib

So please, please help me with this. Even if you're in the same trouble, leave a note. Thanks for your help in advance!

Upvotes: 1

Views: 285

Answers (1)

Steven Yi
Steven Yi

Reputation: 166

Csound can be compiled for different CPU architectures and it can also be compiled to use either 32-bit (float) or 64-bit (double) floating point precision for its signal processing. Users have compiled Csound for RPi and there are instructions for building Csound on RPi at [1]. A pre-compiled Csound appropriate for your CPU architecture should be available from apt repositories. Development headers should also be available as a separate development package.

[1] - https://github.com/csound/csound/blob/develop/BUILD.md

Upvotes: 1

Related Questions