loading audio from a video into a buffer?
Is there a way to load the audio from a video immediately into a buffer? I had a look at spigot but I see no way to access the cached file. I could just separate the audio from the video and load them at the same time but thats a lot of work when you want to experiment just with some files.
Any ideas / tips on the subject?
just to be clear, what you are asking for is a method for loading the audio track in a QT file into a [buffer~] object?
sorry but i’m not aware of any solutions for this, think u might have to go with the separation of audio / video files. but maybe someone else knows…
Yes, loading a QT movie with audio into max and the audio automatically transfered to a buffer. I searched the forum but no clue’s how to do this. I read that spigot stores the audio in a cache file but I have no idea how to access this file and if thats possible at all.
try the "import" message to buffer~.
you will have to possibly first read the movie into qt.movie, query the length, resize the buffer~ based on that length, and then import the movie into the buffer~
Yes, import message works great. Great tip. Thanx a million!!!
This post is from a while back, but I wanted to ask how you guys worked around reading a movie file in ~buffer. I tried what Rob suggested, loading the file into the qt.movie, querying the length and then resizing the buffer to finally try to read the movie file, but ~buffer just will not let me load any video files! A super short tip or example would be most appreciated!
Thanks a bunch!
this should work. ?
----------begin_max5_patcher---------- 412.3ocsSFrSqCCDEccxWwHutT0XngB6feCDB4DOoY34XGY6TJffucbraJEJ HAB81Dq45I245SheNOiUY1hNFbIbCjk8bdVVTZTHaWcFqSrsVIbw1X0ltNT6 YyR64ws9jthp+2LPnkfuEgpglFzBtVyfRBUHzPJEJgGHeKHFjjYxA8PGoUnO ZewNwFi16nmvn1h4KduWyfep4I0dgutkzquyh09zYgyWFdInnjOtvO+zX0p4 KfamlfccUzj8lSx3AwTc+ImwNHGZQWLGrqrjPAWaTR13tujmO9X1ODbZ7gf0 GwsDnd8uSC9N0jj+wdLgBVixHBeuBiRnWy1CfumZ7hKFWNa4QP6.Dw+OfnNz 4DqwiXD00ardnRIjg.OuyrAV.mT7kLi+aXVw2wreBlJVcdbgm94p7q4T4pk+ BREcfoH8muTFiwn9GwmyLXqmB89wAumDI57jV3Ii9ft3enmVRJQ8g2njjSTE ttF0NJdh99Mn0syxXTBeGu2XGKKmEKIcpLRXlE2PS8mZPXCT0GP5fMwisqJC fHLmWxeCtqWF8. -----------end_max5_patcher-----------
[buffer~] is one of the victima of c74′s recent ‘update mania’. Several features broke in Max 6.0
Import the audio portion of a .mov file works again with Max 6.1, no need to query length.
----------begin_max5_patcher---------- 1018.3oc0X00bahCE8Y6eEZ3YWaDfIg9TZmN6KaSmclL6Sc53QXcwQY.IpP3 0Y6z829JI.aRVafPRcx9BXIzGGcNWczU9GSm3DK1AENn2i9JZxjeLcxDaUlJ lTWdhSFY25TRgsYNb3uDw24Lq5SJXmxVsBEiJZpkWlIJUofx1Eu5ZyIp02x3 aVIg0ppoDGN2cFJDad5co4I9h4tnuU2CF0N1546c3lwNQvUbRFX+xGjLRZyW plR084P0f6DS3ablgbb1OflNWv9aaChzS2d3x3MnEap6mSmZdL64wI4RHG3T TAnNNyf6iY7sbxxntXlnQvLuVLhTiD.YKNtPEL127JnSFAOlfkmbfh2HnEpT jmvRgtW8FTUumTCjT5AXcRd4cUagtn5k2I3E2l4UGYV.bEQwD71AhZ8gSAaO b2up6gphERJHeXWZO9svZTfAdQURnmE3dKag0mcXmIxBnL0+Iv62j.bM79E+ YAHKVbysDIPW7QfntFtQUljr3yBB8ZXwMFBnXww0mf9TgKWZWRQUNYQmPE75 O5b.5S3AxlH0ChBjq.NIN0NbcpcLtxJgOLhWtI9gh3w2CbPtwCTtCOEo7q12 U+NgsajVuXeqGSXmNMguE8dKy.d4wW098tpCsZFVavtrCC1fADB+ThJOdD4Q oGRoRjKxKSIJnsPxTPVio4GMKOzWDxLRpd.lGaJaF7YlGqYRcukHpHOOEjHH IQyBy0bnlV12JMj.cXsRyRnBqqPPwZhwXtoE+NSUfRjhLzGneZes27oUXO2U eN2MX0e7k4DVxo9TVteKm8pX0mmWUq3llcqaVKRERuZM1pssef91K21tXM1. 4+fJxYaDp6exmv666ZcJBrNEW310FO+kiXmWRpnRfsIF9JkBTQYrNnRYxCRB DJhkkKjpQSVdUzDta1J7sZBQ83faXnw5eG4Y8uW1clhg+OJ6YEJcjjQcXhGt Sxv2+WNYTWo0Tpkmj67KibwQgle4V+qWX2o6Xp4eW6xK1x.zUaEo5oBcUpPX h0z6.QXzUVXkIn.p79s2ithPI41OTxYeuDP3QdqkZKMe2tu1hevH3e85ZUFQ IMI57LBMs8yIkwe7+FfcQYp+gTt9HQ45FLzboKzg0E0dz49DX+597kZ0laYT JvamX.kUXxUn5BHGU6GJbhF.ZvmMzXx4ue3zGdxXzbgNujZERe0ISNZ3n56Q 0T3vz7xge2Af+nyGcND1z6rBG7aH3DLD7fOe6ECGhbEb1fi+PviIAyykdYN2 se.c9zqGGabBE6Qv90mhrGfNJDUc5GIOeq9JW0CpEL5TKtqJSkvY1hLdUQal LNRXKqo8UMfH0o.nzm+WJqN8d2kgNSMyyOm9urajeLA -----------end_max5_patcher-----------
Wow! Thank you both for the quick response! Im going use CTRLZJONES method as it sheds light on a couple of other important importing factors! Thanks for the support!