Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
chemicalcrux
/
dissolve
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
Put type names on each class
The minifier was obliterating this information
master
Fen Dweller
4 anos atrás
pai
dd8b471e39
commit
af1ee107e9
8 arquivos alterados
com
8 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+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
Ver arquivo
@@ -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
Ver arquivo
@@ -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
Ver arquivo
@@ -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
Ver arquivo
@@ -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
Ver arquivo
@@ -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
Ver arquivo
@@ -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
Ver arquivo
@@ -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
Ver arquivo
@@ -8,6 +8,7 @@ export type SerializedLoopingSource = {
};
export class LoopingSource extends Source {
type = "LoopingSource"
private source!: AudioBufferSourceNode;
private started = false;
private running = false;
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar