This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
abi [2019/02/13 17:09] Redetzky add info about segment parameters at top |
abi [2019/02/13 17:16] Redetzky [05: A_RESAMPLE] [wip] a_resample |
||
---|---|---|---|
Line 35: | Line 35: | ||
Loads a DMEM buffer from RDRAM starting at <color #22b14c>SS</color> <color #ed1c24>AAAAAA</color>. The buffer location in DMEM and amount of samples to load depends on what is set by the ''A_SETBUFF'' command before this command. | Loads a DMEM buffer from RDRAM starting at <color #22b14c>SS</color> <color #ed1c24>AAAAAA</color>. The buffer location in DMEM and amount of samples to load depends on what is set by the ''A_SETBUFF'' command before this command. | ||
==== 05: A_RESAMPLE ==== | ==== 05: A_RESAMPLE ==== | ||
+ | |||
+ | ''05 <color #22b14c>FF</color> <color #ed1c24>PPPP</color> <color #A946F2>SS</color> <color #ff7f27>AAAAAA</color>'' | ||
+ | |||
+ | This command allows for pitch shifting/resampling the samples set by ''A_SETBUFF''. <color #ed1c24>PPPP</color> controls how much to pitchshift the samples by, where | ||
+ | |||
+ | The <color #22b14c>FF</color> parameter accepts two inputs: | ||
+ | |||
+ | | A_INIT | The seg+address field field is used to restore state at the beginning of the command. If not set the pointer to state is ignored upon initiation, however, state is saved to this address at the end of processing. | | ||
==== 06: A_SAVEBUFF ==== | ==== 06: A_SAVEBUFF ==== | ||
==== 07: A_SEGMENT ==== | ==== 07: A_SEGMENT ==== |