Csound Csound-dev Csound-tekno Search About

STK opcodes problems (no sound or inf amplitude)

Date2016-06-21 18:42
FromFfanci Silvain
SubjectSTK opcodes problems (no sound or inf amplitude)
Hey hey everyone,
I've had problems with STK opcodes. I'm running:
csound 6.07 beta (21.06.2016)
with
stk-4.5.0
on
Linux Debian Squeeze with custom-built kernel
3.9.0-rc6 PREEMPT
The STK opcodes are built-in directly.

When compiling the STKSitar example I get a high sawtooth-ish sound and a 
complaint about inf amplitudes on both channels. Other STK examples yield only 
silence. Nofurther error or warning messages are output by Csound.

Can anyone suggest means to correct this situation? -- Thanks in advance for 
any pointers.

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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

Date2016-06-21 19:31
FromMichael Gogins
SubjectRe: STK opcodes problems (no sound or inf amplitude)
Did you set the environment variable RAWWAVE_PATH to point to the
location of the rawwave sample files?

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Tue, Jun 21, 2016 at 1:42 PM, Ffanci Silvain  wrote:
> Hey hey everyone,
> I've had problems with STK opcodes. I'm running:
> csound 6.07 beta (21.06.2016)
> with
> stk-4.5.0
> on
> Linux Debian Squeeze with custom-built kernel
> 3.9.0-rc6 PREEMPT
> The STK opcodes are built-in directly.
>
> When compiling the STKSitar example I get a high sawtooth-ish sound and a
> complaint about inf amplitudes on both channels. Other STK examples yield
> only silence. Nofurther error or warning messages are output by Csound.
>
> Can anyone suggest means to correct this situation? -- Thanks in advance for
> any pointers.
>
> Ta-ta,
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
>
> 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

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

Date2016-06-21 21:49
FromFfanci Silvain
SubjectRe: STK opcodes problems (no sound or inf amplitude)
Michael Gogins, Jun 21 2016:

> Did you set the environment variable RAWWAVE_PATH to point to the
> location of the rawwave sample files?
Yes, it is set correctly. Or is a slash at the end of the path a problem?
...

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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

Date2016-06-21 22:40
FromMichael Gogins
SubjectRe: STK opcodes problems (no sound or inf amplitude)
I don't have the slash but I don't see why it would be a problem.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Tue, Jun 21, 2016 at 4:49 PM, Ffanci Silvain  wrote:
> Michael Gogins, Jun 21 2016:
>
>> Did you set the environment variable RAWWAVE_PATH to point to the
>> location of the rawwave sample files?
>
> Yes, it is set correctly. Or is a slash at the end of the path a problem?
> ...
>
>
> Ta-ta,
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
>
> 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

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

Date2016-06-21 22:51
FromFfanci Silvain
SubjectRe: STK opcodes problems (no sound or inf amplitude)
Michael Gogins, Jun 21 2016:

> I don't have the slash but I don't see why it would be a problem.
OK, I tried the path without the slash and it does make no difference. Would you - or anyone else - have further ideas?
...

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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

Date2016-06-21 22:58
FromMichael Gogins
SubjectRe: STK opcodes problems (no sound or inf amplitude)
Run ldd on libstkops.so. There are a lot of things that the STK
library brings in. Also you may need to run sudo ldconfig. Here's what
I have:

mkg@Sun-Yukong:~/csound/cs6make$ ldd libstkops.so
linux-vdso.so.1 =>  (0x00007fff3f1fc000)
libstk.so.0 => /usr/lib/x86_64-linux-gnu/libstk.so.0 (0x00007f80b17bb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f80b159d000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f80b1299000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f80b0f93000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f80b0d7d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f80b09b8000)
librtaudio.so.4 => /usr/lib/x86_64-linux-gnu/librtaudio.so.4
(0x00007f80b079d000)
librtmidi.so.1 => /usr/lib/x86_64-linux-gnu/librtmidi.so.1 (0x00007f80b058a000)
/lib64/ld-linux-x86-64.so.2 (0x00007f80b1c71000)
libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f80b029a000)
libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f80b007d000)
libpulse-simple.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0
(0x00007f80afe79000)
libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f80afc30000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f80afa2c000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f80af824000)
libpulsecommon-4.0.so =>
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so
(0x00007f80af5bd000)
libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007f80af3b2000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f80af16d000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f80aef4e000)
libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f80aed44000)
libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1
(0x00007f80aeadc000)
libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0
(0x00007f80ae8d6000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f80ae6d2000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f80ae4cc000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f80ae2b2000)
libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f80ae081000)
libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
(0x00007f80adbb2000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f80ad985000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f80ad77c000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f80ad561000)
mkg@Sun-Yukong:~/csound/cs6make$

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Tue, Jun 21, 2016 at 5:51 PM, Ffanci Silvain  wrote:
> Michael Gogins, Jun 21 2016:
>
>> I don't have the slash but I don't see why it would be a problem.
>
> OK, I tried the path without the slash and it does make no difference. Would
> you - or anyone else - have further ideas?
>
> ...
>
> Ta-ta,
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
>
> 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

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

Date2016-06-22 06:44
FromFfanci Silvain
SubjectRe: STK opcodes problems (no sound or inf amplitude)
Michael Gogins, Jun 21 2016:

> Run ldd on libstkops.so.
I have no libstkops.so in my current installation, I only have libstk.so. ldd results in:
ldd ./libstk.so
 	linux-gate.so.1 =>  (0xb77c3000)
 	libstk.so.4 => /usr/local/lib/libstk.so.4 (0xb76bb000)
 	libstdc++.so.6 => /usr/local/lib/libstdc++.so.6 (0xb754c000)
 	libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7525000)
 	libgomp.so.1 => /usr/local/lib/libgomp.so.1 (0xb7503000)
 	libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0xb74e6000)
 	libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb74cd000)
 	libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7386000)
 	libasound.so.2 => /usr/lib/libasound.so.2 (0xb72ab000)
 	libjack.so.0 => /usr/local/lib/libjack.so.0 (0xb728d000)
 	/lib/ld-linux.so.2 (0xb77c4000)
 	librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7284000)
 	libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7280000)
...

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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

Date2016-06-22 07:06
FromFfanci Silvain
SubjectRe: STK opcodes problems (no sound or inf amplitude)
Ffanci Silvain, Jun 22 2016:
...
> I have no libstkops.so in my current installation,
...
I solved the issue - sort of. My csound libraries aren't properly found. They are installed in:
/usr/local/lib/csound/plugins64-6.9
but Csound only looks at:
/usr/local/lib/csound/plugins-6.0
That is why the STK opcodes were found - an old installation -, but produced no sound, probably too old in this case.

I removed all installed csound files and tried again, but had to link the plugins64-6.0 to plugins-6.0 manually.

Why could that happen? Is there an easy save guard? Thank you and sorry for the messy start.
...

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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