Jump to content

NL268

Member
  • Posts

    9
  • Joined

  • Last visited

NL268's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'm using MyBigFunction to do two tasks: 1. Find a row in MyArray by matching the first argument of MyBigFunction ("Name") to the property FirstName. 2. Finding the X:Y property with the same X-number as the second argument of MyBigFunction (QuestionNumber) and returning the Y value. So, when I ask MyBigFunction("Claire", 1) it finds the row named Claire and returns the answer stored in QuestionNumber 1: 600. This works fine. var FindIndex var MyArray = [ {FirstName:"Aaron", 1:12, 2:30, 3:43}, {FirstName:"Bob", 1:60, 2:90, 3:44}, {FirstName:"Claire", 1:600, 2:12, 3:13} ] function MyBigFunction(Name, QuestionNumber) { var FindIndex = MyArray.findIndex(k => k.FirstName == Name); return MyArray[FindIndex][QuestionNumber]; } console.log (MyBigFunction("Claire", 1)); // returns 600, as expected However, now I want to change some of the answers in MyArray to functions. For example, I changed Claire's Question 3 to a function called PopQuiz, which checks if the argument "Surprise" passed to it is greater or less than 100 (returning 90 if greater, or 80 if less than). And, I've added a third argument, Surprise, to MyBigFunction. So when I ask MyBigFunction("Claire", 3, 40), it should look up the line "Claire," look at question 3, realize it's a function, give it the value 40, and let PopQuiz evaluate that 40<100, function, returning 80. But instead I get "undefined." var FindIndex var MyArray = [ {FirstName:"Aaron", 1:12, 2:30, 3:43}, {FirstName:"Bob", 1:60, 2:90, 3:44}, {FirstName:"Claire", 1:600, 2:12, 3:PopQuiz(Surprise)} ] function MyBigFunction(Name, QuestionNumber, Surprise) { var FindIndex = MyArray.findIndex(k => k.FirstName == Name); return MyArray[FindIndex][QuestionNumber]; } function PopQuiz(Surprise) { if (Surprise >= 100) {return 90;} else if (Surprise < 100) {return 80;} } console.log (MyBigFunction("Claire", 3, 40)); // should return 80, but returns undefined So, what am I doing wrong here? Is it impossible to get MyBigFunction to give values to PopQuiz? Thanks in advance for your insight.
  2. Yes, I don't understand. Here's an image showing the direct discrepancy between the main SMPTE clock and what the marker list reports. http://i.imgur.com/Y76NtNJ.png All of these markers were right on frame until I selected all markers and SMPTE-locked, then some of them moved backward by as much as 1-3 subframes. Yet the main clock still reports them as being on subframe 00. I'm asking which version of the SMPTE clock I should pay attention to, what's causing the issue and if there's any way to get them to match up.
  3. I'm trying to make markers that are all on subframe 00 - the exact start of the frame. So I made them in the Arrange window and verified, by looking at the SMPTE clock in the control bar, that they were correct. They also display correctly in the marker event list. However, when I LOCK these markers, the marker list changes typically pushing the markers back or forward several subframes. For example 01:00:01:05.00 now becomes 01:00:01:04.79 .... weirdly, in the actual arrange window with the marker strip, the markers seem to still be tied to the correct 00 subframe. So it's just the marker list that's screwed up. Really annoying behavior, how can I fix the marker list to display things correctly? Also, is there any way to snap all markers to exact frames? Thanks in advance
  4. Here is the start of my new template: 4 multitimbral instances of PLAY holding long and short artics for Horns a2 and Solo Horn: If I understand everything correctly now, I am using: 4 out of 256 software instrument objects (the 4 instances of PLAY) 4 out of 256 audio track objects (the busses on the 4 Summing Stacks)
  5. Thanks David and Des, that's very clear. And yep, it's a double edged sword... I know the Environment is lurking in the background but being a casual user I never worried about it... so I wasted a lot of time trying to build a template using Summing Stacks without realizing how much of my Environment object budget I was eating up. Maybe I'll upload a template in progress later this evening just to doublecheck I'm doing it right...
  6. OK I'm still not getting it... and for some reason Logic X's manual doesn't have a good section on multitimbral and multi-out... I sort of grasped the concept in Logic 9... What I'd LIKE to achieve is as you said, "up to 256 multi-timbral instruments fed by 16 MIDI tracks each." Each multi-timbral instrument would have up to 16 articulations, controllable on separate Arrange tracks, but all 16 would go to the same audio out. That's okay because they're 16 articulations of the same instrument. How is this done? Do you just load an empty16-timbral instrument and then load a STEREO instance of Play (or whatever) on the first track and load multiple instruments routing to midi channel 1, 2, 3, 4 etc?
  7. Hmm I'm not sure I understand. Are you saying if I have 4 multitimbral instruments each with 9x outs, that only counts as 4 tracks towards the 256 limit, instead of 36?
  8. I’m trying to build my own template in X. Basically loading up hundreds of software instrument tracks, each holding one instance of Play with one articulation; and grouping all the articulations for each instrument into Summing Stacks. Since I have more than 256 articulations I want to work with, this approach won’t function. So what’s the secret? I’m pretty sure I’ve seen templates in youtube videos with over 300 tracks. Do they do that with multitimbral or something?
  9. Hi everyone, Logic 9 user here. Due to low RAM, I have all my libraries saved as Channel Strip Settings (.cst) in my USER/Library/ApplicationSupport/Logic/ChannelStripSettings/Instrument folder. It looks like this: http://i.imgur.com/5cotHvQ.png It works great and really saves time navigating inside PLAY ( ) and so on The problem I'm having is that every time I load a new instrument, the Media tab automatically scrolls down to the channel strip settings that came with Logic, starting with "01 Logic Instruments." And, the new instrument is always an instance of EVP88. http://i.imgur.com/pzIdTIu.png Is there any way I can get rid of these "default" CSTs (by tucking them away somewhere, not deleting them) and/or changing the default so that every time I load a new instrument, it starts at the top of the Media tab?
×
×
  • Create New...