I am an artist creating a sound installation. I want to create to sounds files which contain small fragments of each other.
The code has an error in line 32: ValueError: could not broadcast input array from shape (0,1) into shape (5512,1)
The code is data2[start_frame:end_frame] = data1copy[start_frame:end_frame];
The trouble I've been having is a classic swapping of 2 snippets of data. I need to create a temporary copy to complete the swap.
example of what i mean.
x=3
y=8
x=temp
x=y
y=temp
Any help greaty appreciated,
The code has an error in line 32: ValueError: could not broadcast input array from shape (0,1) into shape (5512,1)
The code is data2[start_frame:end_frame] = data1copy[start_frame:end_frame];
The trouble I've been having is a classic swapping of 2 snippets of data. I need to create a temporary copy to complete the swap.
example of what i mean.
x=3
y=8
x=temp
x=y
y=temp
Any help greaty appreciated,
Attached Files