View unanswered posts | View active topics It is currently Wed May 22, 2013 9:58 pm



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5
 BBSocket 0.0.5 
Author Message
BBWise

Joined: Tue Aug 23, 2005 2:50 pm
Posts: 59
Location: England
Reply with quote
Post bb-osc 0.0.2
Ok here's my latest script with osc and bb communication running in different threads via twisted... it's pretty much there in terms of functionality...

However...
bro@ms with spaces can't as yet be sent from osc to bb :!:

Also, the bb bro@m strings to osc need converting to ints/floats to be usable.
I'll prob do this in python when I've figured out who to get a bbi slider to append it's current value to the onChange bro@m #-o

I'll make something useful using this when it's finished and i have a bit more time.

Requirements: SimpleOSC : v0.2.3 and twised for python and pd extended (for testing)

Attachments deleted as 0.0.3 is far superior.


Last edited by sammynono on Fri Jul 27, 2007 4:19 pm, edited 2 times in total.



Wed Jul 25, 2007 11:49 pm
Report this post
Profile WWW
Sponsored Links
Google Adsense


Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post Re: bb-osc 0.0.2
sammynono wrote:
I'll prob do this in python when I've figured out who to get a bbi slider to append it's current value to the onChange bro@m #-o


As per my post here for bbOSD
Code:
@BBInterface Control SetAgent Slider2 OnChange Bro@m "@BBOSD "Volume: $$BroadcastValue$$ ""

_________________
-- Brian


Thu Jul 26, 2007 3:56 am
Report this post
Profile ICQ YIM WWW
BBWise

Joined: Tue Aug 23, 2005 2:50 pm
Posts: 59
Location: England
Reply with quote
Post Re: BBSocket 0.0.5
badass!
thanks... as ever tresni =D>


Thu Jul 26, 2007 1:21 pm
Report this post
Profile WWW
BBWise

Joined: Tue Aug 23, 2005 2:50 pm
Posts: 59
Location: England
Reply with quote
Post bb-osc 0.0.3
NEW: Includes a simpleFM synthesiser with bbi frontend so you can knock out your own Forbidden Planet soundtrack while cruising your box. (I love that film)

String manipulation and int conversion using eval in the lineReceived function.

So a slider with an onChange bro@m set like so:
@BBInterface Control SetAgent :Slider1 OnChange Bro@m "@Slider1 $BroadcastValue$"
will send:
@Slider1 0.191575
and it comes through in OSC as:
/bb/slider1 0.191575

OSC doesn't support whitespace in arguments, so I've coded for "|" to be replaced with " " in python after the OSC traversal.
This means @script[@bro@m1 | bro@m2] style bro@ms are out.
I've figured that the apps that support OSC have better scripting capabilities than using an @script anyway.

Added a readme too.

Thanks Carsomyr for the great BBSocket plugin it rules.
I feel like I've hi-jacked this thread though... forum admins feel free to move all my bb-osc related stuff to a new thread :arrow:


Attachments:
bb-osc 0.0.3.zip [5.46 KiB]
Downloaded 84 times
Fri Jul 27, 2007 1:58 pm
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post Re: BBSocket 0.0.5
Thank you, sammynono. :D

bbSocket can't do anything by itself.

_________________
Try boxCore! :)
boxCore homepage. Forum thread on lostinthebox.
Bugs, Feature requests


Fri Jul 27, 2007 4:49 pm
Report this post
Profile WWW
BBWise

Joined: Tue Aug 23, 2005 2:50 pm
Posts: 59
Location: England
Reply with quote
Post Re: BBSocket 0.0.5
No problem... it was a fun little project and I learnt a bit of python along the way.

bb-osc can't really do anything alone either.. it's just a protocol transport :wink:


Sun Jul 29, 2007 9:15 pm
Report this post
Profile WWW
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.