[Csnd] Re: Re: Re: Re: Re: Re: "p5connect" and "wiiconnect" issues
Date | 2010-09-27 05:36 |
From | kelly hirai |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: "p5connect" and "wiiconnect" issues |
there is an appeal on the libwiiuse webpage for an osx developer. that is about 2 years old. the wii opcodes depend on that. p5 i don't know. On Wed, 6 Oct 2010, Colman O'Reilly wrote: k.> This is good news. Thanks again! Colman On Wed, Oct 6, 2010 at 4:16 PM, Victor Lazzarini |
Date | 2010-10-05 01:28 |
From | "Colman O'Reilly" |
Subject | [Csnd] "p5connect" and "wiiconnect" issues |
Subject: [Csnd] p5connect and wiiconnect issues
Hello –
I’m having two separate issues with Csound not recognizing opcodes that are probably related. For both the “p5connect” and “wiiconnect” I am getting the “error: no legal opcode” message from the console. I easily could be making a mistake on my end, but I was wondering if there have been any known issues with these on OS X 10.6 or if someone has come up with a workaround. For the p5 glove, using Tim Kreger’s “p5osc” I am able to get data from the glove to print to the terminal, and for the WiiMote, using OSCulator I am able to send and receive data. It would be wonderful to get these two opcodes working so I don’t have to rely on an additional program.
My Machine: 32-bit Intel Core 2 Duo MacBookPro3,1 running OS X 10.6.4 I am running Csound 5.12
I so far have only been trying to get the example CSDs from each of the opcodes manual entries. The console printout for the “wiiconnect” issue is:
WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib' (-1) 0dBFS level = 32768.0 Csound version 5.12 (float samples) May 4 2010 STARTING FILE Creating options Creating orchestra Creating score rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled orch compiler: Macro definition for WII_B Macro definition for WII_A Macro definition for WII_R_A Macro definition for WII_PITCH Macro definition for WII_ROLL Macro definition for WII_BATTERY Macro definition for WII_RUMBLE Macro definition for WII_SET_LEDS instr 1 error: no legal opcode, line 22: i1 wiiconnect 3,1 error: illegal character -, line 24: wiirange 20, -20, 0 ^ error: no legal opcode, line 24: wiirange 20, -20, 0 error: no legal opcode, line 25: kb wiidata 27 error: no legal opcode, line 26: kt wiidata 3 error: no legal opcode, line 27: ka wiidata 4 error: no legal opcode, line 28: kra wiidata 304 error: no legal opcode, line 29: gka wiidata 20 error: no legal opcode, line 30: gkp wiidata 21 error: input arg 'kt' used before defined, line 32: if (kt==0) goto ee error: no legal opcode, line 35: wiisend 4, gkcnt error: input arg 'ka' used before defined, line 37: if (ka==0) goto ff error: no legal opcode, line 38: wiisend 3, 1 error: input arg 'kra' used before defined, line 40: if (kra==0) goto gg error: no legal opcode, line 41: wiisend 3, 0 error: input arg 'kb' used before defined, line 43: printk2 kb instr 2 error: input arg 'gkp' used before defined, line 47: a1 oscil ampdbfs(gka), 440+gkp, 1 error: input arg 'gka' used before defined, line 47: a1 oscil ampdbfs(gka), 440+gkp, 1 18 syntax errors in orchestra. compilation invalid
Colman O’Reilly
|
Date | 2010-10-06 13:09 |
From | Macciza Macpherson |
Subject | [Csnd] Re: "p5connect" and "wiiconnect" issues |
Hi I get similar results with latest binary download iMac i7 10.6.4 . Cheers On 05/10/2010, at 11:28 AM, Colman O'Reilly wrote:
Macciza Macpherson Brian Moore guitar, Roland VG99,VG8 & FC300, YamahaVL 70m, KMI StringPort
|
Date | 2010-10-06 14:36 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: "p5connect" and "wiiconnect" issues |
These opcodes are not available on OSX (they depend on libraries that are not present for that OS). If you are using wiimote and P5 glove, you can send OSC messages from these (using a client program such OSCulator) to Csound and use OSC opcodes for it. Victor On 6 Oct 2010, at 13:09, Macciza Macpherson wrote:
|
Date | 2010-10-06 20:46 |
From | "Colman O'Reilly" |
Subject | [Csnd] Re: Re: Re: "p5connect" and "wiiconnect" issues |
Thanks for your help Dr. Lazzarini! I'm relieved that I wasn't doing something wrong. This really is the first time I've encountered anything in Csound that wasn't truly cross platform. Are there any plans to make these OS X friendly in upcoming builds? Especially in the case of the p5 glove (since 10.6 seems to have ruined most of the old software that handled it) it would be wonderful to design instruments that take advantage of Csound being 'future proof.'
Thanks again for the help! Best, Colman
On Wed, Oct 6, 2010 at 9:36 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
|
Date | 2010-10-06 21:16 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: "p5connect" and "wiiconnect" issues |
Since it depends on external software being available on OSX, it's beyond our hands. I will however look again before the next version is released to see if the opcodes can be built on OSX. Note that, it's not always possible to be cross-platform when non-cross-platform dependencies are involved. Victor On 6 Oct 2010, at 20:46, Colman O'Reilly wrote: Thanks for your help Dr. Lazzarini! I'm relieved that I wasn't doing something wrong. |
Date | 2010-10-06 22:13 |
From | "Colman O'Reilly" |
Subject | [Csnd] Re: Re: Re: Re: Re: "p5connect" and "wiiconnect" issues |
This is good news. Thanks again! Colman
On Wed, Oct 6, 2010 at 4:16 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
|
Date | 2010-10-07 08:25 |
From | Macciza Macpherson |
Subject | [Csnd] Re: Re: Re: "p5connect" and "wiiconnect" issues |
Hi I've mucked around with some of the projects re: the p5 - Where would I find the source for the csound p5 stuff? Am about to check if my glove works on my new machine -iMac i7 Cheers Macciza On 07/10/2010, at 12:36 AM, Victor Lazzarini wrote:
Macciza Macpherson Brian Moore guitar, Roland VG99,VG8 & FC300, YamahaVL 70m, KMI StringPort
|
Date | 2010-10-07 09:11 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Re: Re: Re: "p5connect" and "wiiconnect" issues |
> Hi > I've mucked around with some of the projects re: the p5 - Where would I > find the source for the csound p5 > stuff? Am about to check if my glove works on my new machine -iMac i7 > Cheers > Macciza > The p5glove code is in the file Opcodes/p5glpove.c Look at the CVS browser in http://csound.cvs.sourceforge.net/viewvc/csound/csound5/Opcodes/ Or I could mail it to yopu. It uses a library libp5glove_svn_20050206 (the version that works) That came from svn://svn.evillabs.net/libp5glove/trunk (I think) Again I coul dsend it if you need it ==John ff 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" |