RPR PCM Sink CreateMIDIFileEx
From CockosWiki
(→See Also) |
Noisypuppet (Talk | contribs) (→Parameters) |
||
(5 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
{{API_Doc_Header}} | {{API_Doc_Header}} | ||
- | = = | + | =PCM_Sink_CreateMIDIFileEx()= |
+ | '''PCM_sink* PCM_Sink_CreateMIDIFile(const char* filename, const char* cfg, int cfgl, double bpm, int div)''' ''deprecated'' <br> | ||
+ | '''PCM_sink* PCM_Sink_CreateMIDIFileEx(void* proj, const char* filename, const char* cfg, int cfgl, double bpm, int div)''' | ||
+ | |||
==Parameters== | ==Parameters== | ||
+ | void* proj, | ||
+ | const char* filename, | ||
+ | const char* cfg, | ||
+ | int cfgl, | ||
+ | double bpm, | ||
+ | int div | ||
+ | |||
+ | Currently cfg and cfgl are ignored. | ||
+ | |||
+ | bpm is BPM, div is ticks/QN to use. | ||
+ | |||
+ | Notes: | ||
+ | |||
+ | if div==0, div is reset to the preference setting for tick/qn precision (default 960) | ||
+ | |||
+ | if div>=0 and bpm<0, then midi file is tempo mapped to project. | ||
+ | |||
+ | if div<0, then it represents a SMPTE framerate (see midi spec) | ||
+ | |||
==Returns== | ==Returns== | ||
+ | An array, containing | ||
+ | PCM_sink* | ||
+ | void* proj, | ||
+ | const char* filename, | ||
+ | const char* cfg, | ||
+ | int cfgl, | ||
+ | double bpm, | ||
+ | int div | ||
==Examples== | ==Examples== | ||
+ | ===C++=== | ||
+ | <source lang=cpp> | ||
+ | </source> | ||
+ | |||
+ | |||
===Perl=== | ===Perl=== | ||
- | < | + | <source lang=perl> |
- | </ | + | </source> |
+ | |||
+ | |||
===Python=== | ===Python=== | ||
- | < | + | <source lang=python> |
- | </ | + | </source> |
+ | |||
==See Also== | ==See Also== | ||
- | {{ | + | {{SeeAlso_pcm}} |
+ | |||
+ | {{SeeAlso_midi}} | ||
+ | |||
+ | ''(Section automatically generated, edits may be overwritten.)'' | ||
==Stuff== | ==Stuff== |
Latest revision as of 14:19, 20 July 2010
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR PCM Sink CreateMIDIFileEx
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR PCM Sink CreateMIDIFileEx
Contents |
PCM_Sink_CreateMIDIFileEx()
PCM_sink* PCM_Sink_CreateMIDIFile(const char* filename, const char* cfg, int cfgl, double bpm, int div) deprecated
PCM_sink* PCM_Sink_CreateMIDIFileEx(void* proj, const char* filename, const char* cfg, int cfgl, double bpm, int div)
Parameters
void* proj, const char* filename, const char* cfg, int cfgl, double bpm, int div
Currently cfg and cfgl are ignored.
bpm is BPM, div is ticks/QN to use.
Notes:
if div==0, div is reset to the preference setting for tick/qn precision (default 960)
if div>=0 and bpm<0, then midi file is tempo mapped to project.
if div<0, then it represents a SMPTE framerate (see midi spec)
Returns
An array, containing PCM_sink* void* proj, const char* filename, const char* cfg, int cfgl, double bpm, int div
Examples
C++
Perl
Python
See Also
pcm: PCM_Sink_Create, PCM_Sink_CreateEx, PCM_Sink_CreateMIDIFile, PCM_Sink_CreateMIDIFileEx, PCM_Sink_Enum, PCM_Sink_GetExtension, PCM_Sink_ShowConfig, PCM_Source_CreateFromFile, PCM_Source_CreateFromFileEx, PCM_Source_CreateFromSimple, PCM_Source_CreateFromType,
midi: GetTrackMIDINoteName, GetTrackMIDINoteNameEx, HasTrackMIDIPrograms, HasTrackMIDIProgramsEx, CreateMIDIInput, kbd_OnMidiEvent, CreateMIDIOutput, GetMaxMidiInputs, kbd_OnMidiList, GetMaxMidiOutputs, SetTrackMIDINoteName, SetTrackMIDINoteNameEx, MIDI_eventlist_Create, GetMidiInput, MIDI_eventlist_Destroy, GetMIDIInputName, MIDIEditor_GetActive, GetMidiOutput, MIDIEditor_GetMode, GetMIDIOutputName, MIDIEditor_OnCommand, GetNumMIDIInputs, GetNumMIDIOutputs, PCM_Sink_CreateMIDIFile, PCM_Sink_CreateMIDIFileEx, EnumTrackMIDIProgramNames, EnumTrackMIDIProgramNamesEx, State Chunk and RPP MIDI Format
(Section automatically generated, edits may be overwritten.)
Stuff
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR PCM Sink CreateMIDIFileEx
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR PCM Sink CreateMIDIFileEx