OpenStudiosCo / Langenium

Web engine for hosting the Langenium game universe
http://langenium.com/
MIT License
11 stars 3 forks source link

Soundcloud #17

Closed paulbrzeski closed 11 months ago

paulbrzeski commented 7 years ago

Make a new demo page with basic button controls (idfc what framework.. probz pure+fontawesome lol) https://developers.soundcloud.com/docs/api/sdks#streaming play(): Starts to play the sound pause(): Pauses the player seek(time): Seeks to the position in the song (in milliseconds) currentTime(): Returns the current position (in milliseconds) setVolume(volume): Sets the volume (from 0 to 1) getVolume(): Returns the current volume on(event, handler): Subscribes the handler to the given event

Probably pick a few songs off ze Soundcloud? Maybe play with fades n stuff..

Demo Ideas!!

Probably gonna use 3rd party wrapper as it gives the damn length of tracks (FFS) - https://github.com/voronianski/soundcloud-audio.js/

paulbrzeski commented 7 years ago

Request API key... but it's not looking good :(