summaryrefslogtreecommitdiffstats
path: root/noatun/library/noatunarts/noatunarts.idl
blob: 809e2bb6a2962aed010aa44fde93edccbc84b036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#include <artsflow.idl>

module Noatun
{

interface Equalizer : Arts::StereoEffect
{
	attribute sequence<float> levelCenters;
	attribute sequence<float> levelWidths;
	attribute sequence<float> levels;
	
	attribute long bands;
	attribute long enabled;
	attribute float preamp;
	void set(sequence<float> levels, sequence<float> centers, sequence<float> widths);
};

interface EqualizerSSE : Arts::StereoEffect
{
	attribute sequence<float> levelCenters;
	attribute sequence<float> levelWidths;
	attribute sequence<float> levels;
	
	attribute long bands;
	attribute long enabled;
	attribute float preamp;
	void set(sequence<float> levels, sequence<float> centers, sequence<float> widths);
};

interface FFTScope : Arts::StereoEffect
{
	attribute float bandResolution;
	sequence<float> scope();
};

interface FFTScopeStereo : Arts::StereoEffect
{
	attribute float bandResolution;
	sequence<float> scopeRight();
	sequence<float> scopeLeft();
};

interface RawScope : Arts::StereoEffect
{
	attribute long buffer;
	sequence<float> scope();
};

interface RawScopeStereo : Arts::StereoEffect
{
	attribute long buffer;
	sequence<float> scopeLeft();
	sequence<float> scopeRight();
};

interface StereoEffectStack : Arts::StereoEffect
{
	long insertAfter(long after, Arts::StereoEffect effect, string name);
	void move(long after, long item);
	sequence<long> effectList();
	long insertTop(Arts::StereoEffect effect, string name);
	long insertBottom(Arts::StereoEffect effect, string name);
	void remove(long ID);
};

interface StereoVolumeControl : Arts::StereoEffect
{
	attribute float percent;
};

interface StereoVolumeControlSSE : Arts::StereoEffect
{
	attribute float percent;
};

interface Listener
{
	void message();
};

interface Session
{
	attribute long pid;
	void addListener(Noatun::Listener listener);
	void removeListener(Noatun::Listener listener);
};


};