soundcloud

Tracks for “The Hives” are not streaming via the api

跟風遠走 提交于 2019-12-03 08:02:55
Tracks for "The Hives" claims to be streamable, but are returning 404s. Here's the JSON response for Civilization's Dying id 3644317 ( http://api.soundcloud.com/tracks/3644317.json?client_id= ): { "kind": "track", "id": 3644317, … "sharing": "public", "streamable": true, "embeddable_by": "all", "downloadable": false, "title": "Civilization's Dying", … "stream_url": "http://api.soundcloud.com/tracks/3644317/stream" } the streamable is true and it gives a stream_url, when trying to access it with my client_id (like I've done with other tracks) it returns 404. Edit: Sharing is public. Added the

How to use SoundCloud API in Java (Android App)

≡放荡痞女 提交于 2019-12-03 07:58:41
问题 I am researching for a project and was wondering if I can use SoundCloud API for making and app that streams music with SoundCloud. I could not find any official source from SoundCloud to privde a Java solution. Any idea? 回答1: Go to Soundcloud developer site Click on My Apps.. Sign in Register your new app Once you register you will have client id and client secret. Note it https://api.soundcloud.com/tracks/"TRACK ID"/stream?client_id="YOUR CLIENT ID" This API url will give you the sound file

Soundcloud custom player add and play song dynamically

匿名 (未验证) 提交于 2019-12-03 07:36:14
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using soundcloud custom player to create a player which can play all the songs on my site. This works pretty good when i just place static url of any track or a post. But what i want is to add the song to the list dynamically. I have done lots of research but couldn't get it to work. What i want is there would be multiple players through out the site. kind of( http://soundcloud.com ) and there would a main player on the top(like soundcloud) which would play around 100 latest songs on site and there would be a smaller player clicking on

Getting specific user's track list with soundcloud API

淺唱寂寞╮ 提交于 2019-12-03 07:03:23
问题 Is it possible to get the track list from a specific user via the soundcloud API WITHOUT requiring that specific user to authenticate? I'm looking for something like the YouTube feeds you can get here: https://gdata.youtube.com/feeds/api/users/mrromandiaz/uploads?max-results=10 (I've pointed this at my account, but the username "mrromandiaz" can be replaced with any username to retrieve that user's videos... Question is, does Soundcloud offer anything similar? I don't need to authenticate, or

How to get proper soundcloud url for embedding from a standard url?

若如初见. 提交于 2019-12-03 06:19:15
问题 So right now I can grab the url from already embedded soundcloud files in embed or iframe tags and use those urls on another page and display it in fancybox. Is there a way to get the right url or display in fancybox if a user offers a typical share url such as http://soundcloud.com/song-b/song-please or http://snd.sc/yp6VMo ? I tried looking at the api documentation but I couldn't really find what I was looking for. 回答1: He is trying to get html to create a Soundcloud widget, not get the API

How to get track ID from URL using the SoundCloud API

試著忘記壹切 提交于 2019-12-03 05:08:41
问题 How can I get a track ID from a track URL using the SoundCloud API? 回答1: You didn't specify a language in your question, so I'm just going to provide a high-level answer. Use the resolve endpoint. I'm using this URL as an example: https://soundcloud.com/msmrsounds/ms-mr-hurricane-chvrches-remix HTTP GET: https://api.soundcloud.com/resolve.json?url=https%3A%2F%2Fsoundcloud.com%2Fmsmrsounds%2Fms-mr-hurricane-chvrches-remix&client_id=[your_client_id] The resulting JSON: { "status": "302 - Found"

Getting max amplitude for an audio file per second

删除回忆录丶 提交于 2019-12-03 05:04:17
I know there are some similar questions here, but most of them are concerning generating waveform images , which is not what I want. My goal is to generate a waveform visualization for an audio file, similar to SoundCloud, but not an image. I'd like to have the max amplitude data for each second (or half second) of an audio clip in an array. I could then use this data to create a CSS-based visualization. Ideally I'd like to get an array that has all the amplitude values for each second as a percentage of the maximum amplitude of the entire audio file. Here's an example: [ 0.0, # Relative max

Playing a SoundCloud file in IOS app

♀尐吖头ヾ 提交于 2019-12-03 03:35:36
Using the quick start guide provided would like to play a SoundCloud track within IOS app. The code provided to play the stream is here: SCAccount *account = [SCSoundCloud account]; [SCRequest performMethod:SCRequestMethodGET onResource:[NSURL URLWithString:audioFile] usingParameters:nil withAccount:account sendingProgressHandler:nil responseHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSError *playerError; audioPlayer = [[AVAudioPlayer alloc] initWithData:data error:&playerError]; audioPlayer.numberOfLoops = 0; [audioPlayer prepareToPlay]; [audioPlayer play]; }]; Problem

Soundcloud API - Origin <mysite> is not allowed by Access-Control-Allow-Origin

匿名 (未验证) 提交于 2019-12-03 02:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: As a follow-up to Play playlist or track by permalink not trackid : the solution provided works fine seemingly everywhere except Safari on Mac. On the Safari on Mac we see XMLHttpRequest cannot load http://api.soundcloud.com/playlists/ .json?client_id=..., Origin is not allowed by Access-Control-Allow-Origin This is somewhat complicated by the fact that we have embedded the JavaScript into another site (Confluence). The standalone fiddle worked fine on Safari. From XmlHttpRequest error: Origin null is not allowed by Access-Control

Soundcloud HTML5 Player: Events.FINISH only fired once

匿名 (未验证) 提交于 2019-12-03 02:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using the SC HTML5 player, when one sound finishes, I load in another source, however the FINISH event only seems to fire for the first song, my code is as follows //Set the source document.getElementById("sc-widget").src = scPath; //get the widget reference var widgetIframe = document.getElementById('sc-widget'), widget = SC.Widget(widgetIframe); //set the finish event widget.bind(SC.Widget.Events.FINISH, endSC); function endSC() { var scPath = "http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F1848538&show