CompuServe Thread

Director Question

3 messages in this thread
#56456From: George S. RolandMay 5, 1993 11:08 PM
Keith, I have a question about the setsig command parameters when synching to a silent note in an instrument track. I set up a score in Deluxe Music. In the elecbass instrument track, I placed notes at middle "c" to synch on. Below is the script. If I set the soundflag parameter to "0", as suggested on p.21-B29 of the manual, I get a really STRANGE display. The screen flashes wildly between pics and they aren't in synch. If I set soundflag to 1, the display changes at the right time, but the synch notes are silent instead of heard. On p.21-B30, this is suggested in the section at the top of the page for synching with silent notes. I must have missed something here…how DOES soundflag 0 work? buff=1 setblack load 1,"dt:pic1" load 2,"dt:pic2" load 3,"dt:pic3" load 4,"dt:pic4" module "director:modules/smus" smus "loadscore",1,"dt:score.smus" smus "loadinst",1,1,"dt:instruments" smus buf,"findbuff","elecbass" smus "setsigs",buf,60,1: rem 60=mid"C", 1=note is not heard fade smus "startscore",1,1,4 dim data[4],4 /top: smus "waitsig",data display buff if data[2]=14: rem signals end of score pause 35 goto atend endif buff=buff+1 if buff=5:buff=1:endif goto top /atend: fade out,4 end Thanks, Keith. George Roland
#56851From: Keith DoyleMay 12, 1993 12:47 AM
Here's a slightly modified version of your script that may help clarify: buff=1 setblack load 1,"tutorial:pictures/drumkid.1" load 2,"tutorial:pictures/drumkid.2" module "smus" smus "loadscore",1,"tutorial:music/bach.smus" smus "loadinst",1,1,"tutorial:instruments" smus buf,"findbuff","voicea" rem 60=mid"C", 1=note is not heard smus "setsigs",buf,74,1 fade smus "startscore",1,1,4 dim data[4],4 /top: smus "waitsig",data display buff if data[2]=100: rem signals end of score pause 35 goto atend endif buff=buff+1 if buff=3:buff=1:endif goto top /atend: fade out,4 end I substituted pictures from the Tutorial disk, so I know this script works, and you should be able to reproduce the same results. In this example, I didn't use middle-C because the example score didn't contain any middle-C's, and I extended the "end of score" signal out a little more. What you'll notice if you run it as is, is every time a certain note hits, you'll get a display flip. If you change the soundflag parameter to a 0, you'll get the exact same display results, but you won't hear the triggering note's sound. The idea here, is you can take an existing score, and add notes that are only to be used as triggers, using a new note that doesn't otherwise appear in the score. With soundflag set to 0, the note will not make a noise, and will only cause the "waitsig" command to stop waiting and presumably the display effect to occur in sync. If you are having other specific problems, see if you can reproduce them using images and music on the Tutorial disk, so that I can see exactly what you are seeing. Keith
#56929From: George S. RolandMay 12, 1993 11:21 PM
Thank you, Keith, for your thorough reply. I know I can always count on your attentiveness to questions. Best, George Roland