Aida-X training invalid index to scalar variable

Hi guys !

I want to train my own capture to use with Aida-X plugin, but everytime I have this message. I’ve double check my files, the names, the length, I’ve tried in different folders on my drive… I don’t know ! And I’m by no means a dev, so I’m absolutely clueless here…

Do you know how to solve it ?

Cheers !

Input file name: /content/drive/MyDrive/Atomic/AIDAX/Training/Amt-Marshall/input.wav
Target file name: /content/drive/MyDrive/Atomic/AIDAX/Training/Amt-Marshall/target.wav
Input rate: 48000 length: 14448000 [samples]
Target rate: 48000 length: 14448000 [samples]

IndexError Traceback (most recent call last)
in <cell line: 34>()
32 file_name = os.path.split(DATA_DIR)[-1]
33 create_csv_nam_v1_1_1(os.path.join(DATA_DIR, “input.wav”)[0] + “.csv”)
—> 34 prep_audio([os.path.join(DATA_DIR, “input.wav”),os.path.join(DATA_DIR, “target.wav”)],
35 file_name=file_name, norm=True, csv_file=False)

1 frames
/content/Automated-GuitarAmpModelling/ in align_target(tg_data, blip_offset, blip_locations, blip_window)
192 # Calibrate the trigger:
→ 193 y = tg_data[blip_offset:(blip_offset+blip_window)]
194 y = peak(y, -3.0) # Solve problems with low volumes
195 background_level = np.max(np.abs(y[:6_000]))

IndexError: invalid index to scalar variable.

1 Like