Language…
7 users online: anoMaly666, Brian94, HD_DankBaron, monkey03297,  Nanako, Shiki_Makiro, TheOrangeToad - Guests: 242 - Bots: 316
Users: 64,795 (2,377 active)
Latest user: mathew

Sample not playing [Solved]

I have two questions.

1. When I insert samples like this
Code
#samples
{
        #optimized
	"Sample1.brr"
	"Sample2.brr"
	"Sample3.brr"
	...
}

#instruments
{
	"Sample1.brr" $F8 $E0 $00 $02 $8A
	"Sample2.brr" $FF $E0 $00 $02 $7D
	"Sample3.brr" $8F $CD $00 $04 $82
	...
}


How do I know for which channel this sample will be used, because to me it seems kid of random. So how can I set Sample 1 to play for channel 1 etc.

2. I wanted a sample to play for a channel, but it doesn't play. Instead it plays the regular instrument I set with @. But the sample plays in that channel upon death. How can I switch this, to have the sample play in the song and not in the death music?

I never used samples for porting.
--------------------
PM | Steam | YouTube
About your first question. Samples are not assigned to channels. They are assigned to custom instruments. As you probably know, putting @0 through @29 on a channel uses SMW instruments. To access custom ones, use @30 and above. They will work on any channel so long as you haven't messed anything up in the setup process. Your above setup looks fine so using @30, @31, @32 etc. should already work.

Regarding your second question I don't really know what to advise. If you're still having trouble with either question I can take a look at a port in progress and see if I can figure out what's wrong.
Make more of less, that way you won't make less of more!
Thanks!
--------------------
PM | Steam | YouTube