As a newbie I just want to load a sample and play it

Look here, this might’ve helped you:

www.juce.com/doc/tutorial_looping_audio_sample_buffer

Also here it’s discussed:

For the waveform you can use AudioVisualiserComponent