Rev 2302 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2302 | Rev 2308 | ||
---|---|---|---|
Line 92... | Line 92... | ||
92 | } else { |
92 | } else { |
93 | if (ARE == REINCARNATE) reincarnate = 1; |
93 | if (ARE == REINCARNATE) reincarnate = 1; |
94 | birth = ui_clk (); |
94 | birth = ui_clk (); |
95 | }
|
95 | }
|
96 | 96 | ||
97 | idb = is_din_binaural (); |
97 | binaural = is_din_binaural (); |
98 | if (idb) { |
98 | if (binaural) { |
99 | float newsep = get_binaural_separation_in_hz (); |
99 | float newsep = get_binaural_separation_in_hz (); |
100 | hz2step (newsep, sep); |
100 | hz2step (newsep, sep); |
101 | extern int JUSTIFICATION; |
101 | extern int JUSTIFICATION; |
102 | if (JUSTIFICATION == just::RANDOM) just = get_rand_bit (); else just = JUSTIFICATION; |
102 | if (JUSTIFICATION == just::RANDOM) just = get_rand_bit (); else just = JUSTIFICATION; |
103 | } else { |
103 | } else { |
Line 234... | Line 234... | ||
234 | step = dr.notes[note_num].step; |
234 | step = dr.notes[note_num].step; |
235 | }
|
235 | }
|
236 | 236 | ||
237 | if (is < NOISE) { |
237 | if (is < NOISE) { |
238 | float v = MASTERVOLUME * fdr.amount * gab.amount * vol; |
238 | float v = MASTERVOLUME * fdr.amount * gab.amount * vol; |
239 | if (idb) { |
239 | if (binaural) { |
240 | if (just) { |
240 | if (just) { |
241 | player.set_interpolated_pitch_volume (step - sep, v, 1); |
241 | player.set_interpolated_pitch_volume (step - sep, v, 1); |
242 | player2.set_interpolated_pitch_volume (step, v, 1); |
242 | player2.set_interpolated_pitch_volume (step, v, 1); |
243 | } else { |
243 | } else { |
244 | player.set_interpolated_pitch_volume (step, v, 1); |
244 | player.set_interpolated_pitch_volume (step, v, 1); |