• Home
Name Date Size #Lines LOC

..--

LiveEffect/03-May-2024-1,5861,093

MegaDrone/03-May-2024-895653

RhythmGame/03-May-2024-55,99037,082

SoundBoard/03-May-2024-1,028723

audio-device/03-May-2024-497310

debug-utils/03-May-2024-16788

drumthumper/03-May-2024-2,2901,781

gradle/wrapper/03-May-2024-76

hello-oboe/03-May-2024-1,5921,030

iolib/03-May-2024-882487

minimaloboe/03-May-2024-956703

parselib/03-May-2024-1,258636

shared/03-May-2024-642316

.gitignoreD03-May-2024129 1110

README.mdD03-May-20242.9 KiB6149

build.gradleD03-May-20241.2 KiB4439

gradle.propertiesD03-May-20241.5 KiB3832

gradlewD03-May-20244.9 KiB161120

gradlew.batD03-May-20242.3 KiB9166

settings.gradleD03-May-2024836 2826

README.md

1Oboe Samples
2==============
3These samples demonstrate how to use the Oboe library:
4
51. [MinimalOboe](minimaloboe): Just create an Oboe stream and play white noise. Restart stream when disconnected. (Kotlin/Compose)
61. [hello-oboe](hello-oboe): Creates an output (playback) stream and plays a
7sine wave when you tap the screen. (Java)
81. [RhythmGame](RhythmGame): A simple rhythm game where you copy the clap patterns you hear by tapping on the screen.
9There is an associated codelab to follow along with. (Java)
101. [MegaDrone](MegaDrone): A one hundred oscillator synthesizer, demonstrates low latency and CPU performance. (Java)
111. [DrumThumper](drumthumper): A drum pad that plays sounds from loaded WAV files. (Java)
121. [LiveEffect](LiveEffect): Loops audio from input stream to output stream to demonstrate duplex capability. (Java)
131. [SoundBoard](SoundBoard): A 30 note dynamic synthesizer, demonstating combining signals. (Kotlin)
14
15Pre-requisites
16-------------
17* Android device or emulator running API 16 (Jelly Bean) or above
18* [Android SDK 26](https://developer.android.com/about/versions/oreo/android-8.0-migration.html#ptb)
19* [NDK r17](https://developer.android.com/ndk/downloads/index.html) or above
20* [Android Studio 2.3.0+](https://developer.android.com/studio/index.html)
21
22Getting Started
23---------------
241. [Install Android Studio](https://developer.android.com/studio/index.html)
251. Import the sample project into Android Studio
26    - File -> New -> Import Project
27    - Browse to oboe/samples/build.gradle
28    - Click "OK"
291. Click Run, click on the sample you wish to run
30
31Support
32-------
33If you've found an error in these samples, please [file an issue](https://github.com/google/oboe/issues/new).
34
35Patches are encouraged, and may be submitted by [forking this project](https://github.com/google/oboe/fork) and
36submitting a pull request through GitHub. Please see [CONTRIBUTING.md](../CONTRIBUTING.md) for more details.
37
38- [Stack Overflow](http://stackoverflow.com/questions/tagged/android-ndk)
39- [Google+ Community](https://plus.google.com/communities/105153134372062985968)
40- [Android Tools Feedback](http://tools.android.com/feedback)
41
42
43License
44-------
45Copyright 2017 Google, Inc.
46
47Licensed to the Apache Software Foundation (ASF) under one or more contributor
48license agreements.  See the NOTICE file distributed with this work for
49additional information regarding copyright ownership.  The ASF licenses this
50file to you under the Apache License, Version 2.0 (the "License"); you may not
51use this file except in compliance with the License.  You may obtain a copy of
52the License at
53
54http://www.apache.org/licenses/LICENSE-2.0
55
56Unless required by applicable law or agreed to in writing, software
57distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
58WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
59License for the specific language governing permissions and limitations under
60the License.
61