Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault #1

Open
fkranhold opened this issue Aug 14, 2023 · 0 comments
Open

Segmentation fault #1

fkranhold opened this issue Aug 14, 2023 · 0 comments

Comments

@fkranhold
Copy link

I have installed microcsound via pip on Debian 12 (in a virtual environment), with csound 6.18 and python 3.11 installed via apt. When trying the example from the repository, i.e. microcsound -v ciconia.mc, I get the following result:

orchname:  microcsound_basic.orc
--Csound version 6.18 (double samples) 2022-11-24
[commit: none]
libsndfile-1.2.0
sr = 44100.0, kr = 44100.000, ksmps = 1
0dBFS level = 1.0, A4 tuning = 440.0
audio buffered in 256 sample-frame blocks
writing 1024-byte blks of shorts to ciconia.wav (WAV)
SECTION 1:

csound command: Segmentation fault
   end of score.		   overall amps:  0.00000  0.00000
	   overall samples out of range:        0        0
0 errors in performance
512 1024 sample blks of shorts written to ciconia.wav (WAV)

The same issue occurs if I first run microcsound -s ciconia.mc > ciconia.sco and then manually run csound microcsound_basic.orc ciconia.sco.

(Unfortunately, I also have not been able to run the other, much smaller examples from the documentation: They do not lead to segfaults, but apparently use an orchestra file different from microcsound_basic.orc from the repo, as the number of p-fields do not match. The result is a longer WAV file, consisting of silence.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant