How does the extraction of local and global auditory regularities vary with context?

How does the extraction of local and global auditory regularities vary with context?