diff --git a/doc/MidiFile.xml b/doc/MidiFile.xml index 7729d277..3443b2f2 100644 --- a/doc/MidiFile.xml +++ b/doc/MidiFile.xml @@ -5,8 +5,8 @@ This is a resource which represents the internal MIDI data used by [MidiPlayer]. Depending on the file type, format will be set accordingly. - To load data into the MidiPlayer simply call on [method MidiPlayer.load_midi] or [method MidiPlayer.set_midi] for a midi file or [method MidiPlayer.load_soundfont] or [method MidiPlayer.set_soundfont] for a SoundFont file. - [b]Note[/b]: It is not recommended that you set byte data directly using [method=set_data] or change the format using [method=set_format]. These methods are more useful when loading midi data from a [File] and you need to set byte data and format manually. + To load data into the MidiPlayer simply call on [method MidiPlayer.load_midi] or set [member MidiPlayer.midi] property for a MIDI file or [method MidiPlayer.load_soundfont] or [member MidiPlayer.soundfont] property for a SoundFont file. + [b]Note[/b]: It is not recommended that you set byte [member data] or change the [member format]. These properties are more useful when loading MIDI data from a [File] and you need to set byte data and format manually. @@ -17,7 +17,7 @@ A stream of bytes which represents MIDI data. This data is not meant to be modified, as MIDI files are imported automatically. - Represents the internal format of the Midi data. This is set automatically when data gets set. + Represents the internal format of the MIDI data. This is set automatically when data gets set.