Post by mcdtracy on Apr 22, 2019 16:26:02 GMT
The FAC Envolver App can generate a stream of audio volume settings.
I'd like to detect the value of the Peaks and and insert them on a Buffer of MIDI Notes as the Velocity.
The use case will be Drumming on a Table or Acoustic Guitar to generate the rhythm and accents and using a MIDI Generator App
to create determine notes to be played.
This will also the performer to tap (even on a Acoustic Guitar for example) to generate an audio envelope of rhythm and have the
MIDi Synth play generated music that appears to be coming from the guitar since it happens with the tapping (that will boggle someone
to understand how this is done).
Nic wrote the Peak Detection code already but I'm not sure how to Buffer the MIDI NOTES. I would guess you append NOTE's into an
array's tail and output MIDI NOTES from the Array's head with peak velocities (a FIFO = First In First Out data structure using indexes for the
head and tail and a fixed number of elements where you wrap around to the start).
ASSUME: Envelope comes in on Channel 2 as CC 7's with envelope value.
MIDI Notes come in on Channel 1.
Output MIDI NOTES on Channel 1 drop the CC 7's.
I guess both CC's and NOTES could actually come in on a single channel 1 from 2 sources (FAC Envolver and Riffer for example).
There are probably a lot of extras that could be added but using MIDI FX seems to be the preferred approach for many.
This might also make a good mfxConvert like App because people want to buffer MIDI notes and output in groups for example.
That would be good here for every Tap to output a 3 note chord. I did that with mfxPitch and it was great for adding 2 extra notes but
most want a scale-based approach to create something closer to real music in the key of A minor rather than fixed Major Chords for any
NOTE input.
I'd like to detect the value of the Peaks and and insert them on a Buffer of MIDI Notes as the Velocity.
The use case will be Drumming on a Table or Acoustic Guitar to generate the rhythm and accents and using a MIDI Generator App
to create determine notes to be played.
This will also the performer to tap (even on a Acoustic Guitar for example) to generate an audio envelope of rhythm and have the
MIDi Synth play generated music that appears to be coming from the guitar since it happens with the tapping (that will boggle someone
to understand how this is done).
Nic wrote the Peak Detection code already but I'm not sure how to Buffer the MIDI NOTES. I would guess you append NOTE's into an
array's tail and output MIDI NOTES from the Array's head with peak velocities (a FIFO = First In First Out data structure using indexes for the
head and tail and a fixed number of elements where you wrap around to the start).
ASSUME: Envelope comes in on Channel 2 as CC 7's with envelope value.
MIDI Notes come in on Channel 1.
Output MIDI NOTES on Channel 1 drop the CC 7's.
I guess both CC's and NOTES could actually come in on a single channel 1 from 2 sources (FAC Envolver and Riffer for example).
There are probably a lot of extras that could be added but using MIDI FX seems to be the preferred approach for many.
This might also make a good mfxConvert like App because people want to buffer MIDI notes and output in groups for example.
That would be good here for every Tap to output a 3 note chord. I did that with mfxPitch and it was great for adding 2 extra notes but
most want a scale-based approach to create something closer to real music in the key of A minor rather than fixed Major Chords for any
NOTE input.