Hi - soundinfo object

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Hi - soundinfo object

Bill Malchow
Hi!
I'm new here. I have experience in software development and as a
professional musician. I have just started tinkering with plugins over the
last few weeks.   Pretty cool stuff!

I am trying to debug playback issues in my score and I see there is a
soundinfo object in the manuscript manual.   So I thought I would iterate
through it and see what it tells me.  It seems to tell me nothing! or more
likely, I'm doing something wrong?  

I have a score with an instrument change on the staff. and some techniques
that change vibrato settings.  but when I use the "MoveToNext()" method it
returns false.   All the fields except for Bars,Pos are blank.   I am not
too keen on what those fields are but I was hoping for something like
"strings.viola.vibrato".

I am selecting bars on the score and running it. The code is below.  



score = Sibelius.ActiveScore;
selection = score.Selection;


for n = selection.TopStaff to selection.BottomStaff + 1
{
        Trace("--- Dump Soundinfo for Stave(" & n & ")");

     staff = score.NthStaff(n);
        Trace("FullInstrumentName: " & staff.FullInstrumentName);//<-This works!
        Trace("IsSystemStaff: " & staff.IsSystemStaff);
        Trace("Staff Channel: " & staff.Channel);
        Trace("SoundIdOverrideIfAny: " & staff.SoundIdOverrideIfAny);
        Trace("Volume: "& staff.Volume);

        si = staff.SoundInfoAtPosition(selection.FirstBarNumber,0,0);
        Trace("SOUNDINFO Staff:"& si.StaveNum
       & " Bar:"& si.BarNum
       & " Pos:" & si.Position); //<-this shows the bar I selected
     Trace(" PatchName: "& si.PatchName); //<-- blank!
        Trace(" ActualSoundId: " & si.ActualSoundId);  //<-- blank!
        Trace(" RequestedSoundId: " &  si.RequestedSoundId); //<-- blank!
        Trace(" SoundSetName: " & si.SoundSetName); //<-- blank!


        while(si.MoveToNext() = true) { //always fails.
                Trace("MoveToNext()");
                Trace("SOUNDINFO Staff:"& si.StaveNum
        & " Bar:"& si.BarNum
        & " Pos:" & si.Position);
      Trace(" PatchName: "& si.PatchName);
                Trace(" ActualSoundId: " & si.ActualSoundId);
                Trace(" RequestedSoundId: " &  si.RequestedSoundId);
                Trace(" SoundSetName: " & si.SoundSetName);
        }
}








--
Sent from: http://sibelius-manuscript-plug-in-developers.3224780.n2.nabble.com/

_______________________________________________
Plugin-dev mailing list
[hidden email]
http://lists.avid.com/mailman/listinfo/plugin-dev_lists.avid.com
Reply | Threaded
Open this post in threaded view
|

Re: Hi - soundinfo object

Bill Malchow
Seems Soundinfo is not a popular object...  Anyone have any experience with
it?



--
Sent from: http://sibelius-manuscript-plug-in-developers.3224780.n2.nabble.com/

_______________________________________________
Plugin-dev mailing list
[hidden email]
http://lists.avid.com/mailman/listinfo/plugin-dev_lists.avid.com
Reply | Threaded
Open this post in threaded view
|

Re: Hi - soundinfo object

Bob Zawalich-3
I have never used it, and there is no sign of it in any of the shipping
plugins or the ones on the download page, so I doubt there is much
experience using it.

It could well be that it has never worked!

Sorry about that,

bob

-----Original Message-----
From: Plugin-dev [mailto:[hidden email]] On Behalf Of
Bill Malchow
Sent: Tuesday, October 31, 2017 1:14 PM
To: [hidden email]
Subject: Re: [Plugin-dev] Hi - soundinfo object

Seems Soundinfo is not a popular object...  Anyone have any experience with
it?



--
Sent from:
http://sibelius-manuscript-plug-in-developers.3224780.n2.nabble.com/

_______________________________________________
Plugin-dev mailing list
[hidden email]
http://lists.avid.com/mailman/listinfo/plugin-dev_lists.avid.com


_______________________________________________
Plugin-dev mailing list
[hidden email]
http://lists.avid.com/mailman/listinfo/plugin-dev_lists.avid.com
Reply | Threaded
Open this post in threaded view
|

Re: Hi - soundinfo object

Bill Malchow
Ha ok. thanks Bob!

On Tue, Oct 31, 2017 at 4:52 PM, Bob Zawalich <[hidden email]> wrote:
I have never used it, and there is no sign of it in any of the shipping
plugins or the ones on the download page, so I doubt there is much
experience using it.

It could well be that it has never worked!

Sorry about that,

bob

-----Original Message-----
From: Plugin-dev [mailto:[hidden email]] On Behalf Of
Bill Malchow
Sent: Tuesday, October 31, 2017 1:14 PM
To: [hidden email]
Subject: Re: [Plugin-dev] Hi - soundinfo object

Seems Soundinfo is not a popular object...  Anyone have any experience with
it?



--
Sent from:
http://sibelius-manuscript-plug-in-developers.3224780.n2.nabble.com/

_______________________________________________
Plugin-dev mailing list
[hidden email]
http://lists.avid.com/mailman/listinfo/plugin-dev_lists.avid.com


_______________________________________________
Plugin-dev mailing list
[hidden email]
http://lists.avid.com/mailman/listinfo/plugin-dev_lists.avid.com


_______________________________________________
Plugin-dev mailing list
[hidden email]
http://lists.avid.com/mailman/listinfo/plugin-dev_lists.avid.com