WildMidi_SetCvtOption(3)

✨ WildMidi_SetCvtOption ✨

okay bestie, welcome to the WildMidi Programmer's Manual, section 3 β€” this is the one about tweaking a conversion option for one specific midi πŸŽ€


πŸ“š LIBRARY

libWildMidi β€” yeah that's the whole vibe πŸ’…


🌸 SYNOPSIS

#include <wildmidi_lib.h>

int WildMidi_SetCvtOption (uint16_t *tag, uint16_t setting)

πŸ’– DESCRIPTION

So like, this function sets a conversion option for a specific midi. That's the whole job. She's focused, she's employed, she ate πŸ’…

Here's the tea on the args:

  • tag β€” the type of option you wanna change, bestie. The choices are:
    • WM_CO_XMI_TYPE β€” the conversion type of an XMI to MIDI πŸ‘‘
    • WM_CO_FREQUENCY β€” the frequency to be used for a MUS file 🌈
  • setting β€” the value for whichever particular tag you picked. Yes, it's giving "you bring the value, I'll bring the meaning" 🫢

πŸ”₯ RETURN VALUE

Returns -1 on error, otherwise returns 0. So like... zero means slay, negative one means not slay 😭 simple as that, no cap.


πŸ‘€ SEE ALSO

your girl does not operate alone, she's part of a whole friend group πŸ’–


πŸ’œ AUTHOR

Chris Ison <chrisisonwildcode@gmail.com> and Bret Curtis <psi29a@gmail.com> β€” the icons who made this happen, we love them for it 🫢


Copyright (C) WildMidi Developers 2001-2016 🌸

This file is part of WildMIDI.

WildMIDI is free software: you can redistribute and/or modify the player under the terms of the GNU General Public License and you can redistribute and/or modify the library under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the licenses, or (at your option) any later version. periodt πŸ’…

WildMIDI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License and the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License and the GNU Lesser General Public License along with WildMIDI. If not, see <http://www.gnu.org/licenses/>.

This manpage is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. ✨


and that's the whole page bestie!! written down on 10 March 2016, and yeah, it's still WildMidi_SetCvtOption(3) β€” go set some options, you've got this πŸ’–πŸ¦‹πŸ§š