[directmusic] Re: Allright, now I'm REALLY stumped

  • From: "Scott Morgan" <scott@xxxxxxxxxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Thu, 31 Oct 2002 10:20:37 -0600

Actually, I added 14-94......

95 is still missing.  So you don't need to fill them in completely. weird


-Scott Morgan
http://Morganstudios.com


----- Original Message -----
From: "Scott Morgan" <scott@xxxxxxxxxxxxxxxxx>
To: <directmusic@xxxxxxxxxxxxx>
Sent: Thursday, October 31, 2002 10:06 AM
Subject: [directmusic] Re: Allright, now I'm REALLY stumped


> This seems familiar to me.  Didn't we debug one like this before Bjorn?
Ah
> I found the email.  It's always so tough to figure out what's going on
with
> this one:
>
> If you eliminate the break in p-channels in your audiopath it works.  I
> added p-channels 15-94 to your Dry buffer and the problem was solved.
>
> MS this is a bug.  I think Chrisitian already got it though.  Is sent mail
> on it a while back when Bjorn hit it before.  Interesting that its GM
only.
> We didn't know that before.
>
>
> -Scott Morgan
> http://Morganstudios.com
>
>
> ----- Original Message -----
> From: "Todor Fay" <todor@xxxxxxxxxxxxx>
> To: <directmusic@xxxxxxxxxxxxx>
> Sent: Thursday, October 31, 2002 11:58 AM
> Subject: [directmusic] Re: Allright, now I'm REALLY stumped
>
>
> >
> > Bjorn,
> >
> > 1) It's not DXDiag. In the control panel, there should be a DirectX icon
> > for setting DX defaults. However, it doesn't always show up and I'm not
> > sure why. I had it a month ago, then installed the DX9 beta, then went
> > back to DX8.1, and the app had gone away. So, I'm running on memory.
> >
> > 2) You did it right.
> >
> > The debug output is sent to the debug console. What that means is if you
> > are running in the debugger, it will show up. Otherwise, you need to run
> > an application that can capture the debug output. I found a really nice
> > one at http://www.sysinternals.com/ntw2k/freeware/debugview.shtml.
> >
> > Hope this helps,
> >
> > Todor
> >
> >
> > -----Original Message-----
> > From: directmusic-bounce@xxxxxxxxxxxxx
> > [mailto:directmusic-bounce@xxxxxxxxxxxxx] On Behalf Of Bjorn Lynne
> > Sent: Thursday, October 31, 2002 8:57 AM
> > To: directmusic@xxxxxxxxxxxxx
> > Subject: [directmusic] Re: Allright, now I'm REALLY stumped
> >
> >
> >
> > Todor,
> >
> > I'll try the debug thing and see what happens, but I've never done that
> > before, so could I please ask:
> >
> > 1) I opened DXDiag (is that what you mean when you say the DirectX
> > control panel?), but I can't see any slider to drag any debug level
> > there...?
> >
> > 2) I edited my Win.ini file; there wasn't any [debug] section there, but
> > I added one at the bottom, like so:
> >
> > [debug]
> > Dmloader=1
> > Dmsynth=1
> > Dmusic=1
> > Dmime=1
> > Dmband=1
> >
> > Is this correct, and if so, where does the "output" from this debug end
> > up? In some text file somewhere??
> >
> > Thanks,
> > - Bjorn
> >
> >
> >
> > ----- Original Message -----
> > From: "Todor Fay" <todor@xxxxxxxxxxxxx>
> > To: <directmusic@xxxxxxxxxxxxx>
> > Sent: Thursday, October 31, 2002 4:18 PM
> > Subject: [directmusic] Re: Allright, now I'm REALLY stumped
> >
> >
> > >
> > > >From a debugging perspective, there's a way to help identify the
> > > >source
> > > of lost sounds. Run with the DirectMusic debug bits and turn on debug
> > > spew.
> > >
> > > Set the debug level to 1, which means only errors will be displayed,
> > > so you don't get a lot of junk too.
> > >
> > > To set the debug level, either open the DirectX control panel and go
> > > to the DirectMusic tab and drag the debug level. Or, open win.ini and
> > > go to the [debug] section and set Dmloader=1
> > > Dmsynth=1
> > > Dmusic=1
> > > Dmime=1
> > > Dmband=1
> > >
> > > That should set the debug level for all components that manage the
> > > playback of instruments.
> > >
> > > Hope this helps,
> > >
> > > Todor
> > >
> > > -----Original Message-----
> > > From: directmusic-bounce@xxxxxxxxxxxxx
> > > [mailto:directmusic-bounce@xxxxxxxxxxxxx] On Behalf Of Ciaran Walsh
> > > Sent: Thursday, October 31, 2002 6:04 AM
> > > To: directmusic@xxxxxxxxxxxxx
> > > Subject: [directmusic] Re: Allright, now I'm REALLY stumped
> > >
> > >
> > >
> > > I've been racking my brains trying to think where I've seen something
> > > like this somewhere before and I just figured it out...
> > >
> > > When I was working on POW I found that some of my motifs weren't
> > > playing when they were supposed to. It was all related to bands and
> > > audiopaths. To cut a long story short I never found out WHY it was
> > > happening but I did find out how to stop it happening. Incidentally,
> > > the solution actually solved another performance related problem on
> > > the Xbox as well, and seems generally much more elegant and efficient.
> > >
> > > So, looking at your project I think it might be worth you trying this:
> > >
> > > 1) Your band "Summer" seems to be the same for all the primary
> > > segments, with extra instruments added for the jingles. Try adding
> > > those instruments into your "Summer" band
> > >
> > > 2) Remove the band tracks from ALL of your segments
> > >
> > > 3) Create a segment containing just the new band and a script track
> > > calling PlayLevel1 immediately after it.
> > >
> > > Now you can start your music by playing the new segment which sets the
> >
> > > band and starts the first segment. The band settings never need to
> > > change after that. Hopefully this will work - it did for me and it
> > > also saves you having to update every segment each time you change
> > > something in your band...
> > >
> > > Good luck,
> > > Ciaran
> > >
> > > PS: sounds good by the way, your transitions are really smooth ;)
> > >
> > > -----Original Message-----
> > > From: directmusic-bounce@xxxxxxxxxxxxx
> > > [mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Bjorn Lynne
> > > Sent: 31 October 2002 13:41
> > > To: directmusic@xxxxxxxxxxxxx
> > > Subject: [directmusic] Allright, now I'm REALLY stumped
> > >
> > >
> > >
> > > Okay, so I did as Saul and Ciaran suggested, copied the individual GM
> > > instruments that I wanted to use (3 of them) into my project as custom
> >
> > > instruments, and made the "jingle" bands point to these new custom
> > > instruments instead. But now these instruments STILL do not play
> > > outside DMProducer!
> > >
> > > What gives? Now that these GM instruments have been turned into custom
> >
> > > instruments, I *really* cannot see any difference between the jingle
> > > instruments that do play, and those that don't.
> > >
> > > I'm so stumped, I've zipped up my project and put it here:
> > >
> > > http://www.lynnemusic.com/temp/cts3b.zip (only about 1.7 mb including
> > > project files *and* runtime files).
> > >
> > > Can somebody have a look at it for me? As I've said, the problem is
> > > that some instruments used in the jingles do not play outside
> > > DMProducer, although they do play inside DMProducer. These are the
> > > instruments that
> > > *were* GM instruments but have now been changed to use custom
> > > instruments (really copies of the GM instruments).
> > >
> > > I'll be scratching my head over this one for a while....
> > >
> > > Thanks for any help. And please don't use my music for anything - keep
> >
> > > it to yourselves, this is a work in progress. :-)
> > >
> > > - Bjorn
> > >
> > > --
> > > Bjorn Lynne - Composer, Producer, Sound Designer
> > > Main music site: www.lynnemusic.com
> > >
> > >
> > >
> > >
> >
>
>
> -- Attached file included as plaintext by Ecartis --
> -- File: Re_ [directmusic] Script this scenario.eml
>
> Return-Path: <bjorn@xxxxxxxxxxxxxx>
> Received: from hs14.order-vault.net (root@localhost)
> by morganstudios.com (8.11.6/8.11.6) with ESMTP id g61KbCZ23075
> for <scott@xxxxxxxxxxxxxxxxx>; Mon, 1 Jul 2002 16:37:12 -0400
> X-ClientAddr: 209.15.2.70
> Received: from epimetheus.hosting4u.net (epimetheus.hosting4u.net
[209.15.2.70])
> by hs14.order-vault.net (8.11.6/8.11.6) with SMTP id g61KbBr23071
> for <scott@xxxxxxxxxxxxxxxxx>; Mon, 1 Jul 2002 16:37:11 -0400
> Received: (qmail 28677 invoked from network); 1 Jul 2002 20:37:10 -0000
> Received: from virgo.hosting4u.net (HELO lynnemusic.com) (209.15.2.55)
>   by mail-gate.hosting4u.net with SMTP; 1 Jul 2002 20:37:10 -0000
> Received: from bjorn ([81.86.187.62]) by lynnemusic.com ; Mon, 01 Jul 2002
15:36:23 -0500
> Message-ID: <010001c2213e$fe11e5f0$1b00a8c0@bjorn>
> From: "Bjorn Lynne" <bjorn@xxxxxxxxxxxxxx>
> To: "Scott Morgan" <scott@xxxxxxxxxxxxxxxxx>
> Cc: <ccarroll@xxxxxxxxxxxxx>
> References: <008501c21fb8$38902710$1b00a8c0@bjorn>
<006e01c21fab$cea95df0$6401a8c0@morgan2wah6bn4>
<01a501c2207c$281d2f30$1b00a8c0@bjorn>
<00df01c22092$eb469260$6401a8c0@morgan2wah6bn4>
<007101c220d9$983b9970$1b00a8c0@bjorn>
<01c001c22104$1879b390$6401a8c0@morgan2wah6bn4>
> Subject: Re: [directmusic] Script this scenario
> Date: Mon, 1 Jul 2002 21:35:00 +0100
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2600.0000
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
> X-Rcpt-To: <ccarroll@xxxxxxxxxxxxx>
> Status:
>
> > All you have to do to get around it is add p-channels 16-99 to one of
you
> > mixgroups in your audiopath.  I'm pretty sure that doesn't add any CPU
or
> > memory usage to your music.
>
> Thanks, yes that fixed it. I wish I'd known, it would have saved me a few
> hours of tearing my hair. :-)
>
> Take care,
> --
> Bjorn Lynne
> Composer, Producer, Sound Designer
> Official Music site: http://www.lynnemusic.com
> Free mp3's of my work: http://www.javamusic.com/bjornlynne
> Check out the video to my latest track:
> http://www.lynnemusic.com/messages-video.html
> -----------------------------------------------
>
>
>
>
>


Other related posts: