Beispiel #1
0
		, [
			"bformat.wav",
			"surround.wav",
		]),
	("bformat2sixteen",
		"OfflinePlayer example-data/mono2bformat.clamnetwork b2b/spacialization/inputs/jaume.wav -o -c 4 bformat.wav;"
		"OfflinePlayer example-data/bformat2fifteen.clamnetwork bformat.wav -o -c 15 sixteen.wav;"
		, [
			"bformat.wav",
			"sixteen.wav",
		]),
	("vbap_to_15",
		"OfflinePlayer example-data/15_direct_sound_choreography.clamnetwork b2b/spacialization/inputs/jaume.wav -o -c 15 vbap15.wav;"
		, [
			"vbap15.wav"
		 ]),
    ("ladspab2b-test",
        "OfflinePlayer example-data/mono2bformat_via_ladspa.clamnetwork b2b/spacialization/inputs/jaume.wav -o -c 4 bformat.wav;"
        , [
            "bformat.wav",
        ]),

]

runBack2BackProgram(data_path, sys.argv, back2BackTests)





Beispiel #2
0
#"""

import sys, os
sys.path.append('../../../CLAM/scripts/')
from audiob2b import runBack2BackProgram
from audiob2b import run

#data_path="/tmp"
params = dict(
    input_path="b2b/distance/inputs",
    output_path="b2b/distance/outputs",
)

back2BackTests = [
    (
        "doppler",  # test name
        "OfflinePlayer networks/DopplerFractionalDelay.clamnetwork -s %(input_path)s/doppler.txt %(input_path)s/sweep_mono.wav -o -c 1 output.wav"
        % params,
        [
            "output.wav",
        ]),
    (
        "dopplerMiddle",  # test name
        "OfflinePlayer networks/DopplerFractionalDelay.clamnetwork -s %(input_path)s/dopplerMiddle.txt %(input_path)s/sweep_mono.wav -o -c 1 output.wav"
        % params,
        [
            "output.wav",
        ]),
]
runBack2BackProgram(params['output_path'], sys.argv, back2BackTests)
othercable_network = os.path.join(data_path, "inputs",
                                  "othercable.clamnetwork")
clam_lv2_uri = "http://clam-project.org/examples/lv2"

back2BackTests = [
    ("simple_ttl",
     "./clam_lv2_generator.py --ttl -y mylib -u %(uri)s %(network)s > output.ttl"
     % dict(
         network=othercable_network,
         uri=clam_lv2_uri,
     ), [
         "output.ttl",
     ]),
    ("gui_ttl",
     "./clam_lv2_generator.py --ttl -y mylib -u %(uri)s -g %(guibin)s %(network)s > output.ttl"
     % dict(
         network=othercable_network,
         uri=clam_lv2_uri,
         guibin="myuilib",
     ), [
         "output.ttl",
     ]),
    # TODO: --ttl without --binary gives error
    # TODO: --ttl without --uribase gives error
    # TODO: --ttl with --doap
    # TODO: --manifest networks
    # TODO: --main networks
]
runBack2BackProgram(data_path, sys.argv, back2BackTests)
Beispiel #4
0
#"""
#ln -s ../../../data_imm_bm/b2b/
#"""

import sys, os
sys.path.append('../../../CLAM/scripts/')
from audiob2b import runBack2BackProgram
from audiob2b import run

#data_path="/tmp"
params = dict(
	input_path="b2b/distance/inputs",
	output_path="b2b/distance/outputs",
)

back2BackTests = [
        ("doppler", # test name
		"OfflinePlayer networks/DopplerFractionalDelay.clamnetwork -s %(input_path)s/doppler.txt %(input_path)s/sweep_mono.wav -o -c 1 output.wav" % params
		, [
			"output.wav",
		]),

        ("dopplerMiddle", # test name
		"OfflinePlayer networks/DopplerFractionalDelay.clamnetwork -s %(input_path)s/dopplerMiddle.txt %(input_path)s/sweep_mono.wav -o -c 1 output.wav" % params
		, [
			"output.wav",
		]),

]
runBack2BackProgram(params['output_path'], sys.argv, back2BackTests)