Csound Csound-dev Csound-tekno Search About

[Csnd] 'connect' opcode under iOS

Date2013-01-17 00:53
FromMartin Huenniger
Subject[Csnd] 'connect' opcode under iOS
Hi list,

I'm trying to get csound patches running on the iPhone together with some UI developed in Objective C under iOS 6.0.1. The problem seems to be that the opcodes 'connect', 'outleta' and 'inleta' are not supported under this platform. The patch I wrote is running flawlessly under CsoundQT in Version 5.18 but libcsound library together with all the bindings and API-stuff of the very same package won't play any sounds until all of the afore mentioned opcodes are commented out. 

I don't want to write 'spaghetti-code'-instruments so these opcodes seem very practical to me. Does someone on this list know what to do to get the opcodes working or at least a work around? 

And do you know how to see the compile output of the csound patch during its loading by the library on the iPhone? There is very little documentation on this topic.

Best regards,
Martin
_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-01-17 01:33
FromRory Walsh
SubjectRe: [Csnd] 'connect' opcode under iOS
I'm not sure but it appears these opcodes were written in C++ so might
not be available? I've had issues with using them with Cabbage too but
I've never taken the time to investigate. In the meantime, to avoid
spaghetti code you can use channel opcodes instead. Just route the
audio signal to channels on one instrument, and pick up that channel
in another. You can also build an instrument to manage connections by
routing different audio streams to different channels on the fly. The
signal graphs opcodes in their current state don't allow you to
dynamically modify the graph, but if you build your graph using
channels you can do as you like.


On 17 January 2013 00:53, Martin Huenniger  wrote:
> Hi list,
>
> I'm trying to get csound patches running on the iPhone together with some UI developed in Objective C under iOS 6.0.1. The problem seems to be that the opcodes 'connect', 'outleta' and 'inleta' are not supported under this platform. The patch I wrote is running flawlessly under CsoundQT in Version 5.18 but libcsound library together with all the bindings and API-stuff of the very same package won't play any sounds until all of the afore mentioned opcodes are commented out.
>
> I don't want to write 'spaghetti-code'-instruments so these opcodes seem very practical to me. Does someone on this list know what to do to get the opcodes working or at least a work around?
>
> And do you know how to see the compile output of the csound patch during its loading by the library on the iPhone? There is very little documentation on this topic.
>
> Best regards,
> Martin
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Date2013-01-17 07:12
FromMartin Huenniger
SubjectRe: [Csnd] 'connect' opcode under iOS
Hi Rory,

Thank you for the advice. To use channels makes complete sense :-)

Best,
Martin

Am 17.01.2013 um 02:33 schrieb Rory Walsh:

> I'm not sure but it appears these opcodes were written in C++ so might
> not be available? I've had issues with using them with Cabbage too but
> I've never taken the time to investigate. In the meantime, to avoid
> spaghetti code you can use channel opcodes instead. Just route the
> audio signal to channels on one instrument, and pick up that channel
> in another. You can also build an instrument to manage connections by
> routing different audio streams to different channels on the fly. The
> signal graphs opcodes in their current state don't allow you to
> dynamically modify the graph, but if you build your graph using
> channels you can do as you like.
> 
> 
> On 17 January 2013 00:53, Martin Huenniger  wrote:
>> Hi list,
>> 
>> I'm trying to get csound patches running on the iPhone together with some UI developed in Objective C under iOS 6.0.1. The problem seems to be that the opcodes 'connect', 'outleta' and 'inleta' are not supported under this platform. The patch I wrote is running flawlessly under CsoundQT in Version 5.18 but libcsound library together with all the bindings and API-stuff of the very same package won't play any sounds until all of the afore mentioned opcodes are commented out.
>> 
>> I don't want to write 'spaghetti-code'-instruments so these opcodes seem very practical to me. Does someone on this list know what to do to get the opcodes working or at least a work around?
>> 
>> And do you know how to see the compile output of the csound patch during its loading by the library on the iPhone? There is very little documentation on this topic.
>> 
>> Best regards,
>> Martin
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-01-17 07:35
FromVictor Lazzarini
SubjectRe: [Csnd] 'connect' opcode under iOS
They are not, because they are plugins and iOS does not permit dynamic linking (used by plugins).

Victor
On 17 Jan 2013, at 00:53, Martin Huenniger wrote:

> Hi list,
> 
> I'm trying to get csound patches running on the iPhone together with some UI developed in Objective C under iOS 6.0.1. The problem seems to be that the opcodes 'connect', 'outleta' and 'inleta' are not supported under this platform. The patch I wrote is running flawlessly under CsoundQT in Version 5.18 but libcsound library together with all the bindings and API-stuff of the very same package won't play any sounds until all of the afore mentioned opcodes are commented out. 
> 
> Best regards,
> Martin
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-17 07:56
FromMartin Huenniger
SubjectRe: [Csnd] 'connect' opcode under iOS
Hi Victor,

ah. Thank you for the insight. Good to know. A good point to start to look at if other inconveniences occur.

Best,
Martin
  
Am 17.01.2013 um 08:35 schrieb Victor Lazzarini:

> They are not, because they are plugins and iOS does not permit dynamic linking (used by plugins).
> 
> Victor
> On 17 Jan 2013, at 00:53, Martin Huenniger wrote:
> 
>> Hi list,
>> 
>> I'm trying to get csound patches running on the iPhone together with some UI developed in Objective C under iOS 6.0.1. The problem seems to be that the opcodes 'connect', 'outleta' and 'inleta' are not supported under this platform. The patch I wrote is running flawlessly under CsoundQT in Version 5.18 but libcsound library together with all the bindings and API-stuff of the very same package won't play any sounds until all of the afore mentioned opcodes are commented out. 
>> 
>> Best regards,
>> Martin
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga