<commit_before>Csound for Bela
=========================================

Csound for Bela is provided in two forms:

1. BelaCsound.cpp: setup(), render(), an cleanup() functions
to be used in Bela C++ projects, requiring linking to the Csound library

2. belacsound: a standalone executable, built from CMake with -DBUILD_BELA=1

Cross-compiling instructions
=========================================

1. Setup your cross-compiling toolchain for armhf. On Debian stretch
this means apt-get install arm-linux-gnueabihf-g++ cross-compile-essential-arm
libsndfile1-dev:armhf libasound-dev:armhf

2. Build and install xenomai for armhf.

3. Build libbela and libbelaextra for armhf.

4. Build libNE10 for armhf and replace the one in Bela/lib/libNE10.a.

5. Build Csound for armhf

'''
cmake -DCMAKE_TOOLCHAIN_FILE=../Bela/crosscompile.cmake \
      -DCMAKE_INSTALL_PREFIX=$HOME -DUSE_DOUBLE=0 -DBUILD_BELA=1 ..
'''

The belacsound program should appear in your build directory







<commit_msg>readme fixed<commit_after>Csound for Bela
=========================================

Csound for Bela is provided in two forms:

1. BelaCsound.cpp: setup(), render(), an cleanup() functions
to be used in Bela C++ projects, requiring linking to the Csound library

2. belacsound: a standalone executable, built from CMake with -DBUILD_BELA=1

Cross-compiling instructions
=========================================

1. Setup your cross-compiling toolchain for armhf. On Debian stretch
this means apt-get install arm-linux-gnueabihf-g++ cross-compile-essential-arm
libsndfile1-dev:armhf libasound-dev:armhf

2. Build and install xenomai for armhf.

3. Build libbela and libbelaextra for armhf.

4. Build libNE10 for armhf and replace the one in Bela/lib/libNE10.a.

5. Build Csound for armhf

```
$ cmake -DCMAKE_TOOLCHAIN_FILE=../Bela/crosscompile.cmake \
      -DCMAKE_INSTALL_PREFIX=$HOME -DUSE_DOUBLE=0 -DBUILD_BELA=1 ..
$ make
```

The belacsound program should appear in your build directory








{'fraction_non_alphanumeric': 0.15646940822467403, 'fraction_numerical': 0.015045135406218655, 'mean_word_length': 4.651558073654391, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2430206', 'n_tokens_mistral': 661, 'n_tokens_neox': 615, 'n_words': 212}