added sampling of multiple octaves