(s: IWriteable)
| 156 | } |
| 157 | |
| 158 | public override writeTo(s: IWriteable): void { |
| 159 | // meta header |
| 160 | s.writeByte(0xff); |
| 161 | // time signature |
| 162 | s.writeByte(0x58); |
| 163 | // size |
| 164 | MidiFile.writeVariableInt(s, 4); |
| 165 | // Data |
| 166 | s.writeByte(this.numerator & 0xff); |
| 167 | s.writeByte(this.denominatorIndex & 0xff); |
| 168 | s.writeByte(this.midiClocksPerMetronomeClick & 0xff); |
| 169 | s.writeByte(this.thirtySecondNodesInQuarter & 0xff); |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | /** |
nothing calls this directly
no test coverage detected