GithubHelp home page GithubHelp logo

giorgioregni / binaural-beats Goto Github PK

View Code? Open in Web Editor NEW
187.0 187.0 59.0 8.39 MB

Brainwaves entrainment, auto hypnosis & lucid dreaming with an Android phone

Home Page: http://binauralbeatstherapy.wordpress.com/

License: GNU General Public License v3.0

Java 97.56% HTML 0.30% AIDL 2.14%
android android-application binaural binaural-beats-generator binaural-beats-therapy meditation mindfulness opensource

binaural-beats's People

Contributors

antoniotari avatar droidservices avatar giorgioregni avatar kalpit-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binaural-beats's Issues

new preset ADD/ADHD

public static Program ADD/ADHD help(Program p) {
p.setDescription("Aid for Attention Deficit Disorder." + "30m.

alternating between 12 and 20 hz.");
p.setAuthor("@thegreenman);

    p.addPeriod(new Period(300, SoundLoop.WHITE_NOISE, 0.7f, null).
            addVoice(new BinauralBeatVoice(60f, 12f, 0.6f)).
            setV(new HypnoFlash())
    ).
    p.addPeriod(new Period(300, SoundLoop.WHITE_NOISE, 0.7f, null).
            addVoice(new BinauralBeatVoice(20f, 20f, 0.6f)).
            setV(new HypnoFlash())
    ).
    p.addPeriod(new Period(300, SoundLoop.WHITE_NOISE, 0.7f, null).
            addVoice(new BinauralBeatVoice(12f, 12f, 0.6f)).
            setV(new HypnoFlash())
    ).
    p.addPeriod(new Period(300, SoundLoop.WHITE_NOISE, 0.7f, null).
            addVoice(new BinauralBeatVoice(20f, 20f, 0.6f)).
            setV(new HypnoFlash())
    ).
    p.addPeriod(new Period(300, SoundLoop.WHITE_NOISE, 0.7f, null).
            addVoice(new BinauralBeatVoice(12f, 12f, 0.6f)).
            setV(new HypnoFlash())
    ).
    p.addPeriod(new Period(300, SoundLoop.WHITE_NOISE, 0.7f, null).
            addVoice(new BinauralBeatVoice(20f, 20f, 0.6f)).
            setV(new HypnoFlash())
    );

    return p;
}

Build problems

At version 2.0.3 there is a missing logo resource . If that is replaced, there is still an error: gerry/dalb8s-fdroiddata/build/com.ihunda.android.binauralbeat/src/com/ihunda/android/binauralbeat/BBeat.java:375: cannot find symbol
[javac] symbol : variable empty
[javac] location: class com.ihunda.android.binauralbeat.R.drawable
[javac] mPresetList.setGroupIndicator(getResources().getDrawable(R.drawable.empty));

I deleted that line, and the build works. I'll submit it to f-droid as the app is badly outdated there. If you see at as a problem please say so.

New preset Induction2LucidDream

public static Program Induction2LucidDreams(Program p) {
p.setDescription("Sleep Induction and Lucid Dreams2" +
"Sleep Induction into a longer lucid dreaming program");
p.setAuthor("@thegreenman);

           p.addPeriod(new Period(600, SoundLoop.UNITY, 0.7f, null).
                           addVoice(new BinauralBeatVoice(9.7f, 3.4f, 0.6f)).
             addVoice(new BinauralBeatVoice(9.5f, 3f, 0.55f)).
                           addVoice(new BinauralBeatVoice(9.3f, 2.4f, 0.5f)).
             setV(new Aurora())
           ).

           p.addPeriod(new Period(5400, SoundLoop.UNITY, 0.7f, null).
                           addVoice(new BinauralBeatVoice(3.4f, 2.4f, 0.6f)).
             addVoice(new BinauralBeatVoice(3f, 3f, 0.55f)).
                           addVoice(new BinauralBeatVoice(2.4f, 3.4f, 0.5f)).
             setV(new Aurora())
           ).

           p.addPeriod(new Period(120, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(10f, 8f, 0.6f)).
             setV(new Aurora())
           ).
           p.addPeriod(new Period(120, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(8f, 8f, 0.6f)).
             setV(new Aurora())
           ).
           p.addPeriod(new Period(120, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(8f, 6f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(240, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(6f, 6f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(240, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(6f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(420, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 8f, 0.6f))..
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.UNITY, 0.7f, null).
                           addVoice(new BinauralBeatVoice(8f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(360, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 8f, 0.6f))..
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.UNITY, 0.3f, null).
                           addVoice(new BinauralBeatVoice(8f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(180, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.NONE, 0.3f, null).
                           addVoice(new BinauralBeatVoice(5f, 8f, 0.6f))..
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(8f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
            p.addPeriod(new Period(900, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 8f, 0.6f))..
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.UNITY, 0.3f, null).
                           addVoice(new BinauralBeatVoice(8f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
            p.addPeriod(new Period(900, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 8f, 0.6f))..
                           setV(new Aurora())
           ).
           p.addPeriod(new Period(20, SoundLoop.UNITY, 0.3f, null).
                           addVoice(new BinauralBeatVoice(8f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
            p.addPeriod(new Period(360, SoundLoop.NONE, 0.7f, null).
                           addVoice(new BinauralBeatVoice(5f, 5f, 0.6f)).
                           setV(new Aurora())
           ).
            p.addPeriod(new Period(360, SoundLoop.UNITY, 0.1f, null).
                           addVoice(new BinauralBeatVoice(5f, 12f, 0.7f)).
                           setV(new Aurora())
           );
           return p;
   }

Version 1.4.26 Crashes When Selecting a Preset

First of all thank you for this app, it's the binaural beats program I use more than any other.

I've found that with the new version 1.4.26 the app crashes when I try to select an option. It works normally at version 1.4.25.

I wouldn't have made an issue if F-Droid would respect the Ignore All Updates setting that I have tried to set. My phone keeps updating the app back to 1.4.26 automatically. I have to keep downgrading it, annoying because I use it every day.

Any ideas? I don't know how to access crash logs so I don't have much of an idea on what could be going wrong except that it hass something to do with when a binaural beat play is initiated.

Are you still maintaining this project?

Hi, I'm a developer who wants to contribute in this project and I have a UX Designer friend that also wants to contribute. But before we start, we need to know if you are still maintaining this project and accepting help.

Preset against lovesickness and broken heart

Good morning @GiorgioRegni, first of all: Huge thanks for this neat app (although it looks like your repo is currently not very well maintained) and especially for publishing it on my belloved F-Droid store!

Here's my request: My girlfriend left me two days ago. It fuckin' hurts. I would love to have a preset designed to stabilize my inner feelings, glue my heart and get away from all the very deep pain. I am a strong man, I will get over it, but if your app could do a good job to assist people like me, that would rock. Before anyone tells me to use the already existing preset Morphine pain killer: It's not working here.

  • Update: Seems like my girlfriend is coming back. I still would like this preset for others to appear.

Crashlytics support

I would like to add crashlytics support into BBT for more efficient troubleshooting of issues

add more background sounds

I think we need a few more looping background sounds such as rainstorm, babbling brook, or beach waves. I know too many will just cause bloat, but one or two more would be nice.

I have some royalty free ones here if you want them... let me know. They can probably be compressed without too much loss of fidelity.

History

This feature is about adding a list of past meditation sessions and automatically logging sessions into that list so that the user gets a view of every session she did and when.

F-Droid version is not current.

One of the best apps for BB therapy. Truly Awesome app.
Just informing that the fdroid version is 1.2 last update was '12 well behind the playstore version.

Non-active sound

Why does the audio change when another app is selected? I've found use in several of these while in working, but no longer get the full effect due to the audio changing when I have another app active on top.

Future presets (possible)

List of possible future presets taken from requests (facebook, android market, etc...)
Scheduled:
Insomnia 1 -SMR (Sensory motor rhythm - hovering around 14 hz) entrainment, to help with chronic insomnia. cm
Insomnia 2 -Beta to Theta entrainment session to help one relax and fall asleep. cm
Lucid Dreaming. gr
Possible:
DNA activation (aka solfeggio 396 417 528 639 741 852) - not sure how we implement this. cm

Phone calls crash app

Binaural Beats crashes when making or receiving phone calls. App is not running (must be running in background). What I mean is that I'm not running the app and it's hasn't been opened yet. What ever services are running is what crashes. Not sure why there would even be services running prior to app launch. Using a Note 2 running 4.1.1

[Accessibility] Color Contrast is not respected.

The contrast ratio between text and background should be at least 4.5 . The following image shows some elements that don't respect the contrast ratio.

IMG_20201118_102847

How to reproduce the error

  1. Activate the app Accessibility Scanner
  2. Open the app Binaural Beats
  3. Activate the registration from the Accessibility Scanner and use the Binaural Beats app.
  4. After using the app, stop the recording.

The results will show the errors found in the app. For example:

IMG_20201118_102820

I would like to help with localisation

I can help translating to Italian (with a very high accuracy).
Thing is, people, especially the elders, sometimes have difficulties sleeping and I would like to introduce them to binaural waves listening.

Your app is the cleanest on the Play store, but it lacks translation and you can't expect 50+ yo to know English well enough to understand how to use your app, at least where I live.

So, want me to help? I'd be happy to do so!
And your app could reach way more people and possibly help them feel better!

Preset builder

https://github.com/GiorgioRegni/Binaural-Beats/blob/master/app/src/main/java/com/ihunda/android/binauralbeat/DefaultProgramsBuilder.java

What I want to build is an activity that allows users to build their own program

right now the program are build through coding in that file

I would like you to develop a builder so that users can create their own custom presets

This
`
public static Program MEDITATION_WAKEFULRELAX(Program p) {
Visualization v = new None();

	p.setDescription("This presets stimulates a wakeful relaxation state with closed eyes. "
			+ "Zen-trained meditation masters produce noticeably more alpha waves during meditation."
			+ "To be used in short 10 to 15 minutes doses to calm down and concentrate when needed.");

	p.setAuthor("@GiorgioRegni");

	p.addPeriod(new Period(120, SoundLoop.WHITE_NOISE, 0.4f, null).
			addVoice(new BinauralBeatVoice(12f,	7.83f, 0.6f)).
			addVoice(new BinauralBeatVoice(12f,	7.83f, 0.4f)).
			addVoice(new BinauralBeatVoice(12f,	10f, 0.4f)).
			setV(v)
	).
	addPeriod(new Period(900-120, SoundLoop.WHITE_NOISE, 0.4f, null).
			addVoice(new BinauralBeatVoice(7.83f, 7.83f, 0.6f)).
			addVoice(new BinauralBeatVoice(7.83f, 7.83f, 0.4f)).
			addVoice(new BinauralBeatVoice(10f, 10f, 0.4f)).
			setV(v)
			);

	return p;	
};

`

would become some kind of listview of Periods where the user can add/remove period, reorder them and for each period set the type of background sound, volume and voices and for each voice frequency start,end and volume and enter a title and description for the program

Timer to start sound

I would like to set a timer to play the sound in the middle of the night. I am on an android device. How can I do this?

Eliminate loading on app startup

It looks like with the preset builder branch, we're getting a long loading prompt when the app is started. It doesn't really makes sense since all the preset data is local on the phone. I tried with a fresh Nexus 5X emulator and it took 84seconds for the app to start!
This should be instant as it used to be since all the default preset and history created preset are local on the phone.

Dark theme

I love the new design, but I'll love more if there was an option to use a dark theme.

Clickable History

On the history page, clicking it should open the same dialog as when selecting the preset on the home page. see picture:
image

No duplication of code, this should calling the existing dialog code in BBeat.java.

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.