This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
xrpl:signalgenerator [2019/03/04 01:04] – Karsten75 | xrpl:signalgenerator [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ===== SignalGenerator | ||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | |float float float bool int| float| [float float float bool int- float] | | ||
- | |||
- | |||
- | === Description === | ||
- | float ARG1: The time (the X coordinate in the waveform)< | ||
- | float ARG2: Frequency of the waveform< | ||
- | float ARG3: PhaseShift of the waveform< | ||
- | bool ARG4: invert the waveform< | ||
- | int ARG5: Signal Type (0 to 6)< | ||
- | Computes the value for a given signal waveform and pushes it to the stack.< | ||
- | SIGNAL TYPES for ARG5< | ||
- | 0 = NONE< | ||
- | 1 = SINE< | ||
- | 2 = SQUARE< | ||
- | 3 = TRIANGLE< | ||
- | 4 = SAWTOOTH< | ||
- | 5 = RANDOM< | ||
- | 6 = CONSTANT< | ||
- | |||
- | === Examples === | ||
- | < | ||
- | trace(< | ||
- | </ | ||