Kyma Forum
  Tips & Techniques
  Shift the values inside an array of SoundToGlobalControllers?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Shift the values inside an array of SoundToGlobalControllers?
ChristianSchloesser
Member
posted 29 June 2012 21:33         Edit/Delete Message   Reply w/Quote

LiveSequencerWithPatternStoreSimplified.kym

 
Hi Kymunity,
maybe somebody could help me with this.
I am not shure if it might by a conceptual problem or if i am on the right path to success.
I created a simple version of the monophonic live sequencer i am currently working on to complete my liveset.

But now i am stuck and maybe somebody hast the experience to help me a little bit..

I would like to shift Pitches and the Velocitys independently from each other to the << left or right >> with an extra button(MIDI Note).
In a standard sequencer prototype this is really no problem but i
i figured out how to "record" live and then save this patterns in the VCS.
I record the pitches/gates/Velocities into a simple array of TriggeredSoundToGlobalControllers with AllowLiveOverride switched to on... This enables storing sequence Presets via the VCS presets!

But maybe this is conceptually totally wrong...

Now i want to manipulate this patterns to correct errors or to change them and store again.
Any advice or suggestions?

Every help or idea is appreciated!
Have a nice day and all the best from Berlin
Chris

p.s.: i just came up with the idea of "double buffering" the current values...but i am not right shure if this would help and how to implement ...

[This message has been edited by ChristianSchloesser (edited 29 June 2012).]

IP: Logged

pete
Member
posted 01 July 2012 11:27         Edit/Delete Message   Reply w/Quote

LiveSequencerWithPatternStoreSimplified2.kym

 
Hi Christian

Sorry I'm not answering your problem as I haven't yet downloaded the latest Kyma version but I did notice another point with your recordable sequencer. It's to do with human beings. When we play notes we try to play on the beat of what we hear. In reality we play either side of the beat. Your sequencer records on the beat or after so note played just before the beat are writing to the wrong sequencer slot.

Try this test

Change the sequencer to 8 note (end 7) and poly to 1. Play the sound and and put the swing to 0 and the BPM to 40 and press record. Now try to record the scale of C major. It doesn't work. The only way to do it is play it half a beat late then it plays back correctly. The record needs to be advanced by half a beat to work correctly. I thought of lots of ways of making the step one early and then delaying half a beat delay to the record triggers but then realized that all you need to do is delay the final sound by half a beat. It means that the beat indicator on the screen is early but it seems OK.

Try the attached and I think you won't make so many mistakes when recording.

Hope this makes sense

Pete

IP: Logged

ChristianSchloesser
Member
posted 01 July 2012 13:17         Edit/Delete Message   Reply w/Quote
Thank you for the tips Pete!

quote:
Originally posted by pete:
In reality we play either side of the beat. Your sequencer records on the beat or after so note played just before the beat are writing to the wrong sequencer slot.

I am aware of this problem, actually the aprox. 5 to 10 ms latency involved while triggering Kyma with a MIDI device over LAN from another Computer in my setup ... simply delays the notes to the right slots if i playing in the 100 to 125 bpm range i need for my setup ... ;-)

I hope i will find a ways to shift and wrap around the pitches and velocities of the whole pattern independently.

I had a really simple solution in mind but it does not work yet.
I ll keep you updated
Have a nice day and thanx again.
Chris

IP: Logged

ChristianSchloesser
Member
posted 01 July 2012 13:32         Edit/Delete Message   Reply w/Quote
Hi Pete,
When i load your version of the sound created with the older version of kyma ... all the nice patterns are gone :-(

Anyway my strange way of triggering allows you to "Delay the Keydowns!" into the upcoming "slot". If you shift the (!Keydown ramp: 5 ms) into another range to use the "Trigger becomes greater than zero" condition.

By useing for example 1/2 of a step you should get what you need I think...

All the best
Chris

ps: also the "alignWith:" message could be helpful to record into the correct "slot"

[This message has been edited by ChristianSchloesser (edited 01 July 2012).]

IP: Logged

ChristianSchloesser
Member
posted 01 July 2012 15:39         Edit/Delete Message   Reply w/Quote
YES! I' v figured it out...without a buffer!
Kyma is so great!

But the buffer idea is not so bad at all.
I will try to use it to copy velocities, gates and pitches between the different presets now(using a set of TriggeredSoundToGlobalControllers with "affected by presets switched to "off").

It is all a bit different in Kyma but i ve got the feeling today that everything is possible somehow ... and if it works it works great!
This was really a big step for me!

Now i have to implement all the missing parts of my complex version.

All the best
Chris

[This message has been edited by ChristianSchloesser (edited 01 July 2012).]

IP: Logged

ChristianSchloesser
Member
posted 03 July 2012 06:11         Edit/Delete Message   Reply w/Quote
The Ideas of Pete are great and helped a lot!

The Idea of recording into a "Slot" and the timing is essential!

I am really happy about the "AllowLiveOverride" because it made possible to store patterns

I managed to merge a AKAI MPC "record live" Pattern Sequencer into a Roland TR-X0X "chase light" Sequencer within Kyma only.

The second array of "Buffer"s i talked about made it possible to copy through KYMA Preset.... and all that ... with just 9 to 10 % of DSP usage of one DSP! I am wondering how my old drum sequencer will work with the new Kyma version... anyway

.... this never happened for me in MAX/MSP, Reaktor or even Supercollider before and i am not so bad...especially in the last one ;-)

There are a some detours in Kyma...but it all works great!

CapyTalk is not like I thought before ... but it is amazingly tight !

Now i will go for the Polyphonic parts...

Thank you all
Chris

P.S: I would real like a SYSEX receiving MIDI or Byte wise Input like InputMidiStreamInputToGlobalController!

[This message has been edited by ChristianSchloesser (edited 03 July 2012).]

IP: Logged

ChristianSchloesser
Member
posted 03 July 2012 08:14         Edit/Delete Message   Reply w/Quote
[QUOTE]Originally posted by ChristianSchloesser:
[B]The Ideas of Pete are great and helped a lot!

The Idea of recording into a "Slot" and the timing is essential!

I am really happy about the "AllowLiveOverride" because it made possible to store patterns

I managed to merge a AKAI MPC "record live" Pattern Sequencer into a Roland TR-X0X "chase light" Sequencer within Kyma only.

The second array of "Buffer"s i talked about made it possible to copy through KYMA Preset.... and all that ... with just 9 to 10 % of DSP usage of one DSP! I am wondering how my old drum sequencer will work with the new Kyma version... anyway

.... this never happened for me in MAX/MSP, Reaktor or even Supercollider before and i am not so bad...especially in the last one ;-)

There are a some detours in Kyma...but it all works great!

CapyTalk is not like I thought before ... but it is amazingly tight !

Now i will go for the Polyphonic parts...

Thank you all
Chris

P.S: I would real like a SYSEX receiving MIDI or Byte wise Input like InputMidiStreamInputToGlobalController!

I hope that i will have the opportunity to show you all what i am doing with all this stuff... lots of blink lights on a Novation Launchpad(TR STyle) and a padKontrol(MPC like)... first live use will be in 2 weeks ...

[This message has been edited by ChristianSchloesser (edited 03 July 2012).]

IP: Logged

SSC
Administrator
posted 04 July 2012 16:23         Edit/Delete Message   Reply w/Quote
quote:
P.S: I would real like a SYSEX receiving MIDI or Byte wise Input like InputMidiStreamInputToGlobalController!

What is it that you want to send as a SYSEX? Could you send the information as a MIDI continuous controller? You could put the Controller name as the Value of a SoundToGlobalController then.

quote:
I hope that i will have the opportunity to show you all what i am doing with all this stuff... lots of blink lights on a Novation Launchpad(TR STyle) and a padKontrol(MPC like)... first live use will be in 2 weeks ...

Yes please! We are eager to see some blinking lights!

IP: Logged

ChristianSchloesser
Member
posted 04 July 2012 17:54         Edit/Delete Message   Reply w/Quote
Actually i would like to receive a sysex message from MIDI, analyze it and then replace the incomeing bytes into a Kyma !HotValue.
That would allow Kyma to be controlled via sysex.

Sending out a !HotValue within a sysex maessage is already working with Kyma! But you have to generate the message by hand.

The old Peavey 1600, Kenton Kontrol Freak or the BCR 2000 have both a kind of "learn" function which works this way.
The Poti/Faders on this Units just replace "the changing values" of the learned MIDI input stream. These controllers analyze the incoming MIDI stream while in learn mode. When you send a sysex or any other MIDI message while in learn mode you can look for the changing bytes in the messages.
Most MIDI sysex messages of synthesizers are build like that only one byte changes if you just change one parameter via sysex.
That makes it possible to Build Sysex messages very fast and build MIDi Editors for example very quick.

In my example this would make it possible to use Kyma with the Korg PadKontrol in so called "Native Mode"and Edit/Save sounds of external MIDI Equipment within Kyma Presets.

I ll try to capture a nice video of my controller setup from one of the next studio sessions or one of our upcoming live performances.

Have a nice day
Chris


IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c