Clarify audio file type required.

This commit is contained in:
empathicqubit 2018-05-27 20:56:27 -04:00
parent 290e45c62c
commit 5e9516cb0c
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ You may be able to use newer or older versions of these components, but this is
Running
----------------------------
1. Create a folder at /frontend/public/audio and save your audio files there. They should all be the same length.
1. Create a folder at /frontend/public/audio and save your OGG audio files there. They should all be the same length.
2. Copy the file /.env.sample to /.env. Change the `AUDIO_FILES_ARRAY` to include your files.
3. Change the `ADMIN_PASSWORD` in .env to something else!
4. Run `yarn install`

View file

@ -191,7 +191,7 @@ class Admin extends React.Component {
</div>
) : (
<div>
Current play position: <strong>{this.state.syncPacket.timecode / 1000} seconds</strong><br />
Current play position: <strong>{(this.state.syncPacket.timecode / 1000).toFixed(2)} seconds</strong><br />
<input type="range" min={0} max={370000} step={1} value={this.state.syncPacket.timecode} onChange={ evt => this.adjustTimecode(evt.target.value) } />
<div className="track-controls">
<button onClick={ () => this.restart() }>

View file

@ -21,7 +21,7 @@ class BufferClient extends React.Component {
<button className="playit">Play!</button>
<br />
</div>
Current play position: <strong>{this.props.realPosition / 1000} seconds</strong><br />
Current play position: <strong>{(this.props.realPosition / 1000).toFixed(2)} seconds</strong><br />
<br />
{enabledSources.length
? <div className="enabled-sources">