converter
「converter」の意味・「converter」とは
「converter」は、一つの形態や状態から別の形態や状態へ変換する装置やプログラムを指す英語の単語である。例えば、電力変換器やデジタル-アナログ変換器などの機械的な装置や、ファイル形式を変換するソフトウェアなどがこれに該当する。また、言語学の分野では、一つの言語から別の言語へ翻訳するツールも「converter」と呼ばれることがある。「converter」の発音・読み方
「converter」の発音は、IPA表記では /kənˈvɜːrtər/ となる。IPAのカタカナ読みでは「カンヴァーター」となり、日本人が発音するカタカナ英語では「コンバーター」と読むことが一般的である。「converter」の定義を英語で解説
A 'converter' is a device or program that changes something from one form or state to another. For example, it can refer to mechanical devices such as power converters or digital-to-analog converters, or software that changes file formats. In the field of linguistics, tools that translate from one language to another are also sometimes referred to as 'converters'.「converter」の類語
「converter」の類語としては、「transformer」、「transducer」、「adapter」などがある。これらの単語も同様に、一つの形態や状態から別の形態や状態への変換を行う装置やプログラムを指す。「converter」に関連する用語・表現
「converter」に関連する用語や表現としては、「conversion」、「convert」、「converting」などがある。「conversion」は変換の行為や結果を指し、「convert」は変換するという動作を指す。「converting」は変換中であることを示す。「converter」の例文
1. This converter can change the file format from JPG to PNG.(このコンバーターはファイル形式をJPGからPNGに変換できる。)2. The power converter is necessary for using American appliances in Japan.(アメリカ製の家電を日本で使用するためには電力コンバーターが必要である。)
3. The language converter can translate English into Japanese.(言語コンバーターは英語を日本語に翻訳できる。)
4. The digital-to-analog converter is a key component in modern audio systems.(デジタル-アナログ変換器は現代のオーディオシステムの重要な部品である。)
5. The converter is designed to transform the voltage from 220V to 110V.(このコンバーターは電圧を220Vから110Vに変換するように設計されている。)
6. The converter box allows the television to receive digital signals.(コンバーターボックスにより、テレビはデジタル信号を受信できる。)
7. The currency converter shows the current exchange rate between the dollar and the yen.(通貨コンバーターはドルと円の現在の為替レートを表示する。)
8. The video converter can change the video format from AVI to MP4.(ビデオコンバーターはビデオ形式をAVIからMP4に変換できる。)
9. The converter software is free to download.(コンバーターソフトウェアは無料でダウンロードできる。)
10. The converter is used to adapt the plug to fit the outlet.(コンバーターはプラグをコンセントに合うように変換するために使用される。)
コンバーター【converter】
Converter ジェネリック デリゲート
アセンブリ: mscorlib (mscorlib.dll 内)

パラメータ
戻り値
変換された TInput を表す TOutput。


このセクションには、2 つのコード例が含まれています。最初のコード例では、Converter デリゲートを Array クラスの ConvertAll メソッドで使用する方法を示し、2 番目のコード例では、このデリゲートを List ジェネリック クラスの ConvertAll メソッドで使用する方法を示します。
PointF 構造体を Point 構造体に変換する PointFToPoint という名前のメソッドを定義するコード例を次に示します。この例では、次に PointF 構造体の配列を作成し、Converter<PointF, Point> デリゲート (Visual Basic では Converter(Of PointF, Point)) を作成して PointFToPoint メソッドを表し、そのデリゲートを ConvertAll メソッドに渡します。ConvertAll メソッドは、入力リストの各要素を PointFToPoint メソッドに渡し、変換された要素を Point 構造体の新しいリストに格納します。両方のリストが表示されます。
Imports System Imports System.Drawing Imports System.Collections.Generic Public Class Example Public Shared Sub Main() Dim apf() As PointF = { _ New PointF(27.8, 32.62), _ New PointF(99.3, 147.273), _ New PointF(7.5, 1412.2) } Console.WriteLine() For Each p As PointF In apf Console.WriteLine(p) Next Dim ap() As Point = Array.ConvertAll(apf, _ New Converter(Of PointF, Point)(AddressOf PointFToPoint)) Console.WriteLine() For Each p As Point In ap Console.WriteLine(p) Next End Sub Public Shared Function PointFToPoint(ByVal pf As PointF) _ As Point Return New Point(CInt(pf.X), CInt(pf.Y)) End Function End Class ' This code example produces the following output: ' '{X=27.8, Y=32.62} '{X=99.3, Y=147.273} '{X=7.5, Y=1412.2} ' '{X=28,Y=33} '{X=99,Y=147} '{X=8,Y=1412}
using System; using System.Drawing; using System.Collections.Generic; public class Example { public static void Main() { PointF[] apf = { new PointF(27.8F, 32.62F), new PointF(99.3F, 147.273F), new PointF(7.5F, 1412.2F) }; Console.WriteLine(); foreach( PointF p in apf ) { Console.WriteLine(p); } Point[] ap = Array.ConvertAll(apf, new Converter<PointF, Point>(PointFToPoint)); Console.WriteLine(); foreach( Point p in ap ) { Console.WriteLine(p); } } public static Point PointFToPoint(PointF pf) { return new Point(((int) pf.X), ((int) pf.Y)); } } /* This code example produces the following output: {X=27.8, Y=32.62} {X=99.3, Y=147.273} {X=7.5, Y=1412.2} {X=27,Y=32} {X=99,Y=147} {X=7,Y=1412} */
PointF 構造体を Point 構造体に変換する PointFToPoint という名前のメソッドを定義するコード例を次に示します。この例では、次に PointF 構造体の List を作成し、Converter<PointF, Point> デリゲート (Visual Basic では Converter(Of PointF, Point)) を作成して PointFToPoint メソッドを表し、そのデリゲートを ConvertAll メソッドに渡します。ConvertAll メソッドは、入力リストの各要素を PointFToPoint メソッドに渡し、変換された要素を Point 構造体の新しいリストに格納します。両方のリストが表示されます。
Imports System Imports System.Drawing Imports System.Collections.Generic Public Class Example Public Shared Sub Main() Dim lpf As New List(Of PointF) lpf.Add(New PointF(27.8, 32.62)) lpf.Add(New PointF(99.3, 147.273)) lpf.Add(New PointF(7.5, 1412.2)) Console.WriteLine() For Each p As PointF In lpf Console.WriteLine(p) Next Dim lp As List(Of Point) = lpf.ConvertAll( _ New Converter(Of PointF, Point)(AddressOf PointFToPoint)) Console.WriteLine() For Each p As Point In lp Console.WriteLine(p) Next End Sub Public Shared Function PointFToPoint(ByVal pf As PointF) _ As Point Return New Point(CInt(pf.X), CInt(pf.Y)) End Function End Class ' This code example produces the following output: ' '{X=27.8, Y=32.62} '{X=99.3, Y=147.273} '{X=7.5, Y=1412.2} ' '{X=28,Y=33} '{X=99,Y=147} '{X=8,Y=1412}
using System; using System.Drawing; using System.Collections.Generic; public class Example { public static void Main() { List<PointF> lpf = new List<PointF>(); lpf.Add(new PointF(27.8F, 32.62F)); lpf.Add(new PointF(99.3F, 147.273F)); lpf.Add(new PointF(7.5F, 1412.2F)); Console.WriteLine(); foreach( PointF p in lpf ) { Console.WriteLine(p); } List<Point> lp = lpf.ConvertAll( new Converter<PointF, Point>(PointFToPoint)); Console.WriteLine(); foreach( Point p in lp ) { Console.WriteLine(p); } } public static Point PointFToPoint(PointF pf) { return new Point(((int) pf.X), ((int) pf.Y)); } } /* This code example produces the following output: {X=27.8, Y=32.62} {X=99.3, Y=147.273} {X=7.5, Y=1412.2} {X=27,Y=32} {X=99,Y=147} {X=7,Y=1412} */
#using <System.Drawing.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections::Generic; Point PointFToPoint(PointF pf) { return Point((int) pf.X, (int) pf.Y); }; void main() { List<PointF>^ lpf = gcnew List<PointF>(); lpf->Add(PointF(27.8F, 32.62F)); lpf->Add(PointF(99.3F, 147.273F)); lpf->Add(PointF(7.5F, 1412.2F)); Console::WriteLine(); for each(PointF p in lpf) { Console::WriteLine(p); } List<Point>^ lp = lpf->ConvertAll<Point>( gcnew Converter<PointF, Point>(PointFToPoint) ); Console::WriteLine(); for each(Point p in lp) { Console::WriteLine(p); } } /* This code example produces the following output: {X=27.8, Y=32.62} {X=99.3, Y=147.273} {X=7.5, Y=1412.2} {X=27,Y=32} {X=99,Y=147} {X=7,Y=1412} */

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


コンバーター
直流から交流へ、または交流から直流に変えるための変換器。DC⇔ACコンバーターなどをいう。例えばハイブリッド車トヨタ・プリウスのものは、ランプやオーディオ、エアコンなどの補機類と各ECUが12Vを電源とするので、ハイブリッドシステムの発電機の288Vを12Vに変換して、補機バッテリーを充電する。288Vの直流を、いったん交流に変換してトランス(変圧器)で低電圧に降圧したあと、整流して直流12Vに変換している。
参照 DC-DCコンバーター、インバーターコンバーター converter
Converter
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2021/08/10 15:23 UTC 版)
「foobar2000」の記事における「Converter」の解説
ファイルをWAVまたは他形式のファイルにエンコードしたい場合に使用するコンポーネント。 デフォルトでは、FLAC、MP3、AAC(MP4)、Musepack、Ogg Vorbis、WavPack、Opusのエンコーダがプリセットに含まれており、MP3はLAME、AACはNero AAC Encoderを、他は純正のエンコーダを設定すると使用できる。またコマンドライン経由でプリセットに登録されている以外のエンコーダを使うことも可能であり、非常に柔軟なエンコードが可能である。設定ではエンコードしたファイルにディザリングをかけたり、DSPコンポーネントを指定することもできる。量子化ビット数(ビット深度)を指定することも可能であり、量子化ビット数は8bit、16bit、24bit、32bitが選択可能である。 加えて、foobar2000のTitle Formattingを使用して、柔軟に指定できるファイル名をエンコードしたファイルに付けることができる。 どのような形でファイルをエンコードするかもユーザーが設定することができる。複数のファイルをエンコードする際、ファイルを一つずつ出力したり、複数のファイルを一つのコンテナにまとめたり、またファイルを全て1トラックにすることもできる。また、指定した長さの時間にファイルをエンコードすることも可能であり、ショートトラックを作成するのに便利である。最後にそれらのファイルをReplayGainで解析し、タグを付けることもできる。
※この「Converter」の解説は、「foobar2000」の解説の一部です。
「Converter」を含む「foobar2000」の記事については、「foobar2000」の概要を参照ください。
「Converter」に関係したコラム
FXのチャート分析ソフトMT4で10分足や2時間足などを表示するには
FX(外国為替証拠金取引)のチャート分析ソフトMT4(Meta Trader 4)では、次の時間足の表示ができます。ティック1分足5分足15分足30分足1時間足4時間足日足週足MT4では、10分足や1...
- Converterのページへのリンク