Topic: Using Pianoteq standalone as both input and output.

I recently discovered pianist Dan Tepfer’s Natural Machine project ( see https://www.youtube.com/user/MainDoorMusic ). He does incredible things by interacting via software with his Yamaha Disklavier and also generating very interesting and fascinating visual output from his music. He uses SuperCollider (see https://supercollider.github.io/ ) for controlling his piano, a free and powerful development environment for generating software synthesizers and algorithmic music via an object-oriented interpreted programming language.

If he can do this with a Disklavier, why not with Pianoteq, and indeed, with a very simple program I can play with myself a simple canon to the octave, the well-known Frère Jacques. With a specified delay of 3 seconds, I just play the melody and Pianoteq follows by itself an octave  higher…

It opens up quite a lot of possibilities I think!

Here is the simple Supercollider program I wrote:

(
MIDIClient.init;
MIDIIn.connectAll;

m = MIDIOut.new(0);
m.latency = 3;

MIDIdef.noteOn(\On,
    {
    arg vel, nn, chan, src;
    if (chan == 0, {
    m.noteOn(1, nn + 12, vel);
    }
    );
}
);

MIDIdef.noteOff(\Off,
    {
    arg vel, nn, chan, src;
    if (chan == 0, {
    m.noteOff(1, nn + 12, vel);
    }
    );
}
);
)

(It uses the internal IAC bus on the Mac for MIDI communication; I don’t know what would be the equivalent for Windows or Linux)

Here is the resulting simple audio example: https://www.forum-pianoteq.com/uploads....acques.mp3

For much more interesting examples and a great introduction see: https://www.youtube.com/watch?v=Gl39TYRDs90

Last edited by Gilles (07-10-2019 13:35)

Re: Using Pianoteq standalone as both input and output.

I just watched the video - absolutely amazing Gilles. Thank you for sharing,

Warmest regards,

Chris

Re: Using Pianoteq standalone as both input and output.

sigasa wrote:

I just watched the video - absolutely amazing Gilles. Thank you for sharing,

Warmest regards,

Chris


Yes, Dan Tepfer is an incredibly talented and inventive artist! Just to have the idea to draw in real-time 3D versions of the Lissajous curves for his left hand chords is incredible and beautiful in itself!

In this other video  ( https://www.youtube.com/watch?v=0L6tzG3FkcU ) at around 2:30, he demonstrates a much simpler program where every note is slightly delayed and inverted around a pivot note while he plays with the interaction. This is quite simple to program and here is some of my tone colour rambling with it on Pianoteq’s Bechstein, ending with a mirrored chromatic scale:

https://www.forum-pianoteq.com/uploads....ersion.mp3

Of course, I’m no Dan Tepfer, but I was also surprised at times at the resulting inverted sections. I used a 0.3 second delay but for instance, with a delay of 0 you can play huge block chords by repeating notes on all octaves…


My point with this topic is that real-time interaction with SuperCollider and the standalone version of Pianoteq works very well and adds a lot of capabilites. Pianoteq records everything (what is played and what SuperCollider adds) and I find it much simpler to use one standalone Pianoteq than to work with multiple instances inside a DAW.

And I did not even boot the very powerful synth generator that can add to Pianoteq’s playing, I just used the language.

Seeing the notes added by SuperCollider is easy with the red colored keys and there is no risk of collision with the fingers as Dan Tepfer has to avoid with the Disklavier being physically played…

I will surely be thinking about how to use this powerful real-time capacity as of now.

Re: Using Pianoteq standalone as both input and output.

using Supercollider with Pianoteq is a great idea.  i will definitely try it out.

Re: Using Pianoteq standalone as both input and output.

That was badass!

Re: Using Pianoteq standalone as both input and output.

Gilles, thanks for this deeply interesting info.

I knew about Processing but was completely unaware of Dan's work and the Supercollider software (quite a name ...lol).

Music was my first love. And it will be my last. Music of the future. And music of the past (John Miles)