Searched refs:vc_ADSR (Results 1 – 10 of 10) sorted by relevance
919 voice->vc_ADSR.aFrames = voice->vc_ADSR.dFrames = voice->vc_ADSR.sFrames = 0;929 if ( voice->vc_ADSR.aFrames )931 voice->vc_ADSRVolume += voice->vc_ADSR.aVolume;933 if ( --voice->vc_ADSR.aFrames <= 0 )937 } else if ( voice->vc_ADSR.dFrames )939 voice->vc_ADSRVolume += voice->vc_ADSR.dVolume;941 if ( --voice->vc_ADSR.dFrames <= 0 )945 } else if ( voice->vc_ADSR.sFrames )947 voice->vc_ADSR.sFrames--;948 } else if ( voice->vc_ADSR.rFrames )[all …]
112 struct hvl_envelope vc_ADSR;
892 …voice->vc_ADSR.aVolume = voice->vc_ADSR.aFrames ? Ins->ins_Envelope.aVolume*256/voice->vc_ADSR… in hvl_process_step()894 …voice->vc_ADSR.dVolume = voice->vc_ADSR.dFrames ? (Ins->ins_Envelope.dVolume-Ins->ins_Envelope… in hvl_process_step()897 …voice->vc_ADSR.rVolume = voice->vc_ADSR.rFrames ? (Ins->ins_Envelope.rVolume-Ins->ins_Envelope… in hvl_process_step()1174 voice->vc_ADSR.aFrames = voice->vc_ADSR.dFrames = voice->vc_ADSR.sFrames = 0; in hvl_process_frame()1184 if( voice->vc_ADSR.aFrames ) in hvl_process_frame()1188 if( --voice->vc_ADSR.aFrames <= 0 ) in hvl_process_frame()1191 } else if( voice->vc_ADSR.dFrames ) { in hvl_process_frame()1195 if( --voice->vc_ADSR.dFrames <= 0 ) in hvl_process_frame()1198 } else if( voice->vc_ADSR.sFrames ) { in hvl_process_frame()1200 voice->vc_ADSR.sFrames--; in hvl_process_frame()[all …]
99 struct hvl_envelope vc_ADSR; member
1105 …voice->vc_ADSR.aVolume = voice->vc_ADSR.aFrames ? Ins->ins_Envelope.aVolume*256/voice->vc_ADSR… in hvl_process_step()1107 …voice->vc_ADSR.dVolume = voice->vc_ADSR.dFrames ? (Ins->ins_Envelope.dVolume-Ins->ins_Envelope… in hvl_process_step()1110 …voice->vc_ADSR.rVolume = voice->vc_ADSR.rFrames ? (Ins->ins_Envelope.rVolume-Ins->ins_Envelope… in hvl_process_step()1387 voice->vc_ADSR.aFrames = voice->vc_ADSR.dFrames = voice->vc_ADSR.sFrames = 0; in hvl_process_frame()1397 if( voice->vc_ADSR.aFrames ) in hvl_process_frame()1401 if( --voice->vc_ADSR.aFrames <= 0 ) in hvl_process_frame()1404 } else if( voice->vc_ADSR.dFrames ) { in hvl_process_frame()1408 if( --voice->vc_ADSR.dFrames <= 0 ) in hvl_process_frame()1411 } else if( voice->vc_ADSR.sFrames ) { in hvl_process_frame()1413 voice->vc_ADSR.sFrames--; in hvl_process_frame()[all …]
86 struct hvl_envelope vc_ADSR; member
1135 voice->vc_ADSR.aVolume = Ins->ins_Envelope.aVolume*256/voice->vc_ADSR.aFrames; in hvl_process_step()1137 …voice->vc_ADSR.dVolume = (Ins->ins_Envelope.dVolume-Ins->ins_Envelope.aVolume)*256/voice->vc_A… in hvl_process_step()1417 voice->vc_ADSR.aFrames = voice->vc_ADSR.dFrames = voice->vc_ADSR.sFrames = 0; in hvl_process_frame()1427 if( voice->vc_ADSR.aFrames ) in hvl_process_frame()1431 if( --voice->vc_ADSR.aFrames <= 0 ) in hvl_process_frame()1434 } else if( voice->vc_ADSR.dFrames ) { in hvl_process_frame()1438 if( --voice->vc_ADSR.dFrames <= 0 ) in hvl_process_frame()1441 } else if( voice->vc_ADSR.sFrames ) { in hvl_process_frame()1443 voice->vc_ADSR.sFrames--; in hvl_process_frame()1445 } else if( voice->vc_ADSR.rFrames ) { in hvl_process_frame()[all …]
76 struct hvl_envelope vc_ADSR; member
2287 voice->vc_ADSR.aVolume = Ins->ins_Envelope.aVolume*256/voice->vc_ADSR.aFrames; in rp_play_instrument()2446 …voice->vc_ADSR.aVolume = voice->vc_ADSR.aFrames ? Ins->ins_Envelope.aVolume*256/voice->vc_ADSR… in rp_process_step()2448 …voice->vc_ADSR.dVolume = voice->vc_ADSR.dFrames ? (Ins->ins_Envelope.dVolume-Ins->ins_Envelope… in rp_process_step()2451 …voice->vc_ADSR.rVolume = voice->vc_ADSR.rFrames ? (Ins->ins_Envelope.rVolume-Ins->ins_Envelope… in rp_process_step()2729 voice->vc_ADSR.aFrames = voice->vc_ADSR.dFrames = voice->vc_ADSR.sFrames = 0; in rp_process_frame()2740 if( voice->vc_ADSR.aFrames ) in rp_process_frame()2744 if( --voice->vc_ADSR.aFrames <= 0 ) in rp_process_frame()2747 } else if( voice->vc_ADSR.dFrames ) { in rp_process_frame()2751 if( --voice->vc_ADSR.dFrames <= 0 ) in rp_process_frame()2754 } else if( voice->vc_ADSR.sFrames ) { in rp_process_frame()[all …]
90 struct ahx_envelope vc_ADSR; member