b50e824f78992d1acf5a3868eadc2ab6a1b47c3c,Demos/demo_repet.py,,main,#,11

Before Change



    // make a directory to store output if needed
    if not os.path.exists("Output/"):
        os.mkdir("Output/")

    // Set up Repet
    repet = nussl.Repet(signal)

After Change


    bkgd, fgnd = repet.make_audio_signals()

    // and write out to files
    bkgd.write_audio_to_file(os.path.join("..", "Output", "Sample1_background.wav"))
    fgnd.write_audio_to_file(os.path.join("..", "Output", "Sample1_foreground.wav"))


if __name__ == "__main__":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: b50e824f78992d1acf5a3868eadc2ab6a1b47c3c
Time: 2017-02-02
Author: ethanmanilow@gmail.com
File Name: Demos/demo_repet.py
Class Name:
Method Name: main


Project Name: interactiveaudiolab/nussl
Commit Name: b50e824f78992d1acf5a3868eadc2ab6a1b47c3c
Time: 2017-02-02
Author: ethanmanilow@gmail.com
File Name: Demos/demo_repet.py
Class Name:
Method Name: main


Project Name: vatlab/SoS
Commit Name: fb921301eefc01d3daa922e80a0b6f84ecf0fe71
Time: 2017-06-14
Author: BPeng1@BCBW31517465254.mdanderson.edu
File Name: test/test_nested.py
Class Name: TestNested
Method Name: testSearchPath


Project Name: interactiveaudiolab/nussl
Commit Name: cf3ed28ba3f761bc5ea6d1b62709ef266f6cdadd
Time: 2016-01-27
Author: eth@nmanilow.com
File Name: Demos/demo_duet.py
Class Name:
Method Name: main