Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mapping Discussion
#61
Okay, I have the CVM-8 successfully set up for 0-10v inputs, connected to Nerdseq via I2C. One odd thing I'm noticing is that the output from my Levit8 with knob set to 0v level is showing Mapping Hex:002 when a cable is plugged from Levit8 output into the CVM-8 input, but then correctly showing Mapping Hex:000 when the same cable is instead plugged into CV In 1 on Nerdseq.

This is problematic when assigning CVM-8 input to track mute because the Hex never reaches :000, thus never unmuting. I applied an offset externally and the track muted/unmuted successfully, dropping to Hex:000.

But is it possible in Mapping to virtually 'offset' so that Hex:002 magically becomes Hex:000 instead? TIA!
Reply
#62
(08-01-2024, 06:05 AM)kriskeyman Wrote: Okay, I have the CVM-8 successfully set up for 0-10v inputs, connected to Nerdseq via I2C. One odd thing I'm noticing is that the output from my Levit8 with knob set to 0v level is showing Mapping Hex:002 when a cable is plugged from Levit8 output into the CVM-8 input, but then correctly showing Mapping Hex:000 when the same cable is instead plugged into CV In 1 on Nerdseq.

This is problematic when assigning CVM-8 input to track mute because the Hex never reaches :000, thus never unmuting. I applied an offset externally and the track muted/unmuted successfully, dropping to Hex:000.

But is it possible in Mapping to virtually 'offset' so that Hex:002 magically becomes Hex:000 instead? TIA!

My question is why should the NerdSEQ always compensate things from other products?
And I assume the CVM-8 got also some kind of calibration, no?

It is easy possible to virtually offset. Just add another line and CALC SUB xx=2 (or any higher number or any variable value).
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply
#63
(08-01-2024, 06:15 AM)XORadmin Wrote:
(08-01-2024, 06:05 AM)kriskeyman Wrote: Okay, I have the CVM-8 successfully set up for 0-10v inputs, connected to Nerdseq via I2C. One odd thing I'm noticing is that the output from my Levit8 with knob set to 0v level is showing Mapping Hex:002 when a cable is plugged from Levit8 output into the CVM-8 input, but then correctly showing Mapping Hex:000 when the same cable is instead plugged into CV In 1 on Nerdseq.

This is problematic when assigning CVM-8 input to track mute because the Hex never reaches :000, thus never unmuting. I applied an offset externally and the track muted/unmuted successfully, dropping to Hex:000.

But is it possible in Mapping to virtually 'offset' so that Hex:002 magically becomes Hex:000 instead? TIA!

My question is why should the NerdSEQ always compensate things from other products?
And I assume the CVM-8 got also some kind of calibration, no?

It is easy possible to virtually offset. Just add another line and CALC SUB xx=2 (or any higher number or any variable value).

I completely agree, thank you... and NerdSEQ shouldn't need to compensate for other products. It's magnificent it what it does, and I'm new to all this trying to get I2C work between devices. Thank you for your patience and understanding. I was also able to make the CVM-8 do what I need by modifying the Min Voltage in the ES configurator. I will also try CALC SUB like you recommended. I'm learning  Smile
Reply
#64
I was fooling around with the mapping thinking I definitely was beginning to understand it, but I'm having some trouble with this scenario:

I would like to globally transpose if my source is above a certain threshold. I'm using an I2C fader.

So I get the value from the fader:

Code:
I2C SCCV #8 > SETV V A SRC


Then I set my variables up. B is the threshold value, C is the transpose value and D is transpose at 0.

Code:
VAR # B #73A
VAR # C #80F
VAR # D #88F

Then I do my comparisons

Code:
CALC IF <= VAVB
CALC IF >   VAVB
CALC PASS 14VC > GLOB TPS
CALC PASS 15VD > GLOB TPS

I first did the logic for the slider above the threshold, which worked. Then I did the value below the threshold to set the transpose to 0, which also worked, but if I do both it doesn't work.


The setup I wrote here sets the transpose correctly when the fader is up, but the bottom position sets the transpose to minimum value (-128).

If I swap the CALC PASS steps around, the 0 transpose works (but in the upper position), but the bottom position now gives me -128 transpose.
Reply
#65
(08-21-2024, 09:45 PM)visti Wrote: I was fooling around with the mapping thinking I definitely was beginning to understand it, but I'm having some trouble with this scenario:

I would like to globally transpose if my source is above a certain threshold. I'm using an I2C fader.

So I get the value from the fader:

Code:
I2C SCCV #8 > SETV V A SRC


Then I set my variables up. B is the threshold value, C is the transpose value and D is transpose at 0.

Code:
VAR # B #73A
VAR # C #80F
VAR # D #88F

Then I do my comparisons

Code:
CALC IF <= VAVB
CALC IF >   VAVB
CALC PASS 14VC > GLOB TPS
CALC PASS 15VD > GLOB TPS

I first did the logic for the slider above the threshold, which worked. Then I did the value below the threshold to set the transpose to 0, which also worked, but if I do both it doesn't work.


The setup I wrote here sets the transpose correctly when the fader is up, but the bottom position sets the transpose to minimum value (-128).

If I swap the CALC PASS steps around, the 0 transpose works (but in the upper position), but the bottom position now gives me -128 transpose.

I think it is pass value or zero so 2 lines and one would in the end overrule the first one.

You might put the latter one also around skip conditions so that always only one of the 2 lines is being executed.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply
#66
I’d like to use a source to modify MIDI velocity for a specific track. In the manual, it seems I can only use MIDI velocity as source, not destination?
Reply
#67
(09-11-2024, 07:44 AM)kriskeyman Wrote: I’d like to use a source to modify MIDI velocity for a specific track. In the manual, it seems I can only use MIDI velocity as source, not destination?

Velocity is not a standalone thing but always coupled together with a note and so just sending velocity is impossible.

If you want to define the note velocity of a midi track note of one of the 4 columns then you can use variables. Just decide which variable you want to use to decide the midi notes velocity.
One thing to consider, you got to take care that the variable will never get 0 in the current version as it will lead to a crash. So be sure you always have the variable between 1 and 4095/FFF. That is easy by just add 1 to the variable in the line of the variable destination. I fixed that already in the upcoming version, but for now that is what it is.
Something like choose your sourcevalue.
Next line 'CALC' 'ADD' 'row of sourcevalue  =1'   >  Variable  A as the destination.

And in the midi velocity you choose the Variable as the velocity. Variable values are 1-4095 which end up in velocities from 1 - 100%
If you want to add a bit dynamic, then range your value to like 1 - 80% and add the rest 20% with a random number or something like this.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply
#68
Hi! This is my first time posting here so I should begin by saying thank you for designing this beautiful module! It's a powerhouse and really fun to play with.

I am posting here because I really want to get to know the mapping functionality. Tonight I tried to figure out how to create a sort of precision adder by adding the notes from CV1 with the notes from CV2 and then sending them out CV1.

At first I tried sending CV1 and CV2 into Variables A and B, and then CALC ADD Var A + Var B and sending to CV1 Notes

The results were very jittery and I figured the algorithm was running at 1000 times a second, continually going back and forth between the notes on TRK 1 and the CALC sum.

Then I tried using Skip to skip the CALC function and then using XMAP on the pattern to execute the CALC only at the moment when it needed to execute. It kind of worked but the resulting pitches were a little all over the place.

I'm going to keep trying. I'm just now noticing that I can use TRACK TRK1 NOTES instead of CV1. I will also have to check out the example bouncing ball and Turing machine to better wrap my head around it.

Would you be able to recommend a method for creating a precision adder that adds notes from TRK 1 and TRK 2 and sends the sum out of CV 1? Thanks again!
Reply
#69
(09-14-2024, 07:00 AM)theb_roll Wrote: Hi!  This is my first time posting here so I should begin by saying thank you for designing this beautiful module!  It's a powerhouse and really fun to play with. 

I am posting here because I really want to get to know the mapping functionality.  Tonight I tried to figure out how to create a sort of precision adder by adding the notes from CV1 with the notes from CV2 and then sending them out CV1. 

At first I tried sending CV1 and CV2 into Variables A and B, and then CALC ADD Var A + Var B and sending to CV1 Notes

The results were very jittery and I figured the algorithm was running at 1000 times a second, continually going back and forth between the notes on TRK 1 and the CALC sum.

Then I tried using Skip to skip the CALC function and then using XMAP on the pattern to execute the CALC only at the moment when it needed to execute.  It kind of worked but the resulting pitches were a little all over the place. 

I'm going to keep trying.  I'm just now noticing that I can use TRACK TRK1 NOTES instead of CV1.  I will also have to check out the example bouncing ball and Turing machine to better wrap my head around it.

Would you be able to recommend a method for creating a precision adder that adds notes from TRK 1 and TRK 2 and sends the sum out of CV 1?  Thanks again!

Hey!

Actually you need to output it to another output than CV1 if you use it also as a source.
So CV1 = CV1 + CV2 would manipulate your CV1 already.
Try CV1 + CV2 = MOD1 
And indeed want to do that using notes instead of pitches.

So use the calc pitch2note with the source values and output to MOD1 note.

Would look like this:
00 CV1 OUT1 >
01 CV2 OUT2 >
02 CALC P2NT 00=0 >
03 CALC P2NT 01=0 >
04 CALC ADD 0203 > CV NOTE MOD1

And you figured out well, it executes 1000 times/second. (As described on page 135 in the manual)

Skipping something and XMAP is not necessary with this.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply
#70
Thanks so much for the response!  That works perfect!  Good to know it's best not to use a source as a destination.  It makes sense when you say it out loud like that. ha. Better to use a free destination.  I'm going to keep trying to figure out how to map these seemingly basic but useful sequencing functions.  I might be back with more questions.  Thanks again!  Love the Nerdseq!


edit*

I think I may have found a bit of an issue in the above Precision Adder mapping.  In the case of adding notes from CV1 and CV2 it works correctly, except by 1 semi-tone.  If you add C0 to C0 it works as expected.  Nothing is added.  But if you add C1 to C0 you need to change it to C#1 + C0 to add up to an octave.  Does that make sense?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)