Sampling YouTube videos

edited August 2012 in General
I've seen this question asked more than once on various iOS music app forums: "how can I sample a YouTube video using just my iPhone or iPad?"

Well, I have a solution.


Apps you need to do this:
GoodReader
Hokusai

Both of these apps are very, very useful. I highly suggest buying Hokusai's in-app Pro upgrade, as it makes Hokusai the best sample editing app for iOS. With the exception of beat chopping, it does everything BM2's sample editing does (and more), only even better.

Once you have the apps, here's how to sample YouTube videos:

1. First, use these instructions to create a bookmarklet in Safari that will allow you to download YouTube videos with GoodReader.

2. Use the bookmarklet you made to save the YouTube video you want to sample.

3. After the video is done downloading in GoodReader, long tap on the video to access GoodReader's file management features. There's an option there to rename the file—tap it. A pop-up will appear. Although the video's file extension (.mp4) is hidden, you can simply change it by adding ".m4a" after the video's name (without the quotes, of course). Another pop-up will appear, asking if you're sure you want to change the file's extension. Tap "Use .m4a" to apply the change.

4. Now that iOS thinks the video is actually just an audio file, select the video and tap "Open In..." from the file management menu. Hokusai will be an option to open the video. Choose Hokusai.

5. Hokusai will open and import the video's audio stream. You can now use Hokusai to edit the video's audio and copy it to BM2, upload it to Dropbox, etc.


It's not the most elegant solution, but it saves you from having to use a regular computer to sample YouTube videos! I hope this how-to helps someone out there. Feel free to point others to this post.
«1

Comments

  • edited 6:22PM
    Yes! Thanks for this!
  • edited 6:22PM
    Took a few try's ,but I finally did it!!! Thanks for the Tip!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
  • edited 6:22PM
    I've done all of that and can't get it to work. Do I have to use the YouTube app? Do I have to go to youtube inside the Safari browser? Plz help.
  • edited 6:22PM
    Yes, you have to load the video you want to download in Safari and use the bookmarklet you made with GoodReader. Make sure you've followed the directions carefully.
  • edited 6:22PM
    Yes, you have to load the video you want to download in Safari and use the bookmarklet you made with GoodReader. Make sure you've followed the directions carefully.
    The directions can be confusing, it works so keep trying. The big deal for me was setting up the bookmark right. Go to GoodReader and tap the Gear looking icon get to General settings and press bookmark for videos. Make a bookmark in Safari after that called YouTube Download or any such you can remember. Edit your bookmark and put that code in the address bar which is under the name. All you have to do is erase whatever is there and tap in the space and paste. Then exit out By pressing Done then your done with that part.

    Find a YouTube video in Safarai and then press that bookmark while it's playing ( doesn't have to play) and it will start to download in GoodReader. Next hold on to the name and Manage Files will pop up. There is an option to rename the file. Rename it anything you want ,but make sure you add .m4a (dot Em Four A) at the end. After that tap on your file and press Preview it will have an option to Open In, open in your favorite app Like Hokusai which is a good one.

    I had the most problem setting up my bookmark right, after I got it right it was all good!!!
  • edited 6:22PM
    Is this method any better than using pro tube hd to download the audio of the video? Of course you do have to jailbreak but other than that any other cons?
  • edited 6:22PM
    In update 2.3 we have audio tracks. We can also run beatmaker in the background. Shhhh (while recording)

    Get creative with your ins and outs. Pandora can be run in the background too.
    Hint hint. YouTube can be run in the foreground while bm2 is in the background. Do we see what this means? So many audio sources can be recorded into beatmaker now.

    Sampling heaven lol
  • edited 6:22PM
    Hey Ben, I haven't really had a chance to play with the audio tracks. Is it possible to simply play a video while BM2 is in the background recording? I figured it would simply record whatever input was coming from the iPad or iPhone mic.

    Audio tracks in 2.3 only record in mono, I think, which could be a problem when sampling.

    Feel free to post some tips, Ben. Anything that makes sampling easier with iPads and iPhones would be really useful. I'm hoping AudioBus will take things to another level.
  • JNSJNS
    edited 6:22PM
    This is simply the best post ever.
    Thank you Kadath!

    It works like a charm.
  • edited 6:22PM
    Ben's method does work but it is only in mono. I think this may have always been possible because I tried this method with the sample recorder and it worked just the same. Also, it's recording the mic from the iPad which is not the best quality. There are apps that can convert the file to stereo and if the source is good enough it can still be eq'd to be of some use.

    I also wasn't aware that audio tracks are mono only. I see both inputs with my io dock but can only select one. Not really a big deal since you can sample in stereo through the sample recorder but would have been nice for people who need it.

    I still think jailbreaking then using apps like ifile, pro tube hd, pwntunes, and pandora downloader are the best way to get samples into BM2. Well either that or record directly into the sample recorder but of course you would need cords and another device to get the audio sample from. Not the most mobile solution but great when you don't need to be.

    And don't sleep on using the djay app to sample and create from. Record whatever you want with the dj effects and sounds you want to add and the audio can be pasted into BM2.
  • edited 6:22PM
    Just thought of something after reading a post from Ben in another thread. I have an Alesis IO Dock. I'm wondering, if I use the headphone jack as an output from either the iPad or the dock itself to the two inputs of the dock, will it allow me to record in stereo? When I get home I'm going to try this and report back. I don't see why it wouldn't work though.
  • edited 6:22PM
    Works like a charm. Connected a 1/8 to dual 1/4 cable from iPad headphone jack to the two 1/4 jacks on the io dock. I plug my headphones so I can monitor the sound and I'm good to go. I tried this with GarageBand. I was always looking for a way to use the sounds from the guitar without having to email the mp3 to myself, convert with another program, then bring into BM2. If there's another way of using GarageBand sounds in BM2 please advise because that was the only method I have seen that allows me to do this. This works with everything though.

    Use the sample recorder because it records in stereo. Hit record, go to any program you want, play whatever you want, then go back to BM2 to edit as you wish.

    This just changed my BM2 life.
  • edited 6:22PM
    I still think jailbreaking then using apps like ifile, pro tube hd, pwntunes, and pandora downloader are the best way to get samples into BM2. Well either that or record directly into the sample recorder but of course you would need cords and another device to get the audio sample from. Not the most mobile solution but great when you don't need to be.
    Yeah, when I'm at home I use a Behringer UCA202 to plug my iPhone into my iPad and just play whatever video I want to sample on the iPhone while recording on the iPad.

    Being able to record another app's audio output while BM2 is backgrounded without any external hardware would be killer, but I'm not even sure it's possible with the way iOS apps are sandboxed.
  • edited 6:22PM
    Yeah, when I'm at home I use a Behringer UCA202 to plug my iPhone into my iPad and just play whatever video I want to sample on the iPhone while recording on the iPad.

    Being able to record another app's audio output while BM2 is backgrounded without any external hardware would be killer, but I'm not even sure it's possible with the way iOS apps are sandboxed.[/quote]

    I don't think it is either unless it's from the built in mic but the Behringer is pretty small. That's probably the smallest hardware device that will allow you to resample into the iPad. Have you tried connecting the iPad headphone jack to the stereo input of the uca202? I haven't tried it but I'm curious. Hit record on BM2 then go to a YouTube video or whatever app you want and play it. Since the uca202 has a headphone jack you can still monitor the signal going into the iPad. Might not be of use for YouTube since I'm sure you always have your phone but iPad exclusive apps are worth giving it a try for.
  • edited 6:22PM
    I'm using a iPod touch 4g 8gb. I know if you sample through the headphone jack weather you use an irig or the mic it's gonna be mono. That's an iOS limitation. (but not really sometimes I just go into the settings under acessability and put the audio on mono. Use the outputs of the for example. Irig. Get a cord that has one end female stereo 1/8th inch and the other side two male stereo 8th inch. Plug one male end into the output of the irig the other male end needs a 8th inch to 1/4 inch adapter to go into the input of the irig. You can plug your headphones in to the female end of the adapter and you will here the output of the iOS device. So with this set up(it's a simple wire bout 6inches). You can go into pandora pick a station, exit with home button. Its still playing right? Now hopefully we already made an audio track in beatmaker. I take click off or it will record in too. What ever the output of the device is while beatmaker is running can be recorded. So I take count in off I want it to record when I want. Don't monitor the audio. You will just be listening to your outputs feed into themselves. (you ready here everything anyway) If it's YouTube you have to do this and start beatmaker first hit record then exit go into YouTube and jut press play. I just edit out the time it takes me to switch apps in the sample editor. If someone has a guitarjack 2 (it records stereo) I want to see if this technique would work seeing as you need the dock connect. For stereo.
  • edited 6:22PM
    Not talking anything. But I've been able to get YouTube videos into bm1 without the use of a computer with my 3GS. LOl
    I just using sites that let you convert the video into an mp3 and download the file with idownload or maybe there is some better downloading app. We can even go on the Akai website and download the mpc 1000 drums and open them in idownload open the files in Hokusai then copy paste to beatmaker.
  • edited 6:22PM
    Have you tried connecting the iPad headphone jack to the stereo input of the uca202?
    Actually I haven't, but I'm pretty sure it would work. I'll try it tomorrow and post the results.
    Not talking anything. But I've been able to get YouTube videos into bm1 without the use of a computer with my 3GS. LOl
    I just using sites that let you convert the video into an mp3 and download the file with idownload or maybe there is some better downloading app. We can even go on the Akai website and download the mpc 1000 drums and open them in idownload open the files in Hokusai then copy paste to beatmaker.
    Yeah I've seen those YouTube-to-MP3 converting sites, I just never bothered with them because YouTube videos already have compressed audio as it is, and I'd rather not degrade the audio quality any further. That's another thing about YouTube—always sample the HD version of videos, never the 360 or 240 versions, because the audio in those is highly compressed and sounds awful. If I remember correctly, HD YouTube videos use 160kbps AAC, and 360/240 use 64kbps AAC.

    As for downloading samples using the iPad or iPhone, I download sample packs using GoodReader, which can decompress ZIPs and RARs. GoodReader allows you to connect to Dropbox, so I just upload all of the samples to my Dropbox and then use BM2's Dropbox integration to load them all into BM2 in one shot. I really can't recommend GoodReader enough.
  • edited 6:22PM
    Well, I tried using the UCA202 to feed the iPad its own output, but it didn't work. Tried both BM2 and Hokusai. Maybe it's a technical limitation. When I tried to monitor the audio, all I could hear was a quiet high pitched hum, and recordings were blank.

    Unfortunate, but I always have my iPhone with me anyway.
  • edited 6:22PM
    After researching it a bit, I've come to the conclusion (for me at least) that pro tube HD is the best method. I find the video I want, download as mp3, bring into bm2, chop it up. I'm jail broken of course. It works for me.
  • edited 6:22PM
    I'm lost here, Great topic....Can someone please tell me the best method to sample from youtube with out a computer(only on ios) and without a jailB phone?

    note* i will be trying the first post advice asap.

    this is one of the most need features on the iso.

    thx
  • edited 6:22PM
    Holy sheeets! that worked! thank you. I little tricky but a great workaround
    ...Man i wish BM had a audiocopy copy to pad direct.
  • edited 6:22PM
    I followed all the rules (I think) but after I export it from the app, BM2 isn't one of the options to export the track too...
  • edited 6:22PM
    Kadath..Thank you very much for this...works perfectly.. Opening a new window of experiments with BM2 music for me.
    Your right about the getting the bookmark thingy right...pretty tricky.

    930J93 and The Savage..Yeah, So far,the only way I could get the wav to BM2 was through dropbox, but that was easy..I'm gonna upgrade Hokusai and see if that works with Pasteboard.

    Edit...I Downloaded full version Hokusai..load wav..hold finger and drag to highlight section>tap "more">scroll to "audio copy" (ignore apps list, just tap done)>go to BM2 pasteboard etc.etc.
    This is awesome !!!!!
    Thanks again Kadath
  • edited 6:22PM
    Kadath..Thank you very much for this...works perfectly.. Opening a new window of experiments with BM2 music for me.
    Your right about the getting the bookmark thingy right...pretty tricky.

    930J93 and The Savage..Yeah, So far,the only way I could get the wav to BM2 was through dropbox, but that was easy..I'm gonna upgrade Hokusai and see if that works with Pasteboard.

    Edit...I Downloaded full version Hokusai..load wav..hold finger and drag to highlight section>tap "more">scroll to "audio copy" (ignore apps list, just tap done)>go to BM2 pasteboard etc.etc.
    This is awesome !!!!!
    Thanks again Kadath

    Both of you are geniuses lol thank you.
  • edited 6:22PM
    I need help y'all. I actually have my sample I Hokusai but I don't know how to audio copy and paste it. I click copy the. Go to beatmaker2 and try pasting it but I don't get anything and it says pasteboard is empty. I'm lost here.
  • edited 6:22PM
    I need help y'all. I actually have my sample I Hokusai but I don't know how to audio copy and paste it. I click copy the. Go to beatmaker2 and try pasting it but I don't get anything and it says pasteboard is empty. I'm lost here.
    I get the file in bm2 now it's just that I can't chop cause I get an error that says it can save as aiff.
  • edited 6:22PM
    Hey Kadath thats not an error if ya slicing/chopping.It's all good mate, I save samples to AIFF all the time, I use the same name as the WAV and then go back later and delete the WAV named the same as AIFF.(no use having double ups)ie..If your messing with samples and GO TO SAVE (top left) then in the next window you need to then tap SAVE AS (AIFF) not SAVE (or it will save as WAV again...I hope this helps ya all.(i'm at work so I'm going by memory)

    Quote manual:"If you were working on a WAV audio file,
    BeatMaker will ask you to save your sample as an AIFF file in order to keep the slices INFORMATION"
  • edited 6:22PM
    I need help y'all. I actually have my sample I Hokusai but I don't know how to audio copy and paste it. I click copy the. Go to beatmaker2 and try pasting it but I don't get anything and it says pasteboard is empty. I'm lost here.
    I get the file in bm2 now it's just that I can't chop cause I get an error that says it can save as aiff.

    I am getting this too when trying to save as an AIFF.

    Engine error: Could not save sample

    What I did was then just save it as an AIFF, got the error, then from the little menu chose to save it in its original format. After you do that the Exporting Chop Preset window should pop up and you should be able to then save it as a pattern and load them all as presets.

    If that makes sense.
  • edited 6:22PM
    I need help y'all. I actually have my sample I Hokusai but I don't know how to audio copy and paste it. I click copy the. Go to beatmaker2 and try pasting it but I don't get anything and it says pasteboard is empty. I'm lost here.
    I get the file in bm2 now it's just that I can't chop cause I get an error that says it can save as aiff.

    I am getting this too when trying to save as an AIFF.

    Engine error: Could not save sample

    What I did was then just save it as an AIFF, got the error, then from the little menu chose to save it in its original format. After you do that the Exporting Chop Preset window should pop up and you should be able to then save it as a pattern and load them all as presets.

    If that makes sense.
    Oh yeah it makes sense it s like you save it as chopped wav's. Versus an aiff with the chop data stored on it. It totally makes sense. And @LeeNardi it does work when I save an aid converted on pc but when imported from Hokusai from Dropbox it takes a long time to import to beat maker 2 and it won't save as aiff. But I guess 93OJ93's way is the only way for me now. Thank you.
  • edited 6:22PM
    Update I just used a program called MultiTrack Daw that can be used to save files as wav's and it works easier than Hokusai for me. All I do is use the goodreader method then after renaming it to .m4a open in multi track then hold down a blank space on the empty daw track. Click paste, then press menu, then sharing, then mixdown, then export it as a wav.Then hold down on the daw track whether be on a blank space or on the wave of the audio track you pasted in it. Then you move your finger to bins and click the file you exported and then copy. Than after that you paste it to bm2 and you got it.
Sign In or Register to comment.