Author Topic: Voice - Microphone Recorder and Player  (Read 2945 times)

alexandrevicenzi (OP)

  • *
  • Posts: 46
    • My GitHub
Voice - Microphone Recorder and Player
« on: August 19, 2014, 05:23:32 pm »
Hallo everybody,

A few days ago I start to develop an app to record and play audio for GCW. This app is based on aplay source.
The current state is "not working" on GCW. I'll try to fix this today or tomorrow.

This app will be able to play/record the following formats: voc, wav, raw or au as aplay does. Some functionalities were removed, as separate channels for example.

As soon I fix this bug I'll post an alpha OPK and I'll continue to work on UI. Adding options to configure file formats and an open dialog to select files to play.

The code is available at https://github.com/alexandrevicenzi/gcw_mic.

Feel free to suggest/request something.

Thanks


KickingCooler

  • *
  • Posts: 79
    • YouTube Channel
Re: Voice - Microphone Recorder and Player
« Reply #1 on: August 26, 2014, 03:55:29 am »
I would love a "Simon says"ish game where instead of pressing buttons, the app plays a note then you have to match that note with your voice. Then it adds more notes. Basically, its simon says with your voice. :P
That sounds hard to code, but i dont know much about coding, so you can answer that question. :D
« Last Edit: August 26, 2014, 03:59:19 am by KickingCooler »
I'm back. (for the third time) :P

alexandrevicenzi (OP)

  • *
  • Posts: 46
    • My GitHub
Re: Voice - Microphone Recorder and Player
« Reply #2 on: August 26, 2014, 05:04:06 am »
I'm not good with audio processing, but I think it's a little bit harder to do. But this can be done of course.

Senor Quack

  • *
  • Posts: 215
Re: Voice - Microphone Recorder and Player
« Reply #3 on: August 26, 2014, 08:03:49 am »
I would love a "Simon says"ish game where instead of pressing buttons, the app plays a note then you have to match that note with your voice. Then it adds more notes. Basically, its simon says with your voice. :P
That sounds hard to code, but i dont know much about coding, so you can answer that question. :D

That's a great idea. In fact I was hard pressed to think of fun ways to incorporate the mic into a game and I think this would be quite fun!

alexandrevicenzi (OP)

  • *
  • Posts: 46
    • My GitHub
Re: Voice - Microphone Recorder and Player
« Reply #4 on: August 26, 2014, 07:23:34 pm »
That's a great idea. In fact I was hard pressed to think of fun ways to incorporate the mic into a game and I think this would be quite fun!

Actually, the mic is using ALSA aplay source. You doesn't need to wait I end this app. The source is available at https://gitorious.org/alsa/alsa-utils.git

alexandrevicenzi (OP)

  • *
  • Posts: 46
    • My GitHub
Re: Voice - Microphone Recorder and Player
« Reply #5 on: August 27, 2014, 05:02:47 am »
I'm made a first release. Feel free to try and find bugs.

This is the screenshot:



Output

$HOME/.voice

Keys

    A - Start/Stop recording
    B - Start/Stop playing
    UP/DOWN - Up/Down volume
    SELECT - Close


Detais: https://github.com/alexandrevicenzi/gcw_mic/releases/tag/alpha-1
OPK: https://github.com/alexandrevicenzi/gcw_mic/releases/download/alpha-1/voice-alpha-1.opk

KickingCooler

  • *
  • Posts: 79
    • YouTube Channel
Re: Voice - Microphone Recorder and Player
« Reply #6 on: August 27, 2014, 06:47:58 am »
For me, it plays really high pitched noises. When i play my recordings, i can barely hear myself.
I'm back. (for the third time) :P

Gab1975

  • ***
  • Posts: 1165
Re: Voice - Microphone Recorder and Player
« Reply #7 on: August 27, 2014, 07:18:43 am »
I tested the app... as KickingCooler wrote, during a recording there is some background noise, but I can hear my voice rather clearly.
I suggest you to add a commands legend in the main screen. it would be very useful to add also an interface to select and manage the wav files.

Thanks for your work! :)

alexandrevicenzi (OP)

  • *
  • Posts: 46
    • My GitHub
Re: Voice - Microphone Recorder and Player
« Reply #8 on: August 27, 2014, 12:28:11 pm »
The noise problem it's related with alsa aplay, I need to check why there's too many noise on GCW.
As mentioned, this is an alpha version, is very far from the final result.

What I want to include:

- Select file from "any" directory and play.
- Add an option menu to change file formats, default file name, and so on.
- Maybe, run in background.
- Seek playing
- Save user preferences
- Add a VU meter
- Show key commands

This is what I can remember now. Suggestions are appreciated.  ;)

remjey

  • *
  • Posts: 5
Re: Voice - Microphone Recorder and Player
« Reply #9 on: March 18, 2015, 02:49:06 pm »
Hi guys. I've been testing the mic a little with arec, and I got lots of noise too.

Although with 8000Hz 16bit mono sampling it sounds kinda okay ! It may be enough to get some mumble or SIP phone port.

 

Post a new topic
Post a new topic