使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
chemicalcrux
/
dissolve
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Put type names on each class
The minifier was obliterating this information
master
Fen Dweller
4 年前
父节点
dd8b471e39
当前提交
af1ee107e9
共有
8 个文件被更改
,包括
8 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-0
src/audio.ts
+1
-0
src/filters/HighpassFilter.ts
+1
-0
src/filters/LowpassFilter.ts
+1
-0
src/filters/ReverbFilter.ts
+1
-0
src/filters/StereoWidthFilter.ts
+1
-1
src/serialize.ts
+1
-0
src/sources/IntervalSource.ts
+1
-0
src/sources/LoopingSource.ts
+ 1
- 0
src/audio.ts
查看文件
@@ -92,6 +92,7 @@ export class Soundscape {
export abstract class Node {
abstract kind: string;
abstract type: string;
constructor(public name: string) {}
}
+ 1
- 0
src/filters/HighpassFilter.ts
查看文件
@@ -1,6 +1,7 @@
import { Filter } from "./Filter";
import { context, exposedNumber } from "../audio";
export class HighpassFilter extends Filter {
type = "HighpassFilter"
private biquad: BiquadFilterNode;
@exposedNumber({
+ 1
- 0
src/filters/LowpassFilter.ts
查看文件
@@ -1,6 +1,7 @@
import { Filter } from "./Filter";
import { context, exposedNumber } from "../audio";
export class LowpassFilter extends Filter {
type = "LowpassFilter"
private biquad: BiquadFilterNode;
@exposedNumber({
+ 1
- 0
src/filters/ReverbFilter.ts
查看文件
@@ -3,6 +3,7 @@ import { context, exposedNumber } from "../audio";
import Reverb from "soundbank-reverb";
export class ReverbFilter extends Filter {
type = "ReverbFilter"
private reverb: any;
@exposedNumber({
+ 1
- 0
src/filters/StereoWidthFilter.ts
查看文件
@@ -1,6 +1,7 @@
import { Filter } from "./Filter";
import { context, exposedNumber } from "../audio";
export class StereoWidthFilter extends Filter {
type = "StereoWidthFilter"
private mono: GainNode;
private stereo: GainNode;
+ 1
- 1
src/serialize.ts
查看文件
@@ -73,7 +73,7 @@ export function serializeNode<T extends Node>(_node: T): any {
results.kind = node.kind;
results.name = node.name;
results.type = node.
constructor.nam
e;
results.type = node.
typ
e;
return results;
}
+ 1
- 0
src/sources/IntervalSource.ts
查看文件
@@ -2,6 +2,7 @@ import { Source } from "./Source";
import { context, exposedRange } from "../audio";
export class IntervalSource extends Source {
type = "IntervalSource"
@exposedRange({
name: "Interval",
min: 0.25,
+ 1
- 0
src/sources/LoopingSource.ts
查看文件
@@ -8,6 +8,7 @@ export type SerializedLoopingSource = {
};
export class LoopingSource extends Source {
type = "LoopingSource"
private source!: AudioBufferSourceNode;
private started = false;
private running = false;
撰写
预览
正在加载...
取消
保存