Sbagen Binaural beats for Linux!

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
duck1dong
Posts: 40
Joined: Mon 07 Feb 2011, 02:01
Location: Calgary Alberta

Sbagen Binaural beats for Linux!

#1 Post by duck1dong »

Engineer your own mood altering sounds!

A free way to overcome the obnoxious noise present in todays cities!
http://uazu.net/sbagen/#dl_src

Sbagen rocks!

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#2 Post by nooby »

Hey! You could have told us more about your own experiences.

When did you start using it and how long did it take to get some effects?

Here is how they explain it. http://uazu.net/sbagen/
The theory behind binaural beats is that if you apply slightly different frequency sine waves to each ear, a beating affect is created in the brain itself, due to the brain's internal wiring. If, in the presence of these tones, you relax and let your mind go, your mind will naturally synchronize with the beat frequency. In this way it is possible to tune the frequency of your brain waves to particular frequencies that you have selected, using of the four bands: Delta: deep sleep, Theta: dreaming and intuitive stuff, Alpha: awake, focussed inside, and Beta: awake, focussed outside.

It is also possible to produce mixtures of brain waves of different frequencies by mixing binaural tones, and in this way, with practice and experimentation, it is reportedly possible to achieve rather unusual states, such as out-of-body stuff, and more. See the books by Ken Eagle Feather, and the Monroe Institute site for more details. The Monroe Institute have apparently put 40 years of research into these techniques.
A kind of audio meditation relaxation high tech?

It is one thing to have subjective good feeling due to the vibes but do we really know it is for real or for make belief.

AFAIK all such cost incredibly high some of money. Do you mean that now they allow us to use it for free?

Which Puppy did you install it on?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#3 Post by 666philb »

duck1dong, i had a try at sbagen, but i'm not too good in the terminal, and it has no gui. did get a few sounds out though.. however i found this which may be similar, and it has a gui. and works...http://gnaural.sourceforge.net/
Last edited by 666philb on Sun 13 Feb 2011, 21:40, edited 1 time in total.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#4 Post by nooby »

Which puppy did you test it on? Did you have to make a pet or sfs or something or could it be uses as is?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#5 Post by 666philb »

were you asking me nooby?

if so,i tested it on lupu520 , i used the deb, and i had to install libportaudio from the ppm..... i've made a pet with gnaural and libportaudio. i also added a desktop file to make it appear n the menu under multimedia.
i can't really compare it to sbagen as i couldn't get much out af it, due to my limitation at the terminal.
here it is......
Attachments
gnaural.pet
(165.33 KiB) Downloaded 860 times
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#6 Post by nooby »

Thanks I try it out tormorrow I am so sleepy now its 1030PM so I would go into electronic music dreams if I sat down now.

One shall should listen with good earphones should one not to get the effect?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#7 Post by 666philb »

sorry nooby i've no idea, i was just trying to get sbagen to work for duck1dong, and found that similar app with a gui, you'll have to play around with it yourself and report. sbagens default sounds were nicer(the prog-chakras-1.sbg was really nice), that's all i know. didn't go into either very deeply.

666philb
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#8 Post by nooby »

Tnaks anyway. Would be cool to hear it and see if I can be okay meditating using these sounds but I am too lazy just now to try.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#9 Post by Lobster »

Image

compiled in Lucid and put a GUI front end on sbagen
Attachments
psganen.zip
(188.47 KiB) Downloaded 824 times
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#10 Post by nooby »

Thanks now I need to learn how to unzip. Just teasing. I guess it just works.

Are Snowpuppy too different or could I install it in that one or does it need to be lucid? Lupu511 or Lupu520?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#11 Post by Lobster »

:)

You might have to right click on the program
to change permissions
Just clicking on a zip will unzip it

I compiled it in 5.2
I should imagine it works in all the Lucids
and maybe other Puppys

If not use this info to compile was very easy
once you have the Puppy devx
http://www.khattam.info/howto-installin ... 06-09.html

I would have turned into a pet but after running
dir2pet a couple of times without success
I got fed up . . .

There are links to other binaural sites
The GUI program is like all my programs
simple enough for non programmers
Last edited by Lobster on Wed 28 Sep 2011, 09:36, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#12 Post by nooby »

okay I reboot into lupu520 and test it.

Jay that worked good in 520.

Do you have any idea why most of the examples are deep down in white noise? Are the brain supposed to make use of the noise as a way to not get distracted by attention to other sound from the house or room? Neighbors TV and such so the noise cancel out distractions?
This program does that play the same sounds as the very expensive commercial one and do they see this as a kind of cheating free ride thing?

I've not tested but do they go on forever if one just let it go or does some screen save shut it down after 30 minutes of no mouse or keyboard activity?

Anyway thanks indeed for helping me out.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#13 Post by 666philb »

Nicely done lobster, i'll have to study how you made the gui.

cheers

666philb
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#14 Post by 666philb »

i hope you don't mind lobster, but i made your sbagen into a pet,
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#15 Post by Lobster »

666philb wrote:Nicely done lobster, i'll have to study how you made the gui.
thanks for making the pet :)
666philb
A useful skill that I seem to have lost as the procedure has changed . . .

Don't underestimate the GUI technique I use
It was used in prototyping Psip VOIP and is used in Micks Quickpet

It took me a long time to understand that Linux has lots of very efficient command line programs. By stringing these together and calling their command line parameters you can do some very useful things.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#16 Post by Lobster »

Frying your brain with relaxing binaurality is also possible in Slacko Beta 5

Code: Select all

#! /bin/bash
# Psbagen (c) GNU GENERAL PUBLIC LICENSE
# Puppy Slacko version GUI created by Lobster Sept 28 2011
# added defaulttexteditor for source dode, 
# 
# http://uazu.net/sbagen/

##############
# The theory behind binaural beats 
# is that if you apply slightly different frequency 
# sine waves to each ear, a beating affect is created 
# in the brain itself, due to the brain's internal wiring. 
# If, in the presence of these tones, you relax and let your mind go, 
# your mind will naturally synchronize with the beat frequency. 
# In this way it is possible to tune the frequency of your brain waves 
# to particular frequencies that you have selected, 
# using of the four bands: Delta: deep sleep, 
# Theta: dreaming and intuitive stuff, Alpha: awake, 
# focussed inside, and Beta: awake, focussed outside. 
##############  

export Psbagen='
<window title="Psbagen v1.1" window-position="1">
<vbox>
 <menubar> 
  <menu>
   <menuitem>
         <label>~ Close Prev sound</label>
         <action>killall -KILL sbagen &</action>
    </menuitem>
    <menuitem>
         <label>Alpha Relaxation</label>
         <action>./sbagen basics/ts-brain-alpha.sbg &</action>
    </menuitem>
      <menuitem>
         <label>Beta Concentration</label>
         <action>./sbagen basics/ts-brain-beta.sbg &</action>
    </menuitem>
     <menuitem>
         <label>Delta Sleep</label>
         <action>./sbagen basics/ts-brain-delta.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Theta Meditation</label>
         <action>./sbagen basics/ts-brain-theta.sbg &</action>
    </menuitem> 
    <menuitem stock="gtk-quit">
         <action>echo You selected the quit menu item</action>
         <action type="exit">exit by menu</action>
    </menuitem>
      <label>Basic</label>
  </menu> 
  <menu>
   <menuitem>
         <label>~ Close Prev sound</label>
         <action>killall -KILL sbagen &</action>
    </menuitem>  
    <menuitem>
         <label>Schumann</label>
         <action>./sbagen -E -F 6000 basics/ch-schumann-cycle.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Inspiration</label>
         <action>./sbagen -E -F 6000 basics/ch-inspiration.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Awakened Mind</label>
         <action>./sbagen -E -F 6000 basics/ch-awakened-mind.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Purring</label>
         <action>./sbagen -E -F 6000 basics/ts-purring-cat.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Chakras</label>
         <action>./sbagen -E -F 6000 basics/prog-chakras-1.sbg &</action>
    </menuitem>
    <menuitem>
         <label>OBE</label>
         <action>./sbagen -E -F 6000 basics/ch-obe.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Aspirin</label>
         <action>./sbagen -E -F 6000 basics/ch-aspirin.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Runners High</label>
         <action>./sbagen -E -F 6000 basics/ch-runners-high.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Bells</label>
         <action>./sbagen -E -F 6000 basics/bells-3.sbg &</action>
    </menuitem>
        <menuitem>
         <label>Calm</label>
         <action>./sbagen -E -F 6000 basics/ts-calm.sbg &</action>
    </menuitem>
    <label>Sequences</label>
  </menu>
  <menu>
     <menuitem>
         <label>~ Close Prev sound</label>
         <action>killall -KILL sbagen &</action>
    </menuitem>  
     <menuitem>
         <label>Recharge</label>
         <action>./sbagen -E -F 6000 basics/ts-recharge.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Concentration</label>
         <action>./sbagen -E -F 6000 basics/ts1-concentration.sbg &</action>
    </menuitem>
      <menuitem>
         <label>Focus</label>
         <action>./sbagen -E -F 6000 basics/focus-27-b.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Wave</label>
         <action>./sbagen -E -F 6000 basics/wave-01.sbg &</action>
    </menuitem>
    <menuitem>
         <label>Einstein</label>
         <action>./sbagen -E -F 6000 basics/ch-einstein.sbg &</action>
    </menuitem>  
    <menuitem>
         <label>Caffiene</label>
         <action>./sbagen -E -F 6000 basics/ch-sonic-caffeine.sbg &</action>
    </menuitem>  
       <label>Focus</label>
  </menu> 
  <menu> 
    <menuitem>
         <label>Sbagen Website</label>
         <action>defaultbrowser http://uazu.net/sbagen/ &</action>
    </menuitem>
    <menuitem>
         <label>Binaural Beats Wikipedia</label>
         <action>defaultbrowser http://en.wikipedia.org/wiki/Binaural_beats &</action>
    </menuitem>
    <menuitem>
         <label>Compiling info used</label>
         <action>defaultbrowser http://www.khattam.info/howto-installing-sbagen-in-ubuntu-10-04-lucid-lynx-and-10-10-maverick-meerkat-2010-06-09.html &</action>
    </menuitem>
    <menuitem>
         <label>Audio Highs</label>
         <action>defaultbrowser http://gethighnow.com/audio-highs/ &</action>
    </menuitem>
    <menuitem>
         <label>Ambient Radio</label>
         <action>defaultbrowser http://www.internet-radio.org.uk/stations/ambient/ &</action>
    </menuitem>
    <menuitem>
         <label>Nature sounds</label>
         <action>defaultbrowser http://naturesoundsfor.me/ &</action>
    </menuitem>
    <menuitem>
         <action>defaulttexteditor psbagen1.1 &</action>
         <label>Edit source code</label>
         <action>exit</action>
    </menuitem>
  <label>Help</label>
  </menu>   
  </menubar>
 <frame>
       <pixmap>
         <input file>logo.jpg</input>
       </pixmap>
       <text><label>Puppy Sbagen</label></text>
       <text><label>Binaural Beat Generator</label></text>
       <text><label>Best effects = use headphones</label></text>
 </frame>
   <hbox>
        <button cancel></button>
   </hbox>
</vbox>
</window>'

gtkdialog3 --program Psbagen 
unset Psbagen
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

burek
Posts: 3
Joined: Sat 12 May 2012, 12:02

#17 Post by burek »

Here is a free database of sbg files (for SBaGen) with audio preview: http://sbagendb.gusari.org/.

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#18 Post by Puppyt »

duck1dong, Lobster, 666philb -
this is bloody brilliant! I've been using sbagen for a few weeks in XP (to cool my nerves whenever in that environment) and Lobster - your GUI is marvelous! I understand that a Windows GUI is work-in-progress for author Jim Peters, and I deal with console windows when running sbagen there. The additional features including 'convert *.sbg to 30min, 60min *.wav' are great in windoze - I'm forced to use it as I have a e740 PocketPC (winCE 2002), as sbagen ports only exist for winCE2003 onwards. Not needed here in puppydom I guess with available audio mixers and recorders, but I haven't explored that opportunity yet.

The console approach has spoiled me a little however - I can see the sbg file technical notes (contributors' names, rationale for design, playback data etc) that the Lobster GUI shields me from. Is there a possibility for a "shields down" option so those notes can be viewed during playback? Another "feature" of the consoles is that multiple *.sbg files can be played simultaneously (there are some really naff combos you can get with various tonal sequences when overlaying different files, as Jim Peters notes with his 'purring cat' discovery) - but I don't yet see how that can happen here. You've very kindly provided the script for your GUI, Lobster - I guess if I pulled my fingers out (of my ears) I could write it myself...

Using this now as I write in FATSlacko5.3.3 - no further dependencies required after downloading the pet here http://www.murga-linux.com/puppy/viewto ... 169#496169. Brain happily sizzling now,
Cheers!
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#19 Post by nooby »

Sorry, me being so stressed out that I fail to read every post.

Am I supposed to use Headphones and that it works less effective
over the speakers?

Thanks for that link.
I use Google Search on Puppy Forum
not an ideal solution though

burek
Posts: 3
Joined: Sat 12 May 2012, 12:02

#20 Post by burek »

nooby, yes, you neead headphones, because pulsing beats form in your brain, not in your ears, like with monaural beats. If you understand how BA beats work, it will be obvious why do you nead headphones:

Image

Both your ears get the different frequency, so those freqs "mix" in your brain, producing pulsing beats. And if you play it on your speakers, both freqs would just interfere already with each others and that "mixed" audio will get into both your ears, somehow distorted because of the different distances between each of your ears and each speaker.

P.S.
If you compress your audio, avoid using mp3, because it will distort your audio really noticeably. I've tested the results using aac+ (he-aac v2) audio codec and concluded that 320 kbps mp3 has more artifacts (distortions) than 48 kbps aac+. Just to be sure, I'm using 64 kbps aac+ (that is still 5 times less than mp3 with far better quality).

Quote from: http://en.wikipedia.org/wiki/High-Effic ... dio_Coding
Scientific testing by the European Broadcasting Union has indicated that HE-AAC at 48 kbit/s was ranked as "Excellent" quality using the MUSHRA scale.[8] MP3 in the same testing received a score less than half that of HE-AAC and was ranked "Poor" using the MUSHRA scale. Data from this testing also indicated that some individuals confused 48 kbit/s encoded material with an uncompressed original.
Shortly, aac+ is a great audio codec and it gets more and more popular, effectively replacing an old mp3 codec.

You can try with NeroAACEnc or you can use ffmpeg with libaacplus lib and pipe it to the output of sbagen, to produce really high quality audio.

Code: Select all

sbagen -WO <sbagen params> | ffmpeg -y -f wav -i - -acodec libaacplus -ab 64k -ac 2 -ar 44100 out.aac

Post Reply