{"id":238,"date":"2021-03-13T21:08:09","date_gmt":"2021-03-13T12:08:09","guid":{"rendered":"https:\/\/sirius10.dip.jp\/blog\/wordpress\/?p=238"},"modified":"2021-03-17T09:36:18","modified_gmt":"2021-03-17T00:36:18","slug":"xkanon8","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/03\/13\/238\/","title":{"rendered":"Xkanon(8)"},"content":{"rendered":"\n<p>Kanon, Air \u306e\u97f3\u58f0\u304c\u5c0f\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u3000Kanon \u3068 Air \u306e\u97f3\u58f0\u306e\u97f3\u91cf\u304c\u5c0f\u3055\u304f\u3001BGM \u306b\u57cb\u3082\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u97f3\u91cf\u3092\u5927\u304d\u304f\u3057\u307e\u3059\u3002\u5e78\u3044\u3001\u97f3\u58f0\u306f mp3 \u306a\u306e\u3067\u3001mp3gain \u3092\u4f7f\u3046\u3068\u518d\u30a8\u30f3\u30b3\u30fc\u30c9\u7121\u3057\u3067\u97f3\u91cf\u3092\u5927\u304d\u304f\u3067\u304d\u308b\u3089\u3057\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo apt-get install -y mp3gain<br>$ mp3gain<br>==3979==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.<\/p>\n\n\n\n<p>\u3000\u3042\u308c\uff1f\u30a8\u30e9\u30fc\uff1f<br>\u3000\u8abf\u3079\u307e\u3059\u3002\u3075\u30fc\u3093 LD_PRELOAD \u304c\u5fc5\u8981\uff1f<\/p>\n\n\n\n<p class=\"console\">$ find \/usr\/lib -name &#8216;libasan*&#8217;<br>\/usr\/lib\/gcc\/arm-linux-gnueabihf\/8\/libasan.a<br>\/usr\/lib\/gcc\/arm-linux-gnueabihf\/8\/libasan_preinit.o<br>\/usr\/lib\/gcc\/arm-linux-gnueabihf\/8\/libasan.so<br>\/usr\/lib\/gcc\/arm-linux-gnueabihf\/6\/libasan.a<br>\/usr\/lib\/gcc\/arm-linux-gnueabihf\/6\/libasan_preinit.o<br>\/usr\/lib\/gcc\/arm-linux-gnueabihf\/6\/libasan.so<br>\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.3<br>\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.4.0.0<br>\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.4<br>\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.5.0.0<br>\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.3.0.0<br>\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.5<\/p>\n\n\n\n<p>\u3000\u3046\u30fc\u3093\u3002\u3069\u308c\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"console\">$ LD_PRELOAD=\/usr\/lib\/gcc\/arm-linux-gnueabihf\/8\/libasan.so mp3gain<br>Segmentation fault<br><br>$ LD_PRELOAD=\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.3 mp3gain<br>Segmentation fault<br><br>$ LD_PRELOAD=\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.4 mp3gain<br>mp3gain version 1.5.2<br>copyright(c) 2001-2009 by Glen Sawyer<br>uses mpglib, which can be found at http:\/\/www.mpg123.de<br>Usage: mp3gain [options] [ \u2026]<br>&#8211;use -? or -h for a full list of options<\/p>\n\n\n\n<p>\u3042\u3001\u3053\u308c\u306d\u3002.bashrc \u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"file pre\">alias mp3gain=&#8217;LD_PRELOAD=\/usr\/lib\/arm-linux-gnueabihf\/libasan.so.4 mp3gain&#8217;<\/p>\n\n\n\n<p>\u3044\u308d\u3044\u308d\u8a66\u3057\u3066 gain \u3092 5 \u307b\u3069\u4e0a\u3052\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u97f3\u58f0\u30c7\u30fc\u30bf\u306e\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3001<\/p>\n\n\n\n<p class=\"console\">$ for file in [0-9AB]*.mp3; do mp3gain -g 5 ${file}; done<\/p>\n\n\n\n<p>\u3068\u3059\u308c\u3070\u3001\u5168\u90e8\u306e\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb\u304c\u51e6\u7406\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>Air \u306e\u97f3\u58f0\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u3082\u540c\u69d8\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kanon, Air \u306e\u97f3\u58f0\u304c\u5c0f\u3055\u3044\u3002 \u3000Kanon \u3068 Air \u306e\u97f3\u58f0\u306e\u97f3\u91cf\u304c\u5c0f\u3055\u304f\u3001BGM \u306b\u57cb\u3082\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u97f3\u91cf\u3092\u5927\u304d\u304f\u3057\u307e\u3059\u3002\u5e78\u3044\u3001\u97f3\u58f0\u306f mp3 \u306a\u306e\u3067\u3001mp3gain \u3092\u4f7f\u3046\u3068\u518d\u30a8\u30f3\u30b3\u30fc\u30c9\u7121\u3057\u3067\u97f3\u91cf\u3092\u5927\u304d\u304f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-xkanon"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":4,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":396,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/238\/revisions\/396"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}