OSC for iPhone

View: New views
3 Messages — Rating Filter:   Alert me  

OSC for iPhone

by Marcel Fuchs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I implemented the ObjCOSC library, an Objective-C wrapper on CNMAT's
OSC-Kit, but I haven't been maintaining it because I switched to using
oscpack 4 or 5 years ago.

Here is an example showing how to use oscpack in Objective-C code.

  http://www.illposed.com/software/dls/cocoaoscpack.zip

- sekhar 

The Project compiles in Xcode without any errors, but seems like 
moving the fader does not do anything. I am using PureData and I am 
listening to port 57130 and 57120, but nothing happens. Is this cocoa 
project supposed to run out of the box, or do I have to precompile 
oscpack or something I don't know of?

I am very new to xcode, Obj-C and C++, and I am neither used to Unix
filesystems that much - basically what I want is to include oscpack
into my Obj-C project, I don't want to make it shared. I managed to
build a project including oscpkack - using the correct search headers
path and such, having oscpack in my project root. Running the basic 
example included into my main.mm does not cause problems, and I don't 
get any build errors- but there seems to be no output either, no matter 
which port I use.

What is the best way to reach my objective? I've spent a lot of time
on this, any help would be highly appreciated!

-Marcel


_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: OSC for iPhone

by Gaspard Bucher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Marcel !

In oscit, there is an XCode project to build liboscit (containing
oscpack) for the iPhone.

I am currently creating an oscit remote for the iPhone so the code is
pretty live at the moment.

As I stabilize the iPhone specific code, I will add the bridge source
files to liboscit (ObjC -- C++). Using oscit, your application would
directly benefit from the zeroconf (service auto-discovery) part of
oscit and its powerful Value abstraction...

Gaspard

On Thu, Aug 20, 2009 at 3:49 AM, Marcel Fuchs<captainbrainless@...> wrote:

> I implemented the ObjCOSC library, an Objective-C wrapper on CNMAT's
> OSC-Kit, but I haven't been maintaining it because I switched to using
> oscpack 4 or 5 years ago.
>
> Here is an example showing how to use oscpack in Objective-C code.
>
>   http://www.illposed.com/software/dls/cocoaoscpack.zip
>
> - sekhar
>
> The Project compiles in Xcode without any errors, but seems like
>
> moving the fader does not do anything. I am using PureData and I am
>
> listening to port 57130 and 57120, but nothing happens. Is this cocoa
>
> project supposed to run out of the box, or do I have to precompile
>
> oscpack or something I don't know of?
>
> I am very new to xcode, Obj-C and C++, and I am neither used to Unix
>
> filesystems that much - basically what I want is to include oscpack
>
> into my Obj-C project, I don't want to make it shared. I managed to
>
> build a project including oscpkack - using the correct search headers
>
> path and such, having oscpack in my project root. Running the basic
>
> example included into my main.mm does not cause problems, and I don't
>
> get any build errors- but there seems to be no output either, no matter
>
> which port I use.
>
> What is the best way to reach my objective? I've spent a lot of time
>
> on this, any help would be highly appreciated!
>
> -Marcel
>
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>
>
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Parent Message unknown Re: OSC for iPhone

by Marcel Fuchs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gaspard worte:

> Hi Marcel !
>
> In oscit, there is an XCode project to build liboscit (containing
> oscpack) for the iPhone.
>
> I am currently creating an oscit remote for the iPhone so the code is
> pretty live at the moment.
>
> As I stabilize the iPhone specific code, I will add the bridge source
> files to liboscit (ObjC -- C++). Using oscit, your application would
> directly benefit from the zeroconf (service auto-discovery) part of
> oscit and its powerful Value abstraction...
>
> Gaspard


Thanks for your quick response, Gaspard!

That sounds pretty nice - oscpack itself is not that convenient to
use, since it only offers basic osc communication.

Meanwhile I managed to get the oscpack-example successfully running.
All the sudden it ran without any problems, maybe there have been some
problems within puredata not reading my ports.

Problems with my own implementation still exist, though, but I will  
figure
it out soon.

Marcel
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev