{"id":1310,"date":"2019-10-08T22:40:26","date_gmt":"2019-10-08T22:40:26","guid":{"rendered":"http:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/?p=1310"},"modified":"2019-10-10T06:18:37","modified_gmt":"2019-10-10T06:18:37","slug":"meta-data-again","status":"publish","type":"post","link":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/2019\/10\/08\/meta-data-again\/","title":{"rendered":"Meta data again"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"metadata\">Metadata &#8211; it\u2019s no biggie<br><\/h2>\n\n\n\n<p>Basically, it\u2019s useful because instead of keeping information about \nfile, next to it, you can embed data about the file into the file \nitself. This will travel with it and persist wherever it is used until \nsomeone changes the metadata for themselves.<\/p>\n\n\n\n<p>The de-facto way to do this is using some of Adobe tools that come \nwith their Creative Suite. The downside of these tools is that they cost\n money and it\u2019s a little harder to batch process things. Batch \nprocessing is something you definitely want to be doing where possible \nbecause it saves you time and it\u2019s much better to get a computer to do \nrepetitive tasks than doing them yourself.<\/p>\n\n\n\n<p>For these submissions and your work in general, you can go as far \nwith this kind of thing as you like and you\u2019ll have to be careful to \ndecide just how much work you want to put into this. Suffice to say, if \nyou follow along with what\u2019s below, you\u2019ll have all you need to very \nquickly insert metadata directly into your <code>.wav<\/code> files and then be able to generate documents about these files in record-time.<\/p>\n\n\n\n<p>The Command Line is where this kind of thing comes into its own and \nit\u2019s worth your while learning to use it to make these kinds of tasks \neasier.<\/p>\n\n\n\n<p>To proceed, you\u2019ll need BWFMETAEDIT in both its versions. You need \nboth the CLI (commandline interface) and the GUI (graphical user \ninterface). Get them both here: <a href=\"https:\/\/mediaarea.net\/BWFMetaEdit\/Download\">mediaarea.net\/BWFMetaEdit\/Download<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"note\">Note<\/h2>\n\n\n\n<p>What I\u2019m showing here is only tested on OSX, but it\u2019s likely (with a \nlittle command prompt nouse) to be completely doable for Windows users \ntoo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-metadata-do-you-need\">What metadata do you need?<\/h2>\n\n\n\n<p>BWFmetaedit explains itself pretty well online. The list of data that you can insert is here:<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\n<a href=\"https:\/\/mediaarea.net\/BWFMetaEdit\/core_doc_help\" class=\"autohyperlink\">mediaarea.net\/BWFMetaEdit\/core_doc_help<\/a>.\n<\/div><\/figure>\n\n\n\n<p>Description of what each field means and what\u2019s supposed to go in there is explained here:<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\n<a href=\"https:\/\/mediaarea.net\/BWFMetaEdit\/bext\" class=\"autohyperlink\">mediaarea.net\/BWFMetaEdit\/bext<\/a>\n<\/div><\/figure>\n\n\n\n<p>and<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\n<a href=\"https:\/\/mediaarea.net\/BWFMetaEdit\/listinfo\" class=\"autohyperlink\">mediaarea.net\/BWFMetaEdit\/listinfo<\/a>\n<\/div><\/figure>\n\n\n\n<p>Depending upon the software you used to create your file, different bits of metadata will be inserted into it, see <a href=\"file:\/\/\/Users\/mparker\/Dropbox\/UoE-paperwork\/teaching\/Programme\/AudioCrafting\/metaDataTutorial\/metadataTutorial.html#individual\">this section<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"metadata-for-all-files-you-submit\">Metadata for all files you submit<\/h2>\n\n\n\n<ul><li><code>BextVersion<\/code> goes up to version 2 and to ensure all metadata goes in, probably best to set things to version 2, see below.<\/li><li><code>IART<\/code> artist &#8211; that\u2019s you or your band.<\/li><li><code>IARL<\/code> location of the archive &#8211; NOT NECESSARY &#8211; but \nyou could set this to be learn.ed.ac.uk as this is where you\u2019re going to\n submit your files.<\/li><li><code>ICMS<\/code> who commissioned the work &#8211; NOT NECESSARY &#8211; in this case it\u2019s University of Edinburgh, add it if you want to.<\/li><li><code>ICOP<\/code> set the copy right for the file. You\u2019re going \nto share these with others in the group so set to something like \ncreative commons so find an attribution that you can live with here <a href=\"https:\/\/creativecommons.org\/share-your-work\/\">creativecommons.org\/share-your-work\/<\/a>. Such as <code>CC BY-NC-SA 4.0<\/code>: <a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">CC BY-NC-SA 4.0<\/a>.<\/li><li><code>IGNR<\/code> likely that the genre here is <code>sound libraries<\/code>. You can set any genre you feel appropriate, or make one up.<\/li><li><code>IMED<\/code> not sure about the medium, probably simply sound file, or ignore.<\/li><li><code>IPRD<\/code> Is the album or product. In your case, it\u2019s <code>Audio Crafting submission 1<\/code> or submission 2.<\/li><li><code>ISFT<\/code> is the software you used. Possibly the same for all files. e.g <code>REAPER v5.97<\/code><\/li><\/ul>\n\n\n\n<p>To insert the above meta data into all sound files on the command line, try running this line:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"a-command-to-insert-metadata-and-apply-to-all-sounds-in-a-directory-and-subdirectory\">A command to insert metadata and apply to all sounds in a directory and subdirectory<\/h3>\n\n\n\n<p><code>for f in `find . -type f -name \"*.wav\"`; do bwfmetaedit \n--BextVersion=2 --IART=\"Your Name\" --IARL=\"http:\/\/www.learn.ed.ac.uk\" \n--ICMS=\"University of Edinburgh\" --ICOP=\"CC BY-NC-SA 4.0\" --IGNR=\"Sound \nLibraries\" --IMED=\"Sound File\" --IPRD=\"Audio Crafting Submission 1\" \n--ISFT=\"Your software tool chain\" --INAM=\"${f%.*}\" \"$f\"; done<\/code><\/p>\n\n\n\n<p>Change some of the details above, such as <code>Your Name<\/code> and <code>your software tool chain<\/code>\n and run the above. Before you do this, cd into the directory where all \nyour sound files are and be sure that there are no spaces in the file \nnames.<\/p>\n\n\n\n<p>The script will recursively (i.e.&nbsp;search through all folders and sub folders) for <code>.wav<\/code> files and insert the same meta data into all of them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"metadata-that-may-be-desirable-to-insert-into-all-files-in-a-folder-or-from-a-specific-setup-session-or-source-sound\">Metadata that may be desirable to insert into all files in a folder or from a specific setup, session or source sound<\/h2>\n\n\n\n<ul><li><code>ICMT<\/code> here you can add comments about the file recording process. Something like <code>Recorded with Neumann KM184 pair, XY configuration, API preamplifier 3124V set to -12dB<\/code><\/li><li><code>IENG<\/code> list the engineers that worked on your \nrecording. These are the collaborators involved in this particular file \nor group of files. If it\u2019s the same for all, then this would go below. \ne.g.&nbsp;<code>Parker, Martin; Buchannan-Dunlop, Roderick; Davies, William<\/code>.<\/li><li><code>IKEY<\/code> is keywords, possibly the same for all files, \nbut maybe different folders have different key works, different \ncategories or source sounds decide and set these to individual, group or\n all files.<\/li><li><code>ISRC<\/code> source of the file in the first place, not really relevant here, possibly useful for archivists.<\/li><li><code>ISRF<\/code> source form, possibly a good place to put where this was recorded and what from, e.g.&nbsp;<code>sound recording session in Alison House Basement recording room an old bike was the source<\/code>.<\/li><li><code>ITCH<\/code> any technician, possibly same people who were in <code>IENG<\/code>, possibly different people.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"groups\">A command to insert metadata into all files in a directory<\/h3>\n\n\n\n<p><code>for f in *.wav; do bwfmetaedit --ICMT=\"Recorded with Neumann \nKM184 pair, XY configuration, API preamplifier 3124V set to -12dB\" \n--IENG=\"Parker, Martin; Buchannan-Dunlop, Roderick; Davies, William\" \n--IKEY=\"bike sounds; balloon sounds\" --ISRF=\"sound recording session in \nAlison House Basement recording room an old bike was the source\" \n--ITCH=\"Parker, Martin\" \"$f\"; done<\/code><\/p>\n\n\n\n<p>Obviously, change all of the above to make it fit your needs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"individual\">Metadata unique to each file<\/h2>\n\n\n\n<ul><li>You will get <code>originator<\/code>, <code>OriginationTime<\/code> and <code>OriginationDate<\/code> filled in already if using Logic, Reaper or ProTools. <code>Originator Reference<\/code> will be completed only by ProTools. <code>Time reference<\/code> is set as the timecode in samples since Midnight. <code>UMID<\/code>\n will be provided by Logic, but nothing else. These fields are useful \nfor certain things, and should be automatically completed by the DAW.<\/li><li>The <code>Description<\/code> field will not be complete, and is \nsomething that you will want to fill in to describe your sound very \nbriefly. Maximum of 256 characters.<\/li><li><code>INAM<\/code> This is the name of the file or in your case, the word you have used.<\/li><li><code>ISBJ<\/code> This is the subject of the file. Could be the \nsource material or the intention of your interpretation of the word for \nthis sound.<\/li><li><code>ICMT<\/code> a comment about your files describing what \nhappened what tools you used, and what you were aiming for with this \nfile. This could be for multiple files so consider using it in the above\n command as shown above in <a href=\"file:\/\/\/Users\/mparker\/Dropbox\/UoE-paperwork\/teaching\/Programme\/AudioCrafting\/metaDataTutorial\/metadataTutorial.html#groups\">the command to apply to groups of sounds<\/a>.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"a-command-to-insert-metadata-into-a-single-file\">A command to insert metadata into a single file<\/h3>\n\n\n\n<p><code>bwfmetaedit --Description=\"Describe your sound here\" --INAM=\"A \nspecific name for the file if you don't just want to use the file name\" \n--ISBJ=\"subject of the file, it's purpose\" yourFileName.wav<\/code><\/p>\n\n\n\n<p>Run the above for individual files or edit the file list in BWFMETAEDT GUI version.<\/p>\n\n\n\n<figure class=\"wp-block-embed-vimeo wp-block-embed is-type-video is-provider-vimeo wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/365451533?dnt=1&amp;app_id=122963\" width=\"605\" height=\"378\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Metadata &#8211; it\u2019s no biggie Basically, it\u2019s useful because instead of keeping information about file, next to it, you can embed data about the file into the file itself. This will travel with it and persist wherever it is used &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/2019\/10\/08\/meta-data-again\/\"> <span class=\"screen-reader-text\">Meta data again<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,32],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/posts\/1310"}],"collection":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/comments?post=1310"}],"version-history":[{"count":3,"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/posts\/1310\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/posts\/1310\/revisions\/1313"}],"wp:attachment":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/media?parent=1310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/categories?post=1310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sounddesignmedia\/wp-json\/wp\/v2\/tags?post=1310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}