Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed May 29, 2023
1 parent 4752bbd commit ccab5a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_nodes_sequencing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
Fs = 120

def test_nodes_sequencing_sequence(graph):
Fs = 12
graph.sample_rate = Fs
ar = [1, 2, 3]
a = Sequence(ar, OneTapDelay(Impulse(4), [1/4, 2/4]))
a = Sequence(ar, OneTapDelay(Impulse(4), [1/4, 2/4], max_delay_time=1.0))
graph.render_subgraph(a)
expected_l = np.repeat([0] + ar, Fs / 4)
expected_r = np.repeat([0, 0] + ar, Fs / 4)[:Fs]
Expand Down

0 comments on commit ccab5a5

Please sign in to comment.