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

  • From: "James Dooley" <jdooley@xxxxxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Thu, 31 Oct 2002 11:01:39 -0800

I tried this out and added buttons for Level1, Jingle1, and Jingle2 to
DMDemo.  I was able to make Jingle2 play in DMDemo by adding its
instrument (Polysynth) to the band in Level1.  I didn't need to change
Jingle1, as it's instrument already existing in Level1's band (so it was
already playing correctly).

Scott - does DMDemo do any downloading itself, or does it depend on the
"Download all segments when script is loaded" flag in the script (or
explicit download calls in the script)?  I'm not sure if that flag isn't
working correctly, or if there is a problem with the content.  When I
loaded Bjorn's project into DirectMusic Producer, I got a bunch of
errors about not being able to find the "DLS calmwave" DLS Collection.
I'm wondering if these errors caused some of the segments to fail to
download properly.

-james

This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Scott Morgan [mailto:scott@xxxxxxxxxxxxxxxxx]=20
Sent: Thursday, October 31, 2002 8:21 AM
To: directmusic@xxxxxxxxxxxxx
Subject: [directmusic] Re: Allright, now I'm REALLY stumped



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=20
> 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. =20
> I added p-channels 15-94 to your Dry buffer and the problem was=20
> solved.
>
> MS this is a bug.  I think Chrisitian already got it though.  Is sent=20
> mail on it a while back when Bjorn hit it before.  Interesting that=20
> 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=20
> > 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=20
> > 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=20
> > need to run an application that can capture the debug output. I=20
> > found a really nice one at=20
> > http://www.sysinternals.com/ntw2k/freeware/debugview.shtml.
> >
> > Hope this helps,
> >
> > Todor
> >
> >
> > -----Original Message-----
> > From: directmusic-bounce@xxxxxxxxxxxxx=20
> > [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=20
> > that before, so could I please ask:
> >
> > 1) I opened DXDiag (is that what you mean when you say the DirectX=20
> > control panel?), but I can't see any slider to drag any debug level=20
> > 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=3D1
> > Dmsynth=3D1
> > Dmusic=3D1
> > Dmime=3D1
> > Dmband=3D1
> >
> > Is this correct, and if so, where does the "output" from this debug=20
> > 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=20
> > > >source
> > > of lost sounds. Run with the DirectMusic debug bits and turn on=20
> > > debug spew.
> > >
> > > Set the debug level to 1, which means only errors will be=20
> > > displayed, so you don't get a lot of junk too.
> > >
> > > To set the debug level, either open the DirectX control panel and=20
> > > go to the DirectMusic tab and drag the debug level. Or, open=20
> > > win.ini and go to the [debug] section and set Dmloader=3D1 =
Dmsynth=3D1
> > > Dmusic=3D1
> > > Dmime=3D1
> > > Dmband=3D1
> > >
> > > 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=20
> > > [mailto:directmusic-bounce@xxxxxxxxxxxxx] On Behalf Of Ciaran=20
> > > 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=20
> > > 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=20
> > > playing when they were supposed to. It was all related to bands=20
> > > 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.=20
> > > Incidentally, the solution actually solved another performance=20
> > > 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=20
> > > this:
> > >
> > > 1) Your band "Summer" seems to be the same for all the primary=20
> > > 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=20
> > > 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=20
> > > [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=20
> > > outside DMProducer!
> > >
> > > What gives? Now that these GM instruments have been turned into=20
> > > custom
> >
> > > instruments, I *really* cannot see any difference between the=20
> > > 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=20
> > > including project files *and* runtime files).
> > >
> > > Can somebody have a look at it for me? As I've said, the problem=20
> > > is that some instruments used in the jingles do not play outside=20
> > > DMProducer, although they do play inside DMProducer. These are the

> > > instruments that
> > > *were* GM instruments but have now been changed to use custom=20
> > > 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 -=20
> > > 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=20
> <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=20
> <scott@xxxxxxxxxxxxxxxxx>; Mon, 1 Jul 2002 16:37:11 -0400
> Received: (qmail 28677 invoked from network); 1 Jul 2002 20:37:10=20
> -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=3D"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=20
> > of
you
> > mixgroups in your audiopath.  I'm pretty sure that doesn't add any=20
> > CPU
or
> > memory usage to your music.
>
> Thanks, yes that fixed it. I wish I'd known, it would have saved me a=20
> 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:=20
> http://www.lynnemusic.com/messages-video.html
> -----------------------------------------------
>
>
>
>
>



Other related posts: