This is an old revision of the document!


The Studio

Devices, instruments and connections

Rosegarden uses the term studio to refer to everything it knows about the sound systems attached to the computer. This may include MIDI and audio hardware and other sound software, and includes information about connections, configuration, MIDI patches and so on. The studio is built-in to every composition you create with Rosegarden.

Three pieces of terminology are essential here :

Device

A “device”, as far as Rosegarden is concerned, is simply something capable of producing sounds. This may be a MIDI or audio device. MIDI devices do not necessarily correspond directly to physical MIDI ports: they are just things with names that you can refer to, expected to work in particular ways. Configuration information such as MIDI patch maps can be attached to devices.

Instrument

Each device has a number of “instruments”, each of which is assumed to make a particular sound. These are the things that you can assign tracks to in order to choose which sound they play. By default, a device contains 16 instruments, created for you at startup: if the device is a MIDI device, then these will each be initialised to one of the 16 MIDI channels. The instrument is where you set all the properties of a particular voice, such as program settings, reverb, volume etc.

Connection

While a MIDI device is simply a name and a collection of configuration information, the “connection” specifies which MIDI port it is physically attached to. This can be configured in the MIDI device manager. (Audio and synth plugin devices do not have connections in the same way.)

For example, imagine a setup consisting of a PC with two physical MIDI ports, one of which has an external synth attached to it. Here you would normally configure Rosegarden so as to have one MIDI device, corresponding to the synth. You could then configure this device with the correct name and patch map, and then specify a connection for it that corresponded to the relevant MIDI port on your soundcard. Each of the 16 default instruments on the device could then be configured with a suitable program, and you would then assign tracks to those.

In practice, Rosegarden will by default create a device for each of the available connections on startup. So in the example above, two MIDI devices will be created by default even though you only need one. You would generally then rename and apply patch maps to the first, and delete or simply not use the second. Remember that there is no way for Rosegarden to know what synths you actually have plugged in to the MIDI ports on your computer: for this reason, the devices created at startup are just intended to be a default set, and it's up to you to ensure that the devices you configure match those you are really using.

Once configured, the studio setup is stored with every Rosegarden-format file you save.

MIDIデバイスの管理

The MIDIデバイスマネージャ

MIDIデバイスマネージャダイアログは、現在有効なMIDIデバイスとどこに繋がっているかを表示します。このダイアログを表示するためには、スタジオ→MIDIデバイスの管理(Studio → Manage MIDI Devices)を使います。

デバイス、インストゥルメントとコネクション セクションで説明されているように、規定値では、Rosegardenは起動時に、もっともらしいデバイスのセットを提供しようとし、それらのデバイスに対して理にかなったコネクションをしようとします。しかし、既定値の構成では、通常は最適ではないかもしれないので、このダイアログはデバイスの名前を変更し、それらのコネクションを変更し、再生/録音方向のコネクションを修正します。

各ここでリストされた再生デバイスは、通信(talk to)するためのMIDIトラックのためのターゲットを提供します。もしも、新しい再生デバイスを追加するならば、トラックに割り当てることができます。このデバイス上の16の新しいインストゥルメントを持つことができるでしょう。もしも、そのデバイスに対するコネクションを割り当てるならば、トラックはその接続に割り当てられた任意のMIDIシンセサイザーの適切なチャネル(インストゥルメント依存)で再生するために割り当てられます。

ここでリストされた録音デバイスは、MIDIを録音することが可能なソースを意味します。このダイアログ中で表示されているように、おのおのの行上でチェックボックスを使うことで、それら1つ以上のものをカレントにすることができます(そのため、Rosegardenは録音時にそれらを聞くことができます)。

MIDIデバイスのためのバンクとプログラムの管理

The MIDI bank and program editor

各MIDIデバイスは複数のインストゥルメントを含み、それらのインストゥルメントをトラックに割り当てることができることを憶えておいてください。MIDI用語中では、おのおののインストゥルメントはMIDIシンセサイザー上の1つのチャネルに対応します。使用する各々のインストゥルメントのシンセサイザー上の有効なボイス(サウンド)のどれかを選択することができますが、この理由により、すべての有効なボイスの名前をRosegardenが知っているようにする必要があります。

このダイアログはプログラムのバンク(ボイスの名前)をMIDIデバイスに接続することを可能にし、それゆえ、インストゥルメントパラメータボックス中のそれらのボイスの1つを使うために、デバイス上の各々のインスツルメントは設定されます。

デバイスのプログラム名をセットアップするための通常の方法は、単に提供されるデバイスファイル(“.rgd”)の1つからそれらをインポートすることです。これを行なうために、ダイアログの左のリスト中のデバイスを選択し、次にリストの下のインポートボタンをクリックし、シンセサイザーに対応する.rgdファイルを選択します。

もしも、シンセサイザー用に何らの.rgdファイルが有効になっていないのであれば、新しいバンクを作るためにこのダイアログを使うことができます。これを行なうために、シンセサイザーのMIDI実装チャート中のプログラムマップを見つけ、すべての名前を手入力で入力する必要があります。次にそれを他のRosegardenユーザのために.rgdファイルにエクスポートします。もしもそれを共有したいのであれば、rosegarden-userメーリングリストで連絡してください(これはどのようにしてRosegardenと共に存在するすべての.rgdファイルが含まれているかの理由です)。

Percussion Key Mappings

Many MIDI synthesizers have at least one percussion program, in which each “pitch” plays a different type of sound. Rosegarden contains a dedicated percussion matrix editor to view and edit notes against a scale consisting of the correct names for the pitches, instead of against the conventional piano keyboard pitch scale.

The key mappings available for a particular MIDI device are also defined in the Rosegarden device (“.rgd”) file. Each MIDI program that is defined as a percussion program can have a key mapping associated with it; if there is one, then it will be used by default in any track that is assigned to this program. Like program and bank definitions, key mappings can be imported from and exported to .rgd files.

サウンドフォント

もしも、ソフトウェアシンセサイザーかSountFont(.sf2)ファイルを使うサウンドカードを使っているならば、このダイアログ中に、.sf2ファイルから正しいプログラム名を単純に直接ロードすることができます。 通常のインポートと同じように質問されたならば、rgdファイルの代わりに使う.sf2ファイルを選択します。

Note that the studio only manages information about existing MIDI devices for Rosegarden, it does not actually handle tasks such as loading a SoundFont to your soundcard in the first place. If you want to make sure a SoundFont is loaded to your soundcard when Rosegarden starts up, you should use the special “Load SoundFont to SoundBlaster card at startup” option in the sequencer configuration in Settings → Configure Rosegarden….

Variations

Some MIDI devices (for example, those from Roland) organise their program names using a scheme known as “variations”. For these devices, you generally want to select a program by first selecting the basic program name — such as a piano — and then selecting one of a set of variations on that program — such as an electric piano. This is in contrast to General MIDI-based synths, which organise their programs into banks and expect you to choose a bank first and then a program from that bank.

Rosegarden can support devices that use variations, but you still have to enter the program names in a bank format. Internally, devices that use variations still use MIDI bank select controllers to choose between the variations; you need to find out from your synth's documentation whether your device uses the LSB or MSB bank select to choose variations, and which bank number corresponds to which variation. You can then enter the banks as normal, and use the “Show Variation list based on MSB/LSB” option on the bank dialog to tell Rosegarden to show variations instead of banks when displaying that device in an instrument parameter box.

Program mapping on MIDI import

When you import a MIDI file into a composition, Rosegarden uses the existing studio setup to determine how to map the MIDI programs onto Rosegarden instruments. The aim is to ensure that every MIDI program gets mapped to an instrument that really exists in your studio (and thus is actually attached to your computer), so that all the MIDI tracks can be heard.

The MIDI program-change and bank-select events found in the imported file are used when importing, but only as an aid to help find the appropriate instrument for each MIDI track from the set of instruments in your studio. So, for example, if your studio is currently set up to contain only GM instruments, and you import a MIDI file with GS program changes onto it, Rosegarden will remap the GS banks back onto GM because they're all it knows that you have at the time you import the file. It doesn't remember the original GS program numbers.

This means that you should always ensure that your studio is correctly configured for the devices you actually have, before you import the MIDI file. Otherwise the program data in the MIDI file may be lost.

Audio Routing

Any Rosegarden track assigned to an audio or synth plugin instrument becomes part of Rosegarden's audio routing architecture. There are 16 audio instruments and 16 synth plugin instruments, and each of these has a set of adjustable parameters including fader level, pan, effects and so on. These are generally configurable in the Instrument Parameter Box or audio mixer. Each audio instrument also has an input connection, and both audio and synth plugin instruments have an output connection.

An instrument's input connection defines where Rosegarden will read audio data from when recording to this instrument. The most usual setting would be to one of Rosegarden's external audio inputs, the number of which is configurable in the audio mixer. These correspond to JACK audio ports exposed by Rosegarden, to which you can connect outputs from any other JACK audio application or soundcard capture ports using an external JACK router application such as QJackCtl. You can also set an instrument's audio input to the output of one of Rosegarden's built-in audio submasters or master output for mixdowns.

An instrument's output connection defines where the audio goes when played. Instruments default to sending their audio to Rosegarden's master output, which is another (stereo pair of) external JACK port(s) that can then be connected up using the same external JACK router. However, Rosegarden also supports up to eight internal submaster busses, to which you can send instrument outputs instead so as to group instruments into related categories. You can control the number and routing of these in the audio mixer.

Rosegarden currently supports effects using a set of pre-fader insert effects slots for each audio instrument. You cannot yet assign effects to the submaster busses, and Rosegarden does not yet support send effects, although you can obtain similar results using an external JACK effects and mixing architecture.

Some further details of audio routing configuration, mixing, and effects are discussed in the audio mixer, instrument parameter box and audio plugins sections.

MIDI Routing

Rosegarden is able to instantly send incoming MIDI events to some output device and MIDI channel. This feature is known as MIDI Thru.

MIDI Thru is enabled by default in Rosegarden. You may want to globally disable it using the menu option Studio → MIDI Thru Routing, if you prefer to use an external MIDI routing system. There is also a global filter by MIDI event type, which you may use to ignore some event types and let other types to be routed. It is explained in the section MIDI filters.

MIDI Thru routing works quite differently when Rosegarden is playing or stopped than when it is recording.

  • When Rosegarden is playing or in stopped state, the MIDI thru function routes events to the selected track instrument. The selected track has its track name highlighted.
  • When Rosegarden is recording, the MIDI events are routed to the armed track instruments, based on the recording filters. It doesn't matter which track is selected. Only one instrument is selected for each event, corresponding to the first track with a matching record filter.
 
 
doc/device-manager-ja.1288481524.txt.gz · Last modified: 2022/05/06 16:07 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki