Loading...
Logo
Processing Forum
Hi all,
I want to present to the community a new Processing application that i maked for live perfomances like vj, etc.

P4live is a all-in-one tool with a complete interface for add realtime layers in live performances: dance, vj, realtime graphics for bands, etc.

Now only in beta version.
Tested only in OSX.

Thanks to all library developpers.
http://p4live.googlecode.com/



It includes:

Data input

Music Input

  • Kick, snare & hat detection.
  • BPM.
  • Volume level.
  • Fast Fourier Transformation
  • Wave (left & right)

Functions

  • Independent camera, rotation & fov.
  • Filters.
  • Mixer between sketchs with transitions
  • Midi Mapping.
  • Adjustable sensitivty for each value.
  • Sketchs with alpha oppacity.
  • Output: Window or fullscreen.



Replies(8)

looks very impressive!

When I try to start the application in OSX, I get this error:

Available Sketches in:
/Users/lot/Documents/workspace/p4live/src/p4sketch
------------------------
Exception in thread "Animation Thread" java.lang.NullPointerException
at p4control.Channel.loadVisuals(Channel.java:440)
at p4control.Channel.<init>(Channel.java:86)
at p4live.Interface.<init>(Interface.java:66)
at p4live.P4live.setup(P4live.java:71)
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)

Oh yes, it's true!

I see the problem. is when loading data inside of jar file.
In eclipse all is OK, the problem is exporting sketch.

I uploaded a new version, with extracted files from jar file.
http://code.google.com/p/p4live/downloads/detail?name=P4live-osx-withbugs.zip
(Runs with bugs, you can not load sketchs.)

What is the best way for load xml files for GLTextureFilter in exported sketch?
I need to manually unzip each filter from jar file?

Thanks!

lot.
Ok, it works for me on OSX Lion. On Snow Leopard I get this error:

[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:56)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

As for your question, my own approach is to put all the app resources in a data subfolder next to the app package:

app_folder
  |  p4live.app 
  \---> data
          filter.xml
          shader.glsl
          blah blah


is there an easy way to map a variable to a midi knob ? 


is there any tutorial on how to do this ?

thanx !


i tried with promidi , but cant get it to work .


thanx !
Hi giorgio,

I use midibus.
The library provides 3 methods, noteOn, noteOff and controllerChange.

You can use the method:
controllerChange(int channel, int number, int value)

and inside the method call:

yourVariable = map(value,0,127,minVariable,maxVariable)


Interested, but can't run the app in osx and the svn checkout doesn't contain real source files.
Hi Jazzaiman,

It's true i see that, the structure of subversion directories in google code is not the right.

I plan to repair this the nexts weeks.

I anonce when its ready in this thread.

lot.
Hi, 

I'd love to test your application in Windows 7 - 64bit. 

However, when I click the .exe nothing happens. I've tried running in compatibility mode. 

Cheers


______________________
www.curveaudio.com