現: 2023-02-06 (月) 15:10:04 yuji Deleted an attach file: AudacityASIO_x64_331_0.zip at 2023-05-03 (水) 17:28:22, Deleted an attach file: AudacityASIO_x64_331.zip at 2023-05-03 (水) 17:28:31, Deleted an attach file: AudacityASIO_x64_330.zip at 2023-05-03 (水) 17:29:18 at 2023-05-04 (木) 06:46:46, Deleted an attach file: audacity_x64_3.3.1.zip at 2023-05-04 (木) 15:24:11 at 2023-05-16 (火) 14:33:37, Deleted an attach file: audacity_x64_3.3.2.zip at 2023-05-16 (火) 14:37:52, Deleted an attach file: audacity_x64_3.4.0.zip at 2023-11-23 (木) 09:40:16, Deleted an attach file: audacity_x64_4.0.0.zip at 2023-11-23 (木) 09:40:27 at 2023-11-23 (木) 09:40:34, Deleted an attach file: audacity_x64_3.3.3.zip at 2023-11-23 (木) 09:40:42, Deleted an attach file: audacity_x64_3.4.1.zip at 2023-11-23 (木) 10:04:28, Deleted an attach file: AudacityASIO_x64_341.zip at 2023-11-23 (木) 10:04:37, Deleted an attach file: AudacityASIO_x64_342.zip at 2024-04-23 (火) 08:41:16, Deleted an attach file: audacity_x64_3.4.2.zip at 2024-04-23 (火) 08:43:21, Deleted an attach file: audacity_x64_3.5.0.zip at 2024-04-25 (木) 07:46:03, Deleted an attach file: AudacityASIO_x64_350.zip at 2024-04-25 (木) 07:46:13 |
|||
---|---|---|---|
Line 1: | Line 1: | ||
+ | * Audacity [#z7673c46] | ||
+ | [[Audacity>https://www.audacityteam.org/]]はオープンソースで開発されているフリーで使用できる多機能音データ編集ソフト。~ | ||
+ | 以下のような特徴がある。~ | ||
+ | - Windows,Linux,FreeBSD,macOSでも動作するマルチプラットフォーム対応~ | ||
+ | - 録音機能~ | ||
+ | - 多チャンネル・多サンプルフォーマットに対応~ | ||
+ | max.Ch: 16チャンネル,max.Sampling: 192kHz,max.サンプルフォーマット:32bit。~ | ||
+ | - 音のカット・結合・合成・ノイズ除去やエフェクトなどの編集が出来る~ | ||
+ | - 多くの音データ・フォーマットに対応~ | ||
+ | WAV・FLAC・Ogg Vorbis・MP3などの音データに対応している。~ | ||
+ | - スペクトラム分析ができる~ | ||
+ | - VSTプラグインに対応している~ | ||
+ | - 日本語対応~ | ||
+ | |||
+ | ** インストール [#h6395b7a] | ||
+ | Windows版のインストーラーは[[公式サイトのDownload/Windows>https://www.audacityteam.org/download/windows/]]からダウンロードできる。~ | ||
+ | ダウンロードしたインストーラーをダブルクリックしてインストールできる。~ | ||
+ | |||
+ | [[Portable版のAudacity>https://portableapps.com/apps/music_video/audacity_portable]]もリリースされているので,もっぱらこちらをインストールして使用している。 | ||
+ | |||
+ | * ASIO対応にビルドする [#p89df87c] | ||
+ | [[ASIO>https://ja.wikipedia.org/wiki/ASIO]]は[[Steinberg>https://www.steinberg.net/]]が開発したWindows用の音データを入出力するためのAPI規格。~ | ||
+ | |||
+ | WindowsなどのOSでASIO APIは実装されていないので,ASIOに対応するためにはデバイス機器メーカーが提供するデバイス・ドライバーとアプリケーションの両方で対応する必要がある。 | ||
+ | |||
+ | ASIOが使えるデバイスではアプリケーションからダイレクトにハードを制御することが出来るので,音質の劣化や遅延時間が少なく出来る利点がある。 | ||
+ | |||
+ | WindowsでASIOのようなAPIとしては,[[WASAPI>https://ja.wikipedia.org/wiki/WASAPI]]が用意されている。~ | ||
+ | |||
+ | Audacityの配布ページではAudacityがGPL v2ライセンスでリリースしている関係で,ASIOを使用しないようにビルドされた[[Windowsマシン用インストーラー>https://www.audacityteam.org/download/]]が提供されている。~ | ||
+ | |||
+ | ソースコードからASIOを使用できるようにビルドすることが出来るらしく,AudacityでASIOを使用したいと思いソースコードからビルドしてみることにした。~ | ||
+ | |||
+ | ** ビルド環境 [#j29c6769] | ||
+ | Audacityをビルドするには[[こちらのサイト>https://github.com/audacity/audacity/blob/master/BUILDING.md]]で説明がある。以下のソフトウェアが必要のようだ。~ | ||
+ | - ビルドツール~ | ||
+ | C++17のコンパイラが必要。~ | ||
+ | Windowsマシンで使うためビルドツールには[[Visual Studio 2019>https://visualstudio.microsoft.com/ja/vs/community/]]を使用した。~ | ||
+ | - [[cmake>https://cmake.org/]] 3.16以降~ | ||
+ | - [[python>https://www.python.org/]] 3.8以降~ | ||
+ | - [[conan>https://docs.conan.io/en/latest/installation.html]](pythonモジュール)~ | ||
+ | conanはC/C++向けのpythonで動作するソフトウェアパッケージ管理ツール。~ | ||
+ | Audacity 3.3.3までは最新版の2.0に対応していないのでconan 1.5xを使用する。~ | ||
+ | Audacity 3.4.0からconan 2.0.0以上が必要になった。~ | ||
+ | - [[git>https://gitforwindows.org/]]~ | ||
+ | ソースコードを取得するのに使用。~ | ||
+ | //- [[ASIO SDK>https://www.steinberg.net/en/company/developers.html]]~ | ||
+ | |||
+ | これらが使える環境を用意する。~ | ||
+ | |||
+ | ** ソースコードを取得してビルドする [#w755d4e6] | ||
+ | Audacityのソースコードを[[公式サイト>https://www.audacityteam.org/download/source/]]からダウンロードするか,目的のバージョン(<version>で指定)をgitで取得する。~ | ||
+ | |||
+ | その後,ASIO対応(audacity_has_asio_support=On)にしてビルド(x64バージョンのみ)してみる。~ | ||
+ | > md sound | ||
+ | > cd sound | ||
+ | > git clone -b Audacity-<version> --depth 1 https://github.com/audacity/audacity/ audacity | ||
+ | > cmake -G "Visual Studio 16 2019" -DCMAKE_CONFIGURATION_TYPES=Release -Daudacity_has_asio_support=On -DAUDACITY_BUILD_LEVEL=2 -S audacity -B audacity-asio | ||
+ | > cd audacity-asio | ||
+ | > msbuild audacity.sln -t:Audacity -p:configuration=Release | ||
+ | |||
+ | ビルドエラーが出ていなければOK。~ | ||
+ | audacity-asio\Releaseディレクトリに,ビルドされたファイル(64bit版)が作成されている。~ | ||
+ | |||
+ | 普段[[Portable版のAudacity>https://portableapps.com/apps/music_video/audacity_portable]]を使っているので64bit版のportaudio_x64.dllファイルを,ビルドされた&ref(AudacityASIO_x64_351.zip,,portaudio_x64.dll);に入れ替えた。(全部入れ替えてもいいと思う)~ | ||
+ | |||
+ | これでAudacityをASIO対応(実際に使用しているのはASIO4ALLだけど &worried; )に出来た。~ | ||
+ | #ref(audacity.png,,50%) |