Code Monkey home page Code Monkey logo

genesis-testtask's Introduction

Genesis-TestTask

Write the application that allows the users to play a sound of nature and record audio when the sound is finished playing. You should provide your solution as a link to public repository on any git hosting service you prefer: GitHub, GitLab, Bitbucket. Please make commits of logical units, so we can evaluate your progress and add comments as you see fit.

!!! All Third-party Frameworks are restricted. Including SwiftLint, RxSwift, Swinject & so on !!! Please, use ONLY Apple provider frameworks !!! Highly welcome are SwiftUI, Combine

Further Details

Application should consists of one or two screens. On the main screen the users see state of the application: idle, playing, recording, paused; two controls that allow the users to choose duration of sleep timer in minutes and the recording duration; and the play/pause button.

The users set desired parameters, tap play button and application starts playing the sound of a nature during sleep timer duration in a loop. When the sound is finished, application starts recording audio. When recording time is finished, the application should transit back to idle state. The recording should start in background mode as well, after the sound of nature is completed.

Tapping on play/pause should start the entire flow or pause playing or recording.

Everything should work in background as well. If the playing or recording is interrupted by another application using audio session, try to restore application state gracefully.

You should provide a way to switch off playing the sound of nature completely.

Audio records should be put in user Documents folder and be available via iTunes file sharing.

genesis-testtask's People

Contributors

igoronix avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.