How did musicians particularly those living in the "Wild West" or poor black people in the South (before the 1930s or so) manage to buy expensive instruments like pianos or guitars?

by ComradePruski

I found one somewhat similar question to this, but I don't think it necessarily completely answers this.

If I had to guess I'm guessing those living in the "Wild West" that knew how to play instruments most likely came from urban areas and probably already knew how to play them and just used a local saloon piano or something like that?

It does fascinate me though that black musicians were especially noted for their use of guitar and piano when those two instruments are pretty expensive today. I know make shift guitars were a thing too, but I guess I'm curious if poor black musicians in a place like Louisiana or Tennessee used modern style guitars and how they might've acquired them.

caffarelli