Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Little dspmod question
Posted by: Sallafranque/Thadoss Sep,30.2012-12:11 

Hi all,

A little question about Dspmod :

I'm playing correctly my module.
But I'd like to add a sample at the same time.

In my code, I do the following :

dspmod_play_sample:
move.w #0,d0
move.w #0,d1
move.w #64,d2
move.w #0,d3
move.l #toto_begin,a0
move.l #toto_end,a1
move.l #toto_begin,a2
move.l #0,a3
move.l dspmod_buff,a6
jsr dspmod_fx(a6)
rts

section data

toto_begin: incbin "DATA\SOUNDS\beat1.wav"
toto_end:


But I don't hear my sample. (I don't read well the dutch).
What is D1 (sample périod) supposed to be ?

What is wrong here ?

Regards

Laurent








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Little dspmod question Sallafranque/Thadoss Sep,30.2012-12:11
  Re: Little dspmod question ggn Oct,01.2012-08:55
    Re: Little dspmod question evil Oct,01.2012-16:18
      Re: Little dspmod question ggn Oct,01.2012-21:43
        Re: Little dspmod question Sallafranque/Thadoss Oct,02.2012-00:08
          Re: Little dspmod question Sallafranque/Thadoss Oct,03.2012-12:30
            Re: Little dspmod question Sallafranque/Thadoss Oct,03.2012-12:37
              Re: Little dspmod question ggn Oct,03.2012-17:13
                Re: Little dspmod question Sallafranque/Thadoss Oct,03.2012-18:03
                  Re: Little dspmod question ggn Oct,03.2012-22:22
                    Re: Little dspmod question Sallafranque/Thadoss Oct,03.2012-23:45


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson