09 September 2018, 11:12 | #1 |
Registered User
Join Date: Mar 2018
Location: Rome
Posts: 173
|
Pro tracker 3 replay routine
I'm using pt3.0b_replay_cia , I wonder if is there any way to get current channel volume.
Currently I'm using pt_audchanXtemp just to see if sample note is touched, but I don't know if I can obtain more info on that. |
09 September 2018, 12:13 | #2 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
Untested but should work: Code:
moveq #channel,d0 ;0 to 3 lea pt_audchan1temp,a0 mulu.w #44,d0 move.b 19(a0,d0.l),d0 Last edited by ross; 09 September 2018 at 12:38. |
|
11 September 2018, 14:10 | #3 |
Registered User
Join Date: Mar 2018
Location: Rome
Posts: 173
|
Hi ross, sorry for the delay, anyway thanks for the code, it works ! (How did you know the code? Don't tell me you just guess from the source )
Btw, the 19 pt_audxchanTemp take the volume value, so you still have to deal with the natural volume decrease, in which you have to take a solution by yourself. Thank you |
11 September 2018, 14:45 | #4 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
11 September 2018, 17:32 | #5 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
As said by StingRay
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|