downloading audio files into iTunes - audio

How can I offer audio downloads that go straight into iTunes or their default music client rather than just downloading a file that has to be manual placed into their iTunes music folder?
This may be something really simple, just don't the answer. - Thanks!

Check this out.
http://itunes.apple.com/linkmaker/

Check out the Digital Audio Access Protocol. This describes HTTP headers you can use to tell the client about the kind of content they're downloading. Then your browser can say "hey, should I delegate this to another app? Oh, iTunes handles that type? OK, bro, here you go!"

Related

Is there a way to get audio from spotify

So I'm Working on a NodeJs project and am wondering if there is a way to get audio from Spotify Like you Input a song URL and It plays the track, I've looked all around and can only find stuff for the web browser, I don't know if they even have a way. If there is any info about this please let me know.
You'd have to make calls through the Spotify API.
You can read more about the API here: Spotify API Documentation
This is a node.js specific library that you may also want to check out:
thelinmichael's node.js Spotify API Library
The answer provisioned and marked as correct is wrong.
The only way you can extract audio is by using a Windows VM, connect via RDP. Run a script to play Spotify programatically and record the audio.
Since this is the only solution. It is not possible to query data from Spotify.

Uploading MP3 files for analysis with spotify audio feature api

I was going through the following link for spotify audio features extraction api,
https://developer.spotify.com/web-api/get-audio-features/
and I was wondering if there is any way I can upload my own track (MP3 file) and get these audio feature without having to specify a spotify id?
I found out that Echo nest has some APIs where we can upload our own tracks for analysis
http://developer.echonest.com/docs/v4/track.html
Does Spotify have a similar track upload feature?. (I do know that Echo nest is migrating to Spotify). Any help/pointers will be greatly appreciated. Thank you.
and I was wondering if there is any way I can upload my own track (MP3
file) and get these audio feature without having to specify a spotify
id?
No, you can't unfortunately.
Source: I work at Spotify.

embedding audio into blogger

In Blogger I am trying to recreate the audio feature used in this web site http://www.talkenglish.com/lessondetails.aspx?ALID=2001 where you click on text and hear the audio (an mp3 file) instantly. When I embed identical code into a Blogger page and click it, it wants to play the mp3 file by kick starting Windows Media Player. I don't want a solution like SoundCloud that creates visible player controls. Can anyone suggest a solution. I am hoping to use it to create an online amateur speech therapy package to support some voluntary work I do in this area.
Thanks
That site is using a file called audioplayer.js. To be honest, I am not exactly sure if that's custom built or not. You can look at the source for that here. You have a bunch of options to get the functionality you're looking for. A couple are below.
You can use SoundManager2 which is a very robust JS Sound plugin.
You can also use HTML5's built in <audio> element. You can read more about that here

Can I drag a file out of a node-webkit app and drop it on the Desktop?

The client is trying to figure out whether they'd like to go with a node-webkit app with AngularJS, but their one sticking point is that they'd like to be able for their users to drag a file out of the app and onto the desktop or an email client (such as Outlook or Lotusnotes) like you can do with an applet (which I'm desperately trying to avoid).
As far as I can tell, this doesn't look possible, but I'm not well versed yet with the latest stuff you can do with HTML5 and Chrome specifically. Any guidance is greatly appreciated.
Edit: I've also never used node.js
http://www.html5rocks.com/en/tutorials/dnd/basics/#toc-dnd-files
http://www.thecssninja.com/javascript/gmail-dragout
The answer is yes. Here is some more text so that I can submit my answer.
#tjb1982 Using a demo like this one:
http://www.thecssninja.com/javascript/gmail-dragout worked for simple files, but when trying to drag a WAV file or MP3 file into a audio software( like logic, pro tools, ableton ) they won't recognise it as an audio file.

How to record audio in a Chrome Extension?

What's the simplest way to setup a chrome extension to record audio from the microphone?
I see there is a working experimental speech input API but how come you don't have access to the recorded file? Seems like hooking up into that should be simple enough, as it's a step earlier in the process, no? Especially as there is also a text-to-speech API, so you could effectively record into text and then have the computer speak it back out, but unless you want a standard voice, how lame, redundant and prone to error is that?
Then there seem to be flash solutions like this but how can I use that in a chrome extension without having to setup anything server-side? (since I don't actually need to send anything to a server--it's all local and client-side)
Is NPAPI a possibility? Is there such a plugin ready-made?
Don't know of other possible alternatives (HTML5 isn't ready yet, it seems) but I welcome anything functional and simple to implement and hook into a chrome extension.
Finally a native solution appeared: Introducing getUserMedia
You cannot use the speech input API, since it will record only the microphone. Okay, you can grab the speakers like that, but it's clearly not the solution.
Using a NPAPI plugin is a solution. You'll can identify the sound made by a particular tab and after record that source, but it is no longer web dev.

Resources