webSamplr is an active real-time sampler that samples anything from the web. It has a built in Chrome Embedded System (CES) browser in terms of Max’s jweb object. The browser is supported by a SQL Lite database of sources classified into 5 types: music, samples, radio, video, social media.
Each list populates a sublist with an index and name of the source. Clicking on a source navigates the web browser to that page. The plugin also displays the sample rate of the current sample being streamed and a spectrogram of the audio.
This project was done from scratch on a Macbook High Sierra. For Windows, look for audio routing alternatives like Jack audio, VB-Audio. Max4Live devices can generate sound on a track but how can the generated sound be recorded on the track? Solution: use 3rd party routing software. This is the ONLY dependency in this robust M4L device. I explored other options such as recording audio into a buffer and dragging it into Ableton Live, but the process of dragging in audio files didn’t seem intuitive and LIVE for my sampling process and playing music on the fly.
The audio is intially generated in the M4L device and routed as follows. To replicate the routing flow in the image
Download Soundflower for Mac, Jack Audio or VB-Audio for Windows and change system audio input device to Internal Microphone audio output device to Soundflower (2ch)
Setup Ableton Live preferences
Drag the .amxd M4L device onto ONE AUDIO track in Ableton Live.
Record arm all audio tracks in Ableton that are setup to record samples. webSamplr also accesses all tracks within Ableton Live using live.api.
The arrows in the device or arrow keys on the keyboard are used to navigate between tracks and scenes for specific clips, and Enter on the keyboard launches/records the selected clip in session view.
Anyone interested in adding more audio sources to the database can hit me up on github, linkedin or reddit and I’ll gladly add more sources and release updated versions for the plugin. I am hosting this plugin for $0+ on Gumroad. Donations greater than $1 are welcome to support me
Most importantly, would support me to write more plugins for artists, producers and movie scorers. Always cite and pay the rightful copyrights for any sample used in your music. This tool was only written to quickly explore sounds and write music on the fly. Peace.