Jump to content

TheMooseman

Member
  • Posts

    11
  • Joined

  • Last visited

TheMooseman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Cool, I'll take a look at this tonight and tomorrow morning and let you know how it goes! The second one actually makes more sense to me, but I work in game audio so building things modularly is a bit more familiar, to me at least.
  2. Hard coded sequence of pitches and durations, I can convert those to accessible variables to the user. The "on" switch would be a midi event
  3. The idea would be to have a set of note length values and a set of pitches. These arrays could be of different lengths, let's say there are 3 note lengths and 5 pitches. The pitches would be placed on the note lengths but the lengths would go back to the beginning of the array before the pitches would. Does anyone have ideas about how to structure this?
  4. It would be to store it in the script between events. I made a voice leading script last week and know that I can store values that will be read on the next midi event but I was wondering if you had ideas on how to store note values and pitches that would conform to user defined sets of notes and rhythms. In use it would cycle through note values lets say quarter/half/quarter but I would also want to be able to have more than 3 notes, like 5 or some other user defined number. Would 2 arrays, one of note value and one of pitch, be the best way to cycle those materials? Also, how would I keep track of which array index I am at over longer periods of time?
  5. Is the data being printed able to be stored between midi events? I would be interested in using it to create mensuration canons and such.
  6. Looks like GetParameter is actually returning the index that is selected, not the string. Silly me, also just learned you can "Trace(var);" for testing
  7. Now I have a separate issue, my GetParameter is never equal to the value I give it even though "C" is selected in the window. Am I using it incorrectly? var PluginParameters = [{ type: "menu", name: "Note Selector", valueStrings: ["none", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"], defaultValue: 0, }]; function HandleMIDI(event) { if(event) { var pitch = GetParameter("Note Selector"); if(GetParameter("Note Selector") == "C") { event.pitch = 48; event.send(); } } }
  8. I think I figured it out, I just generate note on and off events when it gives me an event. I define the things that a want on that new event
  9. Is there a note length parameter or way to delay the noteOff from an event in the scripter? I don't see anything in the manual but I'm sure someone here would know more or a work around.
×
×
  • Create New...