B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Discuss anything new and newsworthy! See http://planet.linuxaudio.org and https://libreav.org/news for more Linux Audio News!

Announcements of proprietary software may fit better in the Marketplace.


Moderators: raboof, MattKingUSA, khz

User avatar
milkii
Established Member
Posts: 477
Joined: Tue Jan 05, 2016 9:08 am
Location: Edinburgh
Has thanked: 92 times
Been thanked: 91 times
Contact:

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by milkii »

they/them ta / libreav.org / wiki.thingsandstuff.org/Audio and related pages / gh

sjaehn
Established Member
Posts: 138
Joined: Fri May 03, 2019 6:05 pm
Has thanked: 29 times
Been thanked: 61 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by sjaehn »

Thanks @milk

Fractal patterns would indeed be an interesting option. And it would fit to the algorithm-based approach of the plugin. Discussed alternatives including A. I. and human input discussed here and there all have their disadvantages.

Interestingly, the authors of the paper left some space for a use of randomness in the short time scale. As "at higher frequencies the spectrum whitens..." (and might even become anticorrelated). And "interval fluctuations may also be affected by motor delays discussed above that lead to vanishing LRCs "

Indeed, it would be nice to have such a more advanced humanization option here. Maybe B.Schaffl will come up with a tab with these options in the next future.
tripomatic
Established Member
Posts: 141
Joined: Mon May 21, 2012 4:42 pm
Has thanked: 2 times
Been thanked: 3 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by tripomatic »

looks very interesting. To bad it's only lv2, vst would be handy for me :-).

And what is compressing a midi signal? It that like when velocity of incoming note is 10, you get an output of 127 in most extreme form?
sjaehn
Established Member
Posts: 138
Joined: Fri May 03, 2019 6:05 pm
Has thanked: 29 times
Been thanked: 61 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by sjaehn »

tripomatic wrote: Tue Jun 30, 2020 12:43 pm And what is compressing a midi signal? It that like when velocity of incoming note is 10, you get an output of 127 in most extreme form?
Temporal stretching and compressing. Like conversion of a quarter note to a half or an eigth note. Depending on the stretch or compression of the respective step.

In addition, you can manipulate its velocity using the amp sliders for each step.

You can hear both effects (amp on one hand and temporal stretch/compression on the other) in the preview video linked above.
User avatar
milkii
Established Member
Posts: 477
Joined: Tue Jan 05, 2016 9:08 am
Location: Edinburgh
Has thanked: 92 times
Been thanked: 91 times
Contact:

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by milkii »

they/them ta / libreav.org / wiki.thingsandstuff.org/Audio and related pages / gh

merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by merlyn »

sjaehn wrote:Temporal stretching and compressing. Like conversion of a quarter note to a half or an eigth note. Depending on the stretch or compression of the respective step.
It seems that using the word 'compression' has led to confusion at least in this case, and I think because 'compression' is in such widespread use it will continue to do so.

The words from the music vocabulary are 'augmentation' for stretching and 'diminution' for compressing. They're a bit of a mouthful, so an alternative would be 'temporal stretching and shrinking'. :)
sjaehn
Established Member
Posts: 138
Joined: Fri May 03, 2019 6:05 pm
Has thanked: 29 times
Been thanked: 61 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by sjaehn »

merlyn wrote: Tue Jun 30, 2020 3:55 pm The words from the music vocabulary are 'augmentation' for stretching and 'diminution' for compressing.
I fully agree if we talk about notes. However, the plugin doesn't stretch/augment or compress/diminish only notes. It stretches/compresses steps. And as result *any* MIDI signal. Not only notes. Also CC, aftertouch, ...
merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by merlyn »

I was suggesting 'shrink' may lead to less confusion than 'compress'.
tripomatic
Established Member
Posts: 141
Joined: Mon May 21, 2012 4:42 pm
Has thanked: 2 times
Been thanked: 3 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by tripomatic »

milk wrote: Tue Jun 30, 2020 3:30 pm https://github.com/falkTX/Carla https://github.com/x42/lv2vst and https://github.com/kushview/element can run an LV2 in a VST host
I knew carla & lx2vst existed. Tried compiling lv2vst while back but failed.
Carla vst also failed to load in my daw, but had no time to look what cause if of failure of loading & compiling.
Anyway i always prefer native, extra layers can cause extra problems.

will have look into it again.
sjaehn
Established Member
Posts: 138
Joined: Fri May 03, 2019 6:05 pm
Has thanked: 29 times
Been thanked: 61 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by sjaehn »

milk wrote: Sat Jun 27, 2020 8:29 pm oops, i posted the wrong link initially; https://journals.plos.org/plosone/artic ... ne.0127902
After a while of thinking about it ... I see the limits.

One hand, we have the signal level aspect (amp, velocity). And the temporal aspect on the other. The authors of the paper find (fractal) patterns mainly in the long range. Simplified, if something should sound more human, it sound have some deviation in level and timing over a longer period that follow a fractal pattern.

The problem: concerto.
Plugins are usually connected to a single instrument. If the effect of a plugin results in a significant shift of level or timing over a longer period for a single instrument, this instrument will run out of synchronization with the others.They are not playing together anymore. You can let the instruments re-synchronize after a defined period (done in B.Schaffl at the start of each sequence), but this will destroy the concept of humanization with fractal patterns over a longer period.

On the other hand, MIDI 1.x has 16 channels. So you can route up to 16 instruments through the same plugin. But this approach is a bit trickier in the most of the DAWs. And the instruments may play too synchronous now. Unless some "inter channel humanization" is added.

Challenging. The best way would be having a DAW that can do it all.
tavasti
Established Member
Posts: 2047
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 369 times
Been thanked: 208 times
Contact:

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by tavasti »

sjaehn wrote: Sun Jul 05, 2020 10:21 am The problem: concerto.
Plugins are usually connected to a single instrument. If the effect of a plugin results in a significant shift of level or timing over a longer period for a single instrument, this instrument will run out of synchronization with the others.They are not playing together anymore. You can let the instruments re-synchronize after a defined period (done in B.Schaffl at the start of each sequence), but this will destroy the concept of humanization with fractal patterns over a longer period.

On the other hand, MIDI 1.x has 16 channels. So you can route up to 16 instruments through the same plugin. But this approach is a bit trickier in the most of the DAWs. And the instruments may play too synchronous now. Unless some "inter channel humanization" is added.

Challenging. The best way would be having a DAW that can do it all.
You could have plugins communicating with each other, for example with shared memory. First plugin comes timing master, and others follow that in big picture, but have minor deviations on their own timing.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

sjaehn
Established Member
Posts: 138
Joined: Fri May 03, 2019 6:05 pm
Has thanked: 29 times
Been thanked: 61 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by sjaehn »

Version 0.2 is out now: https://github.com/sjaehn/BSchaffl/releases

Suggestions from here and there were taken in account if possible. Now you can add randomness to both, amp and stretch. Additional humanization features have to wait for later versions of B.Schaffl (see problems discussed here). The biggest difference to version 0.1 is the optional amp shape editor.

What's new:

* Randomize amp
* Randomize stretch
* Process amount for amp and stretch
* Shape editor
* Reset, undo and redo

Snapshot 2020-07-11 11-08-52.png
Snapshot 2020-07-11 11-08-52.png (141.77 KiB) Viewed 1654 times
Basslint
Established Member
Posts: 1511
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 382 times
Been thanked: 298 times

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by Basslint »

Great, amazing! Thanks :D
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
consint
Established Member
Posts: 4
Joined: Sun Sep 29, 2019 10:40 am

Re: B.Schaffl - New pattern-controlled MIDI amp & stretch LV2 plugin

Post by consint »

Thank you!
Post Reply