MIDI or OSC controls between browsers - browser

I'm looking into the possibility of simple music snychronisation and control (MIDI / OSC) between mobile browsers, XMPP would seem promising, but I've found no suitable extensions. Have you any useful pointers?
Moreover, do you feel xmpp could be the way to go, or are there better alternatives? "In-browser" really would be a must.
Thanks

Try sending synchronization commands over XEP-0060. You can make up whatever XML you like to publish.

Related

Ableton Link in a VST Plugin possible?

First i am not really a coder more a musician.
Ableton Link comes more and more to our devices in apps but not in DAWs like Cubase, Bitwig, Logic, FL Studio, Cakewalk, etc.
So is it possible to grab the song tempo from a DAW and transmit it via the Ableton Link protocol over a VST plugin? Ok, mostly it is an one way synchronization. A VST plugin can't set the host tempo. But hey, for me its ok when my devices (iOS, Android apps with Ableton Link support) are in sync!
Hope it is clear what i mean and hoping here for a magic VST coder to realize my dream!
More Ableton Link on GitHub...
Yes, this is theoretically possible. There is nothing special about the Link framework to prevent it from being used in a VST. But as you noted, the host will be unable to accept tempo changes from the plugin. Maybe this is a limitation which is acceptable in certain use-cases.
Rather than pleading for a random magic VST coder to realize your dream, perhaps you should encourage the creators of your DAW of choice to integrate Link in their application. ;)

In which language is www.audiotool.com programmed?

Im learning to code web stuff. ruby,javascript...
I would like to do something that makes noise like www.audiotool.com
The app is basically a DAW, digital audio workstation, is fast and sounds good... you can eveb use samples and save projects in the cloud.
But my main question is which languages or tools can make an app like this ?
but i don't know which languages make this kind of apps posible ?
is it creating the sound in the browser, or in a server and sending it back ?
any guesses?
Audiotool.com uses flash to synthesize audio. Their FAQ says that you should update your flash player if you're having trouble, so that seems like a pretty strong indication that they use flash.
However, if you want to make music apps, I would advise against using flash. Newer devices and operating systems will drop support for flash (iPhones/iPads already don't support flash, I believe).
If you want a future-proofed music-making solution, you can do that all client-side in javascript with the web-audio api.
I have authored, and actively maintain a javascript library that aims to simplify the process of building complex apps with the web audio api. If you're just getting started with making music on the web, you might want to check it out. The web audio api is not terribly beginner-friendly, in my opinion. https://github.com/rserota/wad

Web App with Microphone Input

I'm working on a C++ application which takes microphone input, processes it, and plays back some audio. The processing will incorporate a database located on a server. For ease of creating UI and for maximum portability, I'm thinking it would be nice to have the front end be done in HTML. Essentially, I want to record audio in a browser, send that audio to the server for processing, and then receive audio from the server which will then be played back inside the browser.
Obviously, it would be nice if HTML5 supported microphone input, but it does not. So, I will need to create a plugin of some kind in order to make this happen. NPAPI scares me because of the security issues involved, so I was looking into PPAPI and Native Client. Native Client does not yet support microphone input, and I believe that the PPAPI audio input API would be limited to a dev build of Chrome. FireBreath doesn't look like it supports any microphone function either. So, I believe my options are:
Write my own NPAPI plugin to record the audio
Use Flash to get microphone input
Bail on browsers altogether and just make a native application
The target audience for this is young children and people who aren't computer-adept. I'd like to make it as portable and simple to use as possible. Any suggestions?
If you can do it all in Flash and have the relevant knowledge, that would probably be the best solution:
You can avoid writing platform-specific code, delivery/updating is easy and Flash has broad coverage so users don't need to install any custom plugins.
FireBreath doesn't look like it supports any microphone function either.
You can write your own (platform-dependent) code for audio recording with FireBreath, just like you could in a plain NPAPI plugin. FireBreath just makes it easier for you to write the plugin, the result is still a NPAPI (and ActiveX) plugin with access to native APIs etc.
You can use Capturing Audio & Video features in HTML5, see this link for more information.

How to Play Audio On Your Website PHP / Flash?

I'm just wondering how, and which audio player I should use to allow my visitors to play audio files on my website.
Thanks!
I use a flash-based player cleverly called "MP3 Player". Nice looking and easy to use (and free!)
Flash is the most widely available platform capable of playing sounds in a web page. It is highly likely that flash is already installed in their browser.
http://kb2.adobe.com/cps/156/tn_15660.html

Is there any good way to get microphone audio input to server using just a web browser?

I need to get audio input from users having just browsers (and not only IE). Is there any good way to get audio stream with a brouser to server.
If it possible to avoid Java, flash etc?
Thanks.
You could do it with flash.
Have a look at http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000297.html
P.S.: Html alone can't do it. You would need a plugin.
No. You need a plugin of some sort. HTML itself doesn't support microphone input.
-- EDIT
As answered a few secs before me, you can use many third party plugins, such as flash and java. But you cannot avoid not using them.

Resources