Hi Glenn,
On Tue, 13 Nov 2018 at 20:20, Duna <
glenn...@gmail.com> wrote:
> Hello,
Welcome!
> I'm trying to use beat detection with Praxis Live. I'd like to take the output of another computer (running TidalCycles) and route that to the input of my computer (running PraxisLive).
> This is for a college assignment, where we are asked to perform live coding with audio and visuals working together from different computers.
Have you thought about using the OSC input for this? You can control
parameters and even send code fragments over OSC from Tidal ...
theoretically, haven't actually tried this yet.
> I was told that minim can be used for beat detection from TidalCycles into Processing, and was wondering if the same could be achieved as PraxisLive uses Processing language.
You can have a look at adapting the Funky Origami or Live Coder
examples under the Audio section - both have a custom FFT component
controlling visuals. At the moment, there's no beat detection
component, but you might be able to make one from the FFT code.
You'll just have to replace the bulk of the audio nodes with an audio
input, and add a gain or mixer set to 0.00001 before the output if you
don't want feedback!
> I can see that Praxis imports it's own libraries, but cannot find an option at all, even manual, to import external libraries. In this case, minim.
You can use any Processing or Java libraries by right-clicking the
project node, choosing Properties, then Libraries. You'll need all
the necessary JAR files to hand. There isn't a Processing library
importer UI as yet.
Having said that, I don't know how well you'll get on with integrating
Minim, and I'm not much of a fan of it, or the general way of working
with audio in Processing. You'd be better using PraxisLIVE's own audio
support.
> Is there any way I can use minim for beat detection for my situation? And if not, is there an alternative way for me to take the output of TidalCycles, apply some type of beat detection and use that to co-ordinate my visuals in PraxisLive?
Think I covered it above. I'd definitely look at sending OSC first off.
Hope that helps. Let us know if you need anything more, or jump on
the Gitter chat.
https://gitter.im/praxis-live/
Best wishes,
Neil
--
Neil C Smith
Artist & Technologist
www.neilcsmith.net
PraxisLIVE - hybrid visual live programming
for creatives, for programmers, for students, for tinkerers
www.praxislive.org