Csound Csound-dev Csound-tekno Search About

ctcsound mystery

Date2017-08-02 13:10
Fromöh
Subjectctcsound mystery
Hello list,

Maybe someone here can help me clear this up, since I read that csnd6 will
be deprecated in the near future.

If I try to import as usual, this happens:



However, if I import csnd6 first, everything works. Just curious as to why
this is happening and what to do when csnd6 is no more.

cheers



--
View this message in context: http://csound.1045644.n5.nabble.com/ctcsound-mystery-tp5757375.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2017-08-02 13:44
FromVictor Lazzarini
SubjectRe: ctcsound mystery
Can you outline platform, csound version, etc.?

csnd6 will not be deprecated as such, but when Csound moves version 7, it is likely that there will not be a csnd7, only ctcsound.

========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 2 Aug 2017, at 13:10, öh <0000025706e61ea8-dmarc-request@LISTSERV.HEANET.IE> wrote:
> 
> Hello list,
> 
> Maybe someone here can help me clear this up, since I read that csnd6 will
> be deprecated in the near future.
> 
> If I try to import as usual, this happens:
> 
> 
> 
> However, if I import csnd6 first, everything works. Just curious as to why
> this is happening and what to do when csnd6 is no more.
> 
> cheers
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/ctcsound-mystery-tp5757375.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 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

Date2017-08-02 13:46
FromFrancois PINOT
SubjectRe: ctcsound mystery
csnd6 is still active but it is recommended to use ctcsound instead. ctcsound can work with python 2.7 and python 3.x as well, and it uses numpy arrays as data structures ; so if you use ctcsound, numpy is needed.

What does happen when you import ctcsound (your message does not show anything)?

François

2017-08-02 14:10 GMT+02:00 öh <0000025706e61ea8-dmarc-request@listserv.heanet.ie>:
Hello list,

Maybe someone here can help me clear this up, since I read that csnd6 will
be deprecated in the near future.

If I try to import as usual, this happens:



However, if I import csnd6 first, everything works. Just curious as to why
this is happening and what to do when csnd6 is no more.

cheers



--
View this message in context: http://csound.1045644.n5.nabble.com/ctcsound-mystery-tp5757375.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2017-08-02 13:53
Fromöh
SubjectRe: ctcsound mystery
Ok, seems raw text disappears in nabble...?

anyway, here's what happens:

Python 2.7.5 (default, Nov  6 2016, 12:19:41) [MSC v.1900 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctcsound
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Program Files\Csound6_x64\bin\ctcsound.py", line 216, in 
    libcsound.csoundGetA4.restype = MYFLT
  File "C:\Program Files\Side Effects Software\Houdini
16.0.671\python27\lib\ctypes\__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "C:\Program Files\Side Effects Software\Houdini
16.0.671\python27\lib\ctypes\__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'csoundGetA4' not found

I'm on Windows 10 64 bit, Csound 6.09.1, Python as above

öh



--
View this message in context: http://csound.1045644.n5.nabble.com/ctcsound-mystery-tp5757375p5757379.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2017-08-02 14:00
FromVictor Lazzarini
SubjectRe: ctcsound mystery
Looks like a mismatch between ctcsound.py and the installed Csound. You might have an old version
of Csound that ctcsound tries to load, and it can’t find an API function introduced in a later version.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 2 Aug 2017, at 13:53, öh <0000025706e61ea8-dmarc-request@LISTSERV.HEANET.IE> wrote:
> 
> Ok, seems raw text disappears in nabble...?
> 
> anyway, here's what happens:
> 
> Python 2.7.5 (default, Nov  6 2016, 12:19:41) [MSC v.1900 64 bit (AMD64)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import ctcsound
> Traceback (most recent call last):
>  File "", line 1, in 
>  File "C:\Program Files\Csound6_x64\bin\ctcsound.py", line 216, in 
>    libcsound.csoundGetA4.restype = MYFLT
>  File "C:\Program Files\Side Effects Software\Houdini
> 16.0.671\python27\lib\ctypes\__init__.py", line 378, in __getattr__
>    func = self.__getitem__(name)
>  File "C:\Program Files\Side Effects Software\Houdini
> 16.0.671\python27\lib\ctypes\__init__.py", line 383, in __getitem__
>    func = self._FuncPtr((name_or_ordinal, self))
> AttributeError: function 'csoundGetA4' not found
> 
> I'm on Windows 10 64 bit, Csound 6.09.1, Python as above
> 
> öh
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/ctcsound-mystery-tp5757375p5757379.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 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

Date2017-08-02 14:00
FromFrancois PINOT
SubjectRe: ctcsound mystery
The function csoundGetA4 was added recently in the API. It should be present in csound 6.09.1. Maybe an older version of the csound64.dll is still there on your system and is called in place of the more recent one?

François

2017-08-02 14:53 GMT+02:00 öh <0000025706e61ea8-dmarc-request@listserv.heanet.ie>:
Ok, seems raw text disappears in nabble...?

anyway, here's what happens:

Python 2.7.5 (default, Nov  6 2016, 12:19:41) [MSC v.1900 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctcsound
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\Csound6_x64\bin\ctcsound.py", line 216, in <module>
    libcsound.csoundGetA4.restype = MYFLT
  File "C:\Program Files\Side Effects Software\Houdini
16.0.671\python27\lib\ctypes\__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "C:\Program Files\Side Effects Software\Houdini
16.0.671\python27\lib\ctypes\__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'csoundGetA4' not found

I'm on Windows 10 64 bit, Csound 6.09.1, Python as above

öh



--
View this message in context: http://csound.1045644.n5.nabble.com/ctcsound-mystery-tp5757375p5757379.html
Sent from the Csound - General mailing list archive at Nabble.com.

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