Upgrade to Pro — share decks privately, control downloads, hide ads and more …

今日から分かる AVAudioEngineの全て

Shumpei Urabe
September 11, 2020

今日から分かる AVAudioEngineの全て

iOSDC Japan 2020
https://iosdc.jp/2020/

Shumpei Urabe

September 11, 2020
Tweet

More Decks by Shumpei Urabe

Other Decks in Programming

Transcript

  1. w $PSF"VEJPͷҰ෦ػೳ͸"7'PVOEBUJPOʹҠಈ͞Ε͍ͯΔ w "7"VEJP4FTTJPO "VEJP4FTTJPO "7"VEJP&OHJOF "6(SBQI  w ݟͯͷ௨Γɺ"7'PVOEBUJPOʹ͸QSFGJYʹ"7͕෇͍͍ͯΔ

    w $PSF"VEJPΛ֮͑ͳͯ͘΋ΞϓϦ͸͔͚Δ͕ɺτϥϒϧγϡʔςΟ ϯά͢Δ࣌ʹେมͳͷͰɺ$PSF"VEJPΛֶΜͰཧղΛਂΊ͍ͨ CoreAudio
  2. w L"VEJP6OJU4VC5ZQF@"6$POWFSUFS w L"VEJP6OJU4VC5ZQF@"6J1PE5JNF0UIFS w L"VEJP6OJU4VC5ZQF@%FGFSSFE3FOEFSFS w L"[email protected] w L"[email protected]

    w L"VEJP6OJU4VC5ZQF@/FX5JNF1JUDI w L"VEJP6OJU4VC5ZQF@3PVOE5SJQ""$ kAudioUnitType_FormatConverter w L"VEJP6OJU4VC5ZQF@4QMJUUFS w L"VEJP6OJU4VC5ZQF@7BSJTQFFE
  3. w L"VEJP6OJU4VC5ZQF@#BOE1BTT'JMUFS w L"VEJP6OJU4VC5ZQF@%FMBZ w L"VEJP6OJU4VC5ZQF@%JTUPSUJPO w L"VEJP6OJU4VC5ZQF@%ZOBNJDT1SPDFTTPS w L"VEJP6OJU4VC5ZQF@)JHI1BTT'JMUFS

    w L"VEJP6OJU4VC5ZQF@)JHI4IFMG'JMUFS w L"VEJP6OJU4VC5ZQF@-PX1BTT'JMUFS w L"VEJP6OJU4VC5ZQF@-PX4IFMG'JMUFS kAudioUnitType_Effect w L"VEJP6OJU4VC5ZQF@/#BOE&2 w L"VEJP6OJU4VC5ZQF@1BSBNFUSJD&2 w L"VEJP6OJU4VC5ZQF@1FBL-JNJUFS w L"VEJP6OJU4VC5ZQF@4BNQMF%FMBZ
  4. w EFGBVMU w ௨ৗ࣌͸ͪ͜ΒΛબ୒ w WPJDF$IBU WJEFP$IBU  w "VEJP6OJUͷ7PJDF1SPDFTTJOH*0͕༗ޮʹͳΔ

    w NPWJF1MBZCBDL w εςϨΦ͕ڧԽ͞ΕΔ w TQPLFO"VEJP w Ի੠ͷׂΓࠐΈ࣌ʹҰ࣌தஅ͢Δͱ͖ʹ࢖͏ʢΧʔφϏήʔγϣϯͷҊ಺ͳͲʣ Mode
  5. w NJY8JUI0UIFST w ଞͷΞϓϦ͔ΒׂΓࠐΈ͕͋ͬͯ΋࠶ੜΛதஅ͠ͳ͍Φϓγϣϯ w BMMPX#MVFUPPUI w #MVFUPPUIΛϧʔςΟϯάͰ͖ΔΑ͏ʹ͢Δ w BMMPX"JS1MBZ

    w "JS1MBZΛϧʔςΟϯάͰ͖ΔΑ͏ʹ͢Δ w EFGBVMU5P4QFBLFS w ϧʔςΟϯάΛ಺ଂεϐʔΧʔ༏ઌʹ͢Δ Category Options
  6. w TFU1SFGFSSFE4BNQMF3BUF w αϯϓϧϨʔτΛࢦఆͰ͖Δɻ͋͘·Ͱ΋༏ઌͳͷͰɺඞͣ͠΋ࢦఆ͞ΕͨαϯϓϧϨʔτ͕࢖ΘΕΔͱ ͸ݶΒͳ͍ɻ w TFU1SFGFSSFE%BUB4PVSDF w ͲͷϚΠΫΛ࢖͏͔ࢦఆ͢Δ͜ͱ͕Ͱ͖Δɻલ໘ɾഎ໘Ͱ੾Γସ͍͑ͨͱ͖ʹ࢖͏ɻ w

    TFU1SFGFSSFE*OQVU w ೖྗͷϙʔτΛࢦఆ͢Δ͜ͱ͕Ͱ͖Δɻ64#΍#MVFUPPUIΛ༏ઌͯ͠࢖͍͍ͨͳͲɻ w PWFSSJEF0VUQVU"VEJP1PSU w ग़ྗϙʔτΛ্ॻ͖Ͱ͖Δɻ͕ɺ͜ΕΛࢦఆ͢Δͱڍಈ͕͓͔͘͠ͳΔ͜ͱ͕Α͘ଟ͍ɻ Other
  7. w "7"VEJP4FTTJPO͸TFU"DUJWF USVF ͰɺͦͷηογϣϯΛ༗ޮʹ͢Δ͜ͱ͕Ͱ͖Δ w TFU"DUJWF࣌ʹOPUJGZ0UIFST0O%FBDUJWBUJPOͷΦϓγϣϯΛ෇༩͢Δ͜ͱͰɺࣗ਎ͷηογϣϯ͕ඇΞΫ ςΟϒʹͳͬͨ࣌ʹଞͷΞϓϦʹ௨஌͢Δ͜ͱ͕Ͱ͖Δ w "7"VEJP4FTTJPOͷTFU"DUJWF͸Կ౓΋ݺͼग़ͯ͠΋͍͍ɻҰ౓༗ޮʹͳ͍ͬͯΔ৔߹͸Τϥʔ͕ฦͬͯ͘ Δɻ

    w ΞϓϦΛऴྃ͢Δ৔߹͸ɺηογϣϯ͕ඞཁͳ͍৔߹͸TFU"DUJWF GBMTF ͰηογϣϯΛऴྃͤ͞Δඞཁ͕͋ Δ w ଟ͘ͷΞϓϦʹ͓͍ͯɺηογϣϯΛऴྃ͠ͳ͍έʔε͕ଟ͍ͨΊɺࠔ͍ͬͯ·͢ɻօ͞ΜɺඞͣΞϓϦ ऴྃ͢Δ৔߹͸TFU"DUJWF GBMTF ʹ͍ͯͩ͘͠͞ʂ Active
  8. w "7"VEJP6OJU3FWFSC w "7"VEJP6OJU5JNF&GGFDU w "7"VEJP6OJU5JNF1JUDI w "7"VEJP6OJU7BSJTQFFE w "7"VEJP6OJU&GGFDU

    w "7"VEJP6OJU%FMBZ w "7"VEJP6OJU%JTUPSUJPO w "7"VEJP6OJU&2 Audio Enhancements
  9. هࣄ w J04Ͱ࢖༻Ͱ͖Δ"VEJP6OJUҰཡ IUUQTRJJUBDPNTIVJUFNTCBFCBGBFEB  w "7"VEJP&OHJOF5VUPSJBMGPSJ04(FUUJOH4UBSUFE IUUQTXXXSBZ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