![]() |
![]() |
#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. |
![]() |
![]() |
#2 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,526
|
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. |
|
![]() |
![]() |
#3 |
Registered User
Join Date: Mar 2018
Location: Rome
Posts: 173
|
Hi ross, sorry for the delay, anyway thanks for the code, it works !
![]() ![]() 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 ![]() |
![]() |
![]() |
#4 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,865
|
|
![]() |
![]() |
#5 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,526
|
As said by StingRay
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|