I knocked together a quick example for you. It doesn't have all the features of the site you linked to, but it should be enough to get you started.
It chooses and plays a random note from a two octave range, then plays another note within one octave a second later. It then stores the interval and compares it to your answer, and outputs "Correct" or "Incorrect" to the main Pd window.
Also, it has 12 choices instead of eight; minor2nd to octave.
Hope this helps you out. Let me know if you don't understand why I did something the way I did.
OK, maybe I'm missing something obvious here, but I don't know how to add attachments, so I uploaded it to Filedropper.
thx for the reactions!
but... i didn't use synths yet so I'm quite confused what you are exactly doing.
also this ''inside'' boxes are confusing. I guess already a bit too hard for me.
I made something different
I think I don't want to make an Invertrainer anymore but an Instrument Recognizer.
Now I made a quite easy 1 with MIDI (used SimpleSynth)
I'd like to know how u can get audio files in.
Some example for the Instrument Recognize Test:
Take 10 different instruments ( Guitar, Violian, Contrabass, Altviolin, Trumpet, Bassoon etc. )
U hear 1, and you have to guess what it is.
In the end I'd like to have each instrument with 3 different sounds ( depends on how many audio files I got for each instrument)
Also I'd like to have a counter Inside the PD screen and I want to see if your wrong or right ( also inside the PD screen)
Take my attachment as a really simple example.