I would suggest not to modify the settings db in this function. Let's do it in getToneBlob.