Default Upload Location needs matrix field and entry info... How?
If your desired URL is:

http://sitename.com/uploads/towns/town-slug/album-name/filename.jpg


The the "Upload Location" for the setup you described would be something like:

towns/{owner.slug}/{albumName}/


I'm assuming towns is just hard-coded since you're referencing town-slug in the next segment.