Home | History | Annotate | Download | only in MidiSynth
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3  Copyright 2015 The Android Open Source Project
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9      http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 <sample>
     18     <name>MidiSynth</name>
     19     <group>Media</group>
     20     <package>com.example.android.midisynth</package>
     21 
     22     <minSdk>23</minSdk>
     23     <targetSdkVersion>23</targetSdkVersion>
     24     <compileSdkVersion>23</compileSdkVersion>
     25     <strings>
     26         <intro>
     27             <![CDATA[
     28 This sample demonstrates how to use the MIDI API to receive and play MIDI signals coming from an
     29 attached input device.
     30             ]]>
     31         </intro>
     32     </strings>
     33 
     34     <common src="midi" />
     35     <template src="base" />
     36 
     37     <metadata>
     38         <status>PUBLISHED</status>
     39         <categories>Media</categories>
     40         <technologies>Android</technologies>
     41         <languages>Java</languages>
     42         <solutions>Mobile</solutions>
     43         <level>INTERMEDIATE</level>
     44         <icon>screenshots/icon-web.png</icon>
     45         <screenshots>
     46             <img>screenshots/1-main.png</img>
     47         </screenshots>
     48         <api_refs>
     49             <android>android.media.midi.MidiManager</android>
     50             <android>android.media.midi.MidiReceiver</android>
     51         </api_refs>
     52         <description>
     53             <![CDATA[
     54 Sample demonstrating how to use the MIDI API to receive and play MIDI signals coming from an
     55 attached input device (MIDI keyboard).
     56 	    ]]>
     57         </description>
     58 
     59         <!-- Multi-paragraph introduction to sample, from an educational point-of-view.
     60         Makrdown formatting allowed. This will be used to generate a mini-article for the
     61         sample on DAC. -->
     62         <intro>
     63             <![CDATA[
     64 The Android MIDI API ([android.media.midi][1]) allows developers to connect a MIDI device to Android
     65 and process MIDI signals coming from it. This sample demonstrates some basic features of the MIDI
     66 API, such as enumeration of currently available devices (Information includes name, vendor,
     67 capabilities, etc), notification when MIDI devices are plugged in or unplugged, and receiving MIDI
     68 signals. This sample contains a simple implementation of oscillator and play sound for incoming MIDI
     69 signals.
     70 [1]: https://developer.android.com/reference/android/media/midi/package-summary.html
     71 	    ]]>
     72         </intro>
     73     </metadata>
     74 </sample>
     75