taking inspo from this plug in i have
length - how much of the sequence
density - the likelihood of playing the step
64 sequencer always
1st note is always on, otherwise no acid!!
16th time otherwise no acid!!
Opening up the max patch to see what’s going on. How do this in C++?
Basically what i got from this:
Trying it:
first try making 1 sequence of 64 notes
https://wiki-content.arduino.cc/en/Tutorial/Loop/ - need to use a for loop
try to get the sequencer to generate a new sequence every time you change the mode (press the button) and once when you first turn it on (put it in set up)
a new sequence generates every third time I press the button (because it goes through drone mode)
changing this part this is old
so far it was just making numbers - now try to get it to make sound/play notes with the numbers
48-50 are midi note numbers. need to convert to frequency
means overflow -.- error zzzz … means the result was too big of a number
forgot the parenthesis
it works it playing now
it work
next do velocity knob, 64 arrays of 64 like dis sequenceVelocity[64][64];
threshold of 10 -30
int densityThreshold = map(thisDensity, 0, 63, 10, 30);
fix:
drone mode not droning
notes not sequencing (triggering the envelopes… but not???)
frequency knob
sine wave is clicking before the filter
next time! check the gesture record
frequency knob stay in same key
only in arp? or only when the midi coming in ?
check where the clicking is coming from —clipping is coming before and after filter?
check audio paths and try lower everything 10% maybe
added peak block to the gui to read the peaks of each of the mixers. checking if it clips or if the value goes over 1
levels are fine… test the envelopes to see if its causing the clicking when notes overlap
Check the envelope documentation …
add this in set up
IT SOUNDS WAY WORSE LOLS
Checking the forum to see what to do about the pops and clicks
https://forum.pjrc.com/index.php?threads/clicking-envelope-with-audio-library.27806/page-4
Trying this code
Clicking envelope with Audio Library?
https://github.com/PaulStoffregen/Audio
find the envelope.h source code here ^
test decay knob
add one more knob function (gesture playback speed?)
code the last button
Fix the power from the lights -
maybe change the switch so the battery only powers the lights
hmm what about that double cable
break the red trace from the switch to the teensy
connect the lights to the switch where the red trace was
move the inner light circuit to the teensy - cut power wire thats connected to the switch and plug the power into pin 15 of the teensy 3.3v
hot glue the stand for the battery
hot glue the capaciter
electrical tape the battery to the pcb board