Compare commits
No commits in common. "a0a75579dd0c335346dec7d9597529c18035b220" and "299a39fc27084c52bb780b02babe42fa9d105892" have entirely different histories.
a0a75579dd
...
299a39fc27
6 changed files with 0 additions and 70 deletions
|
@ -288,26 +288,3 @@ GVerb algorithm from SWH plugins.
|
||||||
- drylevel (dB): -70..0, default 0
|
- drylevel (dB): -70..0, default 0
|
||||||
- earlylevel (dB): -70..0, default 0
|
- earlylevel (dB): -70..0, default 0
|
||||||
- taillevel (dB): -70..0, default -17.5
|
- taillevel (dB): -70..0, default -17.5
|
||||||
|
|
||||||
## `invert split index`
|
|
||||||
|
|
||||||
> A utility plugin that inverts the signal, also (wrongly) known as a 180 degree phase shift.
|
|
||||||
|
|
||||||
## `tapedelay split index`
|
|
||||||
|
|
||||||
**TODO:** gives 0 output
|
|
||||||
|
|
||||||
> Correctly models the tape motion and some of the smear effect, there is no simulation fo the head saturation yet, as I don't have a good model of it. When I get one I will add it.
|
|
||||||
|
|
||||||
> The way the tape accelerates and decelerates gives a nicer delay effect for many purposes.
|
|
||||||
|
|
||||||
- speed (inches/sec, 1=normal): 0..10, default 1
|
|
||||||
- da\_db (dry level, dB): -90..0, default -90
|
|
||||||
- t1d (tap 1 distance, inches): 0..4, default 0
|
|
||||||
- t1a\_db (tap 1 level, dB): -90..0, default 0
|
|
||||||
- t2d (tap 2 distance, inches): 0..4, default 1
|
|
||||||
- t2a\_db (tap 2 level, dB): -90..0, default -90
|
|
||||||
- t3d (tap 3 distance, inches): 0..4, default 2
|
|
||||||
- t3a\_db (tap 3 level, dB): -90..0, default -90
|
|
||||||
- t4d (tap 4 distance, inches): 0..4, default 3
|
|
||||||
- t4a\_db (tap 4 level, dB): -90..0, default -90
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
load :0;
|
|
||||||
invert 3 1;
|
|
||||||
quicksave;
|
|
|
@ -1,3 +0,0 @@
|
||||||
load :0;
|
|
||||||
tapedelay 3 1 1 -90 0 0 1 -90 2 -90 3 -90;
|
|
||||||
quicksave;
|
|
|
@ -36,8 +36,6 @@ pub const CommandType = enum {
|
||||||
ThruZero,
|
ThruZero,
|
||||||
Foverdrive,
|
Foverdrive,
|
||||||
Gverb,
|
Gverb,
|
||||||
Invert,
|
|
||||||
TapeDelay,
|
|
||||||
|
|
||||||
Noise,
|
Noise,
|
||||||
WildNoise,
|
WildNoise,
|
||||||
|
@ -203,8 +201,6 @@ pub const Lang = struct {
|
||||||
_ = try self.keywords.put("thruzero", .ThruZero);
|
_ = try self.keywords.put("thruzero", .ThruZero);
|
||||||
_ = try self.keywords.put("foverdrive", .Foverdrive);
|
_ = try self.keywords.put("foverdrive", .Foverdrive);
|
||||||
_ = try self.keywords.put("gverb", .Gverb);
|
_ = try self.keywords.put("gverb", .Gverb);
|
||||||
_ = try self.keywords.put("invert", .Invert);
|
|
||||||
_ = try self.keywords.put("tapedelay", .TapeDelay);
|
|
||||||
|
|
||||||
// custom implementations (not lv2)
|
// custom implementations (not lv2)
|
||||||
_ = try self.keywords.put("noise", .Noise);
|
_ = try self.keywords.put("noise", .Noise);
|
||||||
|
|
|
@ -30,8 +30,6 @@ pub fn printList(list: langs.CommandList, stream: var) !void {
|
||||||
.ThruZero => "thruzero",
|
.ThruZero => "thruzero",
|
||||||
.Foverdrive => "foverdrive",
|
.Foverdrive => "foverdrive",
|
||||||
.Gverb => "gverb",
|
.Gverb => "gverb",
|
||||||
.Invert => "invert",
|
|
||||||
.TapeDelay => "tapedelay",
|
|
||||||
|
|
||||||
.Noise => "noise",
|
.Noise => "noise",
|
||||||
.WildNoise => "wildnoise",
|
.WildNoise => "wildnoise",
|
||||||
|
|
|
@ -344,16 +344,6 @@ pub const Runner = struct {
|
||||||
try image.runPlugin("http://plugin.org.uk/swh-plugins/gverb", pos, params);
|
try image.runPlugin("http://plugin.org.uk/swh-plugins/gverb", pos, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn invertCmd(self: *Runner, pos: Position, params: ParamList) !void {
|
|
||||||
var image = try self.getImage();
|
|
||||||
try image.runPlugin("http://plugin.org.uk/swh-plugins/inv", pos, params);
|
|
||||||
}
|
|
||||||
|
|
||||||
fn tapedelayCmd(self: *Runner, pos: Position, params: ParamList) !void {
|
|
||||||
var image = try self.getImage();
|
|
||||||
try image.runPlugin("http://plugin.org.uk/swh-plugins/tapeDelay", pos, params);
|
|
||||||
}
|
|
||||||
|
|
||||||
fn runCommand(self: *Runner, cmd: *lang.Command) !void {
|
fn runCommand(self: *Runner, cmd: *lang.Command) !void {
|
||||||
var params = ParamList.init(self.allocator);
|
var params = ParamList.init(self.allocator);
|
||||||
defer params.deinit();
|
defer params.deinit();
|
||||||
|
@ -639,31 +629,6 @@ pub const Runner = struct {
|
||||||
try self.gverbCmd(pos, params);
|
try self.gverbCmd(pos, params);
|
||||||
},
|
},
|
||||||
|
|
||||||
.Invert => {
|
|
||||||
const pos = try cmd.consumePosition();
|
|
||||||
try self.gverbCmd(pos, params);
|
|
||||||
},
|
|
||||||
|
|
||||||
.TapeDelay => {
|
|
||||||
const pos = try cmd.consumePosition();
|
|
||||||
try cmd.appendParam(¶ms, "speed");
|
|
||||||
try cmd.appendParam(¶ms, "da_db");
|
|
||||||
|
|
||||||
try cmd.appendParam(¶ms, "t1d");
|
|
||||||
try cmd.appendParam(¶ms, "t1a_db");
|
|
||||||
|
|
||||||
try cmd.appendParam(¶ms, "t2d");
|
|
||||||
try cmd.appendParam(¶ms, "t2a_db");
|
|
||||||
|
|
||||||
try cmd.appendParam(¶ms, "t3d");
|
|
||||||
try cmd.appendParam(¶ms, "t3a_db");
|
|
||||||
|
|
||||||
try cmd.appendParam(¶ms, "t4d");
|
|
||||||
try cmd.appendParam(¶ms, "t4a_db");
|
|
||||||
|
|
||||||
try self.tapedelayCmd(pos, params);
|
|
||||||
},
|
|
||||||
|
|
||||||
else => blk: {
|
else => blk: {
|
||||||
std.debug.warn("Unsupported command: {}\n", .{cmd.command});
|
std.debug.warn("Unsupported command: {}\n", .{cmd.command});
|
||||||
break :blk RunError.UnknownCommand;
|
break :blk RunError.UnknownCommand;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue