iPhone 4 Bluetooth Server Configuration Using RJz, RJDJ, and PDvanilla

I have been working with an Arduino touch screen interface for the instrument i have been building. As an alternative that is multi touch i have been looking at the iPod and iPhone.

Today myself and Allesandro worked on getting RDJ and PD vanilla to work together. We created a network based on the information Adam Parkinson gave us last time we met but used the RJz server instead of the Python script from the terminal (we’d both had problems getting this to work on our laptops, though it worked perfectly well on Adams – it could be an issue with the age of the software on my MacBook)

We then made some simple PD patches that could be uploaded on our server to the iPhone4 via Bluetooth.
The first a simple reverb patch that added reverb to your voice.
The second the reverb amount (wet and dry balance) controlled by the accelerometer in the phone and the third a simple accelerometer controlled oscillator with reverb.

The “m_scale” object to change the data from the accelerometer in the range -1 to +1 to between 0 and 1. The range 0 to 1 was determined from the properties of the wet / dry slider in the “e_reverb” example.

Here’s how we set the server and Iphone up to work together:
Server configuration on the new Mac in Space8
1. SETTIING UP THE RJDJ SERVER on MAC PRO QUAD disconnect the ethernet and create a wifi network with the name quad_rjdj. Use the following information:
server ip: 169.254.130.255
server subnet mask: 255.255.0.0

2. run this /Users/dmrender_quad/Music/RJDJ

3. In Rjz Server
file… set scene directory… rjdj_scenes
this will be the folder to put your rddj scenes in to upload to your iThing

iPhone/iPod Configuration
3.PUT THE AIRPORT MODE and WIFI ON
then setup the quad_rjdj wireless connection with these parameters
iphone ip: 169.254.130.254 (change the last three numbers, don’t use any number higher than 254)
subnet mask: 255.255.0.0
proxy manual
server: 169.254.130.255
port: 8314

4. RUN RJDJ on your iPhone
if you want to upload new scenes, select the rjdj.me button on your rjdj application

if you want to upload new scenes on the computer/server, you must put your .rj folders inside the following folder
/Users/dmrender_quad/Music/RJDJ/rjdjws_mac/rjdj_scenes

Enjoy!

Ale & Ben + Adam

The area for the touch screen can be seen in this image behind the red clamp on the right.

Instrument

Instrument

RJz Server Showing RJDJ Scenes

RJz Server Showing RJDJ Scenes

Comments (0)

Setting up a server for iPhone4 and Creating RJDJ scenes with PD Vanilla

Today myself and Allesandro worked on getting RDJ and PD vanilla to work together. We created a network based on the information Adam Parkinson gave us last time we met but used the RJz server instead of the Python script from the terminal (we’d both had problems getting this to work on our laptops, though it worked perfectly well on Adams – it could be an issue with the age of the software on my MacBook)

We then made some simple PD patches that could be uploaded on our server to the iPhone4 via Bluetooth.
The first a simple reverb patch that added reverb to your voice.
The second the reverb amount (wet and dry balance) controlled by the accelerometer in the phone and the third a simple accelerometer controlled oscillator with reverb.

The “m_scale” object to change the data from the accelerometer in the range -1 to +1 to between 0 and 1. The range 0 to 1 was determined from the properties of the wet / dry slider in the “e_reverb” example.

Here’s how we set the server and Iphone up to work together:
Server configuration on the new Mac in Space8
1. SETTIING UP THE RJDJ SERVER on MAC PRO QUAD disconnect the ethernet and create a wifi network with the name quad_rjdj. Use the following information:
server ip: 169.254.130.255
server subnet mask: 255.255.0.0

2. run this /Users/dmrender_quad/Music/RJDJ

3. In Rjz Server
file… set scene directory… rjdj_scenes
this will be the folder to put your rddj scenes in to upload to your iThing

iPhone/iPod Configuration
3.PUT THE AIRPORT MODE and WIFI ON
then setup the quad_rjdj wireless connection with these parameters
iphone ip: 169.254.130.254 (change the last three numbers, don’t use any number higher than 254)
subnet mask: 255.255.0.0
proxy manual
server: 169.254.130.255
port: 8314

4. RUN RJDJ on your iPhone
if you want to upload new scenes, select the rjdj.me button on your rjdj application

if you want to upload new scenes on the computer/server, you must put your .rj folders inside the following folder
/Users/dmrender_quad/Music/RJDJ/rjdjws_mac/rjdj_scenes

Enjoy!

Ale & Ben + Adam

Comments (0)