How good do you think is SONIC PI useful for Ear Training

I wanted easy way to train my ears and usually play it around normal volume while watching soccer.

use_synth :piano
chords=[“A”,“As”,“B”,“C”,“Cs”,“D”,“Ds”,“E”,“F”,“Fs”,“G”,“Gs”]

for i in 1…(500)
octave=rrand_i(1,4)
data=rrand_i(1,12)
data=data-1
chords1=chords[data]+octave.to_s

play_pattern_timed chord(chords1, :major), 0.03
sleep 0.5
play_pattern_timed chord(chords1, :minor), 0.03
sleep 0.5
play_pattern_timed chord(chords1, :sus2), 0.03
sleep 0.5
play_pattern_timed chord(chords1, :augmented), 0.03
sleep 0.5

end

I use similar formulas for intervals & scales.

How good do you think is this approach. Definitely i have been improving on my listening skills. I wanted to see what you guys think about this approach?

Help: Does anyone have any resource to making synth sound like Guitar or Vocals ? I am only using sonic pi for ear training. I am not good at programming.