{"id":2902,"date":"2012-06-26T15:27:05","date_gmt":"2012-06-26T06:27:05","guid":{"rendered":"http:\/\/r-dimension.xsrv.jp\/classes_j\/?p=2902"},"modified":"2015-12-02T14:24:37","modified_gmt":"2015-12-02T05:24:37","slug":"of_sound","status":"publish","type":"post","link":"https:\/\/r-dimension.xsrv.jp\/classes_j\/of_sound\/","title":{"rendered":"openFrameworks\u5165\u9580 2\uff08iPhone\uff09\u30b5\u30a6\u30f3\u30c9"},"content":{"rendered":"<h2>\u97f3\u6e90\u306e\u518d\u751f<\/h2>\n<p>\u307e\u305a\u306f\u3001\u30b5\u30a6\u30f3\u30c9\u30d5\u30a1\u30a4\u30eb\u306e\u518d\u751f\u3067\u3059\u3002iPhone\u7528\u306e\u30b5\u30a6\u30f3\u30c9\u306f\u300122KHz\u30e2\u30ce\u30e9\u30eb\u306e.caf\u3068\u3044\u3046\u62e1\u5f35\u5b50\u306e\u30b5\u30a6\u30f3\u30c9\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u306e\u5f62\u5f0f\u306b\u5909\u63db\u3057\u3066\u3042\u3052\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u5834\u5408\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u5229\u7528\u3059\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002<br \/>\n<strong>> \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 > \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3 > \u30bf\u30fc\u30df\u30ca\u30eb<\/strong> \u3092\u958b\u304d\u307e\u3059\u3002<br \/>\n\u3053\u3053\u304b\u3089\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30b5\u30a6\u30f3\u30c9\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306b<strong><a href=\"http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2010\/04\/groove.mp3.zip\">groove.mp3<\/a><\/strong>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u3053\u3068\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u307e\u305a\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre lang=\"java\">$ cd desktop<\/pre>\n<p>\u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<pre lang=\"java\">$ afconvert -f caff -d ima4 -d LEI16@22050 -c 1 [\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30b5\u30a6\u30f3\u30c9] [\u51fa\u529b\u7528\u30b5\u30a6\u30f3\u30c9\uff08.caf\uff09]<\/pre>\n<p>\u30b9\u30c6\u30ec\u30aa\u306b\u3059\u308b\u5834\u5408\u306f\u3001-c 1\u3000\u3092\u524a\u9664\u3057\u307e\u3059\u3002<br \/>\n\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002\u554f\u984c\u306a\u3051\u308c\u3070\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u4e0a\u306b<strong>groove.caf<\/strong>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2012\/06\/terminal.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2012\/06\/terminal-300x143.gif\" alt=\"\" title=\"terminal\" width=\"300\" height=\"143\" class=\"alignnone size-medium wp-image-2916\" srcset=\"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2012\/06\/terminal-300x143.gif 300w, https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2012\/06\/terminal.gif 815w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u6b21\u306b\u3001ofApp.h\u306bofSoundPlayer\u578b\u306emySound\u3068\u3044\u3046\u5909\u6570\uff08\u540d\u524d\u306f\u4efb\u610f\uff09\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n<strong>testApp.h<\/strong><\/p>\n<pre lang=\"java\" line=\"1\">\r\n#pragma once\r\n\r\n#include \"ofxiOS.h\"\r\n\r\nclass ofApp : public ofxiOSApp {\r\n\t\r\n    public:\r\n        void setup();\r\n        void update();\r\n        void draw();\r\n        void exit();\r\n\t\r\n        void touchDown(ofTouchEventArgs & touch);\r\n        void touchMoved(ofTouchEventArgs & touch);\r\n        void touchUp(ofTouchEventArgs & touch);\r\n        void touchDoubleTap(ofTouchEventArgs & touch);\r\n        void touchCancelled(ofTouchEventArgs & touch);\r\n\r\n        void lostFocus();\r\n        void gotFocus();\r\n        void gotMemoryWarning();\r\n        void deviceOrientationChanged(int newOrientation);\r\n\t\r\n\tofSoundPlayer  mySound;\r\n};\r\n<\/pre>\n<p>\u305d\u3057\u3066\u3001ofApp.mm\u306esetup()\u3001update()\u3001touchDown()\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n<strong>ofApp.mm<\/strong><\/p>\n<pre lang=\"java\" line=\"1\">\r\n#include \"ofApp.h\"\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::setup(){\t\r\n\t\/\/ \u30bf\u30c3\u30c1\u30a4\u30d9\u30f3\u30c8\u3092\u767b\u9332\r\n\tofRegisterTouchEvents(this);\r\n\r\n\tofBackground(127,127,127);\r\n\t\r\n\tmySound.loadSound(\"groove.caf\");\t\/\/\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\r\n\tmySound.setVolume(0.75f);\t\/\/\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u6307\u5b9a\u3059\u308b\uff080.0~1.0\uff09\r\n\tmySound.setMultiPlay(false);\t\/\/\u8907\u6570\u540c\u6642\u306b\u518d\u751f\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::update(){\r\n\t\r\n\tofSoundUpdate(); \/\/ \u30b5\u30a6\u30f3\u30c9\u306e\u30b7\u30b9\u30c6\u30e0\u3092\u66f4\u65b0\t\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::draw(){\r\n\t\/\/ofScale(appIphoneScale, appIphoneScale, 1.0);\r\n\r\n\t\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::exit(){\r\n\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::touchDown(ofTouchEventArgs &touch){\r\n\t\r\n\tmySound.play();\t\/\/\u30b5\u30a6\u30f3\u30c9\u3092\u518d\u751f\r\n}\r\n<\/pre>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u753b\u9762\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u97f3\u304c\u9cf4\u308a\u307e\u3059\u3002<\/p>\n<h2>\u5916\u90e8\u304b\u3089\u306e\u97f3\u58f0\u5165\u529b<\/h2>\n<p>\u6b21\u306f\u5916\u90e8\u304b\u3089\u306e\u97f3\u58f0\u5165\u529b\u3067\u3059\u3002\u3053\u306e\u30b3\u30fc\u30c9\u3067\u3001\u4f8b\u3048\u3070\u58f0\u306b\u53cd\u5fdc\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n<strong>ofApp.h<\/strong><\/p>\n<pre lang=\"java\" line=\"1\">\r\n#pragma once\r\n\r\n#include \"ofxiOS.h\"\r\n\r\nclass ofApp : public ofxiOSApp {\r\n\t\r\n    public:\r\n        void setup();\r\n        void update();\r\n        void draw();\r\n        void exit();\r\n\t\r\n        void touchDown(ofTouchEventArgs & touch);\r\n        void touchMoved(ofTouchEventArgs & touch);\r\n        void touchUp(ofTouchEventArgs & touch);\r\n        void touchDoubleTap(ofTouchEventArgs & touch);\r\n        void touchCancelled(ofTouchEventArgs & touch);\r\n\r\n        void lostFocus();\r\n        void gotFocus();\r\n        void gotMemoryWarning();\r\n        void deviceOrientationChanged(int newOrientation);\r\n\r\n\t\/\/\u3053\u3053\u304b\u3089\u4ee5\u4e0b\u306e\u95a2\u6570\u3068\u5909\u6570\u3092\u8ffd\u52a0\r\n\tvoid audioIn( float * input, int bufferSize, int nChannels );\r\n\r\n\tint\t\tinitialBufferSize;\r\n\tint\t\tsampleRate;\r\n\tfloat buffer[512];\t\/\/iniinitialBufferSize\u306e\u5024\u3068\u540c\u3058\u30b5\u30a4\u30ba\u306e\u914d\u5217\r\n\t\r\n};\r\n<\/pre>\n<p><strong>ofApp.mm<\/strong><\/p>\n<pre lang=\"java\" line=\"1\">\r\n#include \"ofApp.h\"\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::setup(){\r\n\r\n\t\/\/ \u30bf\u30c3\u30c1\u30a4\u30d9\u30f3\u30c8\u306e\u767b\u9332\r\n\tofRegisterTouchEvents(this);\r\n\t\r\n\tofxiOSSetOrientation(OFXIOS_ORIENTATION_LANDSCAPE_RIGHT);\r\n\r\n\tofBackground(255,255,255);\r\n\r\n\t\/\/\u30d0\u30c3\u30d5\u30a1\u306e\u30b5\u30a4\u30ba\u306f512\u3067\u306a\u3044\u3068\u30b7\u30df\u30e5\u30ec\u30fc\u30bf\u30fc\u304c\u52d5\u304b\u306a\u3044\u3089\u3057\u3044\u306e\u3067\u3001\u3053\u306e\u5024\u306f\u5909\u66f4\u3057\u306a\u3044\r\n\tinitialBufferSize = 512;\r\n\tsampleRate = 44100;\r\n\r\n\t\/\/ 0 \u51fa\u529b\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u500b\u6570,\r\n\t\/\/ 1 \u5165\u529b\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u500b\u6570\r\n\t\/\/ 44100 \u30b5\u30f3\u30d7\u30eb\u30ec\u30fc\u30c8\r\n\t\/\/ 512 \u30d0\u30c3\u30c3\u30d5\u30a1\u30b5\u30a4\u30ba\r\n\t\/\/ 4 \u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\uff08\u9045\u5ef6\uff09\r\n\tofSoundStreamSetup(0, 1, this, sampleRate, initialBufferSize, 4);\r\n\tofSetFrameRate(60);\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::update(){\r\n\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::draw(){\r\n\r\n\t\/\/ \u6ce2\u5f62\u3092\u63cf\u304f:\r\n\tofSetHexColor(0x000000);\t\/\/\u9ed2\r\n\t\r\n\tfor (int i = 0; i < initialBufferSize; i++){\r\n\t\t\/\/\u30d0\u30c3\u30d5\u30a1\u306f512\u3067\u753b\u9762\u6a2a\u5e45\u304c1024\u306a\u306e\u3067\u3001x\u5ea7\u6a19\u3092\uff12\u500d\u3059\u308b\u3068\u753b\u9762\u306e\u4e21\u7aef\u306b\u6ce2\u5f62\u304c\u8868\u793a\u3055\u308c\u308b\r\n\t\tofLine(i*2,ofGetHeight()\/2,i*2,ofGetHeight()\/2+buffer[i]*100.0f);\t\t\r\n\t}\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::audioIn(float * input, int bufferSize, int nChannels){\r\n\t\t\t\t\t\r\n\t\/\/ \u97f3\u3092\u914d\u5217buffer\u306b\u5206\u5272\u3059\u308b\r\n\tfor (int i = 0; i < bufferSize; i++){\r\n\t\tbuffer[i] = input[i];\r\n\t}\r\n}\r\n<\/pre>\n<h2>\u6ce2\u5f62\u306e\u751f\u6210\u3068\u51fa\u529b<\/h2>\n<p>\u6b21\u306f\u3001\u30b5\u30a4\u30f3\u6ce2\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u751f\u6210\u3057\u3066\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p><strong>ofApp.h<\/strong><\/p>\n<pre lang=\"java\" line=\"1\">\r\n#pragma once\r\n\r\n#include \"ofxiOS.h\"\r\n\r\nclass ofApp : public ofxiOSApp {\r\n\t\r\n    public:\r\n        void setup();\r\n        void update();\r\n        void draw();\r\n        void exit();\r\n\t\r\n        void touchDown(ofTouchEventArgs & touch);\r\n        void touchMoved(ofTouchEventArgs & touch);\r\n        void touchUp(ofTouchEventArgs & touch);\r\n        void touchDoubleTap(ofTouchEventArgs & touch);\r\n        void touchCancelled(ofTouchEventArgs & touch);\r\n\r\n        void lostFocus();\r\n        void gotFocus();\r\n        void gotMemoryWarning();\r\n        void deviceOrientationChanged(int newOrientation);\r\n\r\n\tfloat pan;\r\n\tint sampleRate;\r\n\tfloat volume;\r\n\r\n\tfloat * lAudio;\r\n\tfloat * rAudio;\r\n\r\n\t\/\/------------------- for the simple sine wave synthesis\r\n\tfloat targetFrequency;\r\n\tfloat phase;\r\n\tfloat phaseAdder;\r\n\tfloat phaseAdderTarget;\r\n\tint initialBufferSize;\t\r\n};\r\n<\/pre>\n<p><strong>ofApp.mm<\/strong><\/p>\n<pre lang=\"java\" line=\"1\">\r\n\r\n#include \"ofApp.h\"\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::setup(){\r\n\r\n\t\/\/ IMPORTANT!!! if your sound doesn't work in the simulator - read this post - which requires you set the output stream to 24bit \r\n\t\/\/\thttp:\/\/www.cocos2d-iphone.org\/forum\/topic\/4159\r\n\r\n\t\/\/ register touch events\r\n\tofRegisterTouchEvents(this);\r\n\t\r\n        ofxiOSSetOrientation(OFXIOS_ORIENTATION_LANDSCAPE_RIGHT);\r\n\r\n\tofBackground(255,255,255);\r\n\r\n\t\/\/ 2 \u51fa\u529b\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u500b\u6570,\r\n\t\/\/ 0 \u5165\u529b\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u500b\u6570\r\n\t\/\/ 44100 \u30b5\u30f3\u30d7\u30eb\u30ec\u30fc\u30c8\r\n\t\/\/ 512 \u30d0\u30c3\u30c3\u30d5\u30a1\u30b5\u30a4\u30ba\r\n\t\/\/ 4 \u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\uff08\u9045\u5ef6\uff09\r\n\r\n\tsampleRate = 44100;\r\n\tphase = 0;\r\n\tphaseAdder = 0.0f;\r\n\tphaseAdderTarget = 0.0;\r\n\tvolume = 0.15f;\r\n\tpan = 0.5;\r\n\t\r\n\t\/\/\u30d0\u30c3\u30d5\u30a1\u306e\u30b5\u30a4\u30ba\u306f512\u3067\u306a\u3044\u3068\u30b7\u30df\u30e5\u30ec\u30fc\u30bf\u30fc\u304c\u52d5\u304b\u306a\u3044\u3089\u3057\u3044\u306e\u3067\u3001\u3053\u306e\u5024\u306f\u5909\u66f4\u3057\u306a\u3044\r\n\tinitialBufferSize = 512;\r\n\t\r\n\tlAudio = new float[initialBufferSize];\t\/\/\u5de6\u306e\u97f3\u58f0\u7528\u5909\u6570\r\n\trAudio = new float[initialBufferSize];\t\/\/\u53f3\u306e\u97f3\u58f0\u7528\u5909\u6570\r\n\t\r\n\tmemset(lAudio, 0, initialBufferSize * sizeof(float));\t\/\/\u30e1\u30e2\u30ea\u306e\u30b5\u30a4\u30ba\u78ba\u4fdd\r\n\tmemset(rAudio, 0, initialBufferSize * sizeof(float));\r\n\t\r\n\t\/\/we do this because we don't have a mouse move function to work with:\r\n\ttargetFrequency = 444.0;\r\n\tphaseAdderTarget = (targetFrequency \/ (float) sampleRate) * TWO_PI;\r\n\t\r\n\tofSoundStreamSetup(2, 0, this, sampleRate, initialBufferSize, 4);\r\n\tofSetFrameRate(60);\r\n\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::update(){\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::draw(){\r\n\r\n\tofSetHexColor(0x000);\r\n\tfor (int i = 0; i < initialBufferSize; i++){\r\n\t\tofLine(i*2, ofGetHeight()\/4, i*2, ofGetHeight()\/4 + lAudio[i]*200);\r\n\t}\r\n\r\n\tofSetHexColor(0x000);\r\n\tfor (int i = 0; i < initialBufferSize; i++){\r\n\t\tofLine(i*2, ofGetHeight()\/4*3, i*2, ofGetHeight()\/4*3 + rAudio[i]*200);\r\n\t}\r\n}\r\n\r\n\/\/--------------------------------------------------------------\r\nvoid ofApp::audioOut( float * output, int bufferSize, int nChannels ){\r\n\t\t\t\r\n\tfloat leftScale = 1 - pan;\r\n\tfloat rightScale = pan;\r\n\r\n\t\/\/ sin (n) seems to have trouble when n is very large, so we\r\n\t\/\/ keep phase in the range of 0-TWO_PI like this:\r\n\twhile (phase > TWO_PI){\r\n\t\tphase -= TWO_PI;\r\n\t}\r\n\r\n\tphaseAdder = 0.95f * phaseAdder + 0.05f * phaseAdderTarget;\r\n\t\/\/phaseAdder = 1.0f;\r\n\tfor (int i = 0; i < bufferSize; i++){\r\n\t\tphase += phaseAdder;\r\n\t\tfloat sample = sin(phase);\r\n\t\tlAudio[i] = output[i*nChannels    ] = sample * volume * leftScale;\r\n\t\trAudio[i] = output[i*nChannels + 1] = sample * volume * rightScale;\r\n\t}\r\n\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u97f3\u6e90\u306e\u518d\u751f \u307e\u305a\u306f\u3001\u30b5\u30a6\u30f3\u30c9\u30d5\u30a1\u30a4\u30eb\u306e\u518d\u751f\u3067\u3059\u3002iPhone&#8230; <a href=\"https:\/\/r-dimension.xsrv.jp\/classes_j\/of_sound\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,24],"tags":[],"class_list":["post-2902","post","type-post","status-publish","format-standard","hentry","category-media_third","category-openframeworks"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts\/2902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/comments?post=2902"}],"version-history":[{"count":40,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts\/2902\/revisions"}],"predecessor-version":[{"id":4629,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts\/2902\/revisions\/4629"}],"wp:attachment":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/media?parent=2902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/categories?post=2902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/tags?post=2902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}