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

  • From: "Ciaran Walsh" <ciaran@xxxxxxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Thu, 31 Oct 2002 17:08:25 -0000

Hi Bjorn,

I thought I'd try messing with the bands thing in your project and I've got
quite different results to you - your jingles 1 and 3 and SnareJingle seem
to be playing fine in DMDemo. 2 is silent at the moment, but I'm going to
have another look at that. I'm sure it's something to do with this....



-----Original Message-----
From: directmusic-bounce@xxxxxxxxxxxxx
[mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Bjorn Lynne
Sent: 31 October 2002 16:57
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
>
>
>
>



Other related posts: