def audio_structured_dropout(sig, p, step=10):
    res = [sig[i] for i in range(len(sig))]
    for i in range(((len(res) - step) + 1)):
        if ((res[i] != 0) and (np.random.random_sample() < p)):
            for j in range(step):
                res[(i + j)] = 0
    return res
def audio_structured_dropout(sig, p, step=10):
    res = [sig[i] for i in range(len(sig))]
    for i in range(((len(res) - step) + 1)):
        if ((res[i] != 0) and (np.random.random_sample() < p)):
            for j in range(step):
                res[(i + j)] = 0
    return res