Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 04:51
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Zensound
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [32 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
666philb


Joined: 07 Feb 2010
Posts: 1943
Location: wales

PostPosted: Fri 07 Oct 2011, 12:52    Post subject:  

hi vovchik

can you explain this to me and what i'm supposed to do. ....?
Quote:
It requires thunor's revised gtkdialog4 (can be a symlink) and a recent gtkdialog-splash symlinked to yaf-splash.


cheers

666phib

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Fri 07 Oct 2011, 13:15    Post subject:  

Dear 666philb,

You need a very recent gtkdialog linked as gtkdialog4. Here is a pet that might work for you (if you have a recent puppy): http://distro.ibiblio.org/puppylinux/pet_packages-slacko/gtkdialog4-0.8.0-i486-s.pet. It should also make the symlink.

You also need 01micko's recent yaf-splash replacement (gtkdialog-splash), which needs to be symlinked to yaf-splash. The installer will do this for you, most probably. The file is here: http://distro.ibiblio.org/puppylinux/pet_packages-slacko/gtkdialog-splash-r3.pet.

That's about it.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 07 Oct 2011, 15:07    Post subject:  

Nice job packaging this, vovchik. Maybe this is the gui that Jim never got around to creating. I may try this out in a clinical setting, say with stroke, chronic pain victims (hope I don't get sued..then again seems much more sane then EMDR Smile )
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Fri 07 Oct 2011, 15:32    Post subject:  

Dear jpeps,

I am working on version 0.2c, which will allow for user-supplied sequences. I have also collected some 120 additional public domain sequences, many in the medical realm (constipation, menstrual pain, cancer, headaches, vision impairment, pain mitigation, sinus congestion etc,). These sequences will be in the next version, too. I hope they will be of use to you.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 07 Oct 2011, 16:04    Post subject:  

vovchik wrote:
Dear jpeps,

I am working on version 0.2c, which will allow for user-supplied sequences. I have also collected some 120 additional public domain sequences, many in the medical realm (constipation, menstrual pain, cancer, headaches, vision impairment, pain mitigation, sinus congestion etc,). These sequences will be in the next version, too. I hope they will be of use to you.

With kind regards,
vovchik


Great! Be sure to include one for making money in the stock market (I fell asleep listening to "Multiple Orgasms" Smile )
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 514
Location: Bs.As. - Argentina.

PostPosted: Fri 07 Oct 2011, 19:49    Post subject:  

Since my bed is far away from the Puppy Box, I´d like to save the output to a mp3 file. Is that possible?
I´ve tried (and works) to do:
Code:
#sbagen -o myfile

and generates a raw file (a huge one) with the sound redirected to the file.
What am I supposed to do with that file?
Perhaps coding it to mp3 with ffmpeg?
Any advise?

Thanks in advance.

Galbi.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 07 Oct 2011, 22:28    Post subject:  

Galbi wrote:
Since my bed is far away from the Puppy Box, I´d like to save the output to a mp3 file. Is that possible?
I´ve tried (and works) to do:
Code:
#sbagen -o myfile

and generates a raw file (a huge one) with the sound redirected to the file.
What am I supposed to do with that file?
Perhaps coding it to mp3 with ffmpeg?
Any advise?

Thanks in advance.

Galbi.


try: sbagen -Wo out.wav myfile.sbg

then: ffmpeg -i out.wav out.mp3
Back to top
View user's profile Send private message 
DPUP5520

Joined: 16 Feb 2011
Posts: 802

PostPosted: Sat 08 Oct 2011, 00:06    Post subject:  

The problem with using mp3 versions of binural beats is that a bit of quality is lost when the files are compressed and you don't get the full effect. If you read the doser people's site they claim that there is not much quality loss but if you are sensitive to the stimulation you can really tell. It's always best to use them in either their sbg format or in an uncompressed wav format.
_________________
PupRescue 2.5
Puppy Crypt 528
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Sat 08 Oct 2011, 03:18    Post subject:  

Dear galbi,

If you want to convert an entire directory of *.sbg files to mp3, you can try this script:

Code:
#!/bin/sh
for f in *.sbg; do
   n=`basename $f .sbg`;
   echo "converting brain wave: $f => $n.mp3";
   sbagen -L 00:10:00 -o $n.wav $f
   lame -r -x -m d $n.wav $n.mp3
   rm $n.wav ; ls -l $n.mp3 ; echo
done


This will create a slew of 10-minute mp3s. Change the "sbagen 00:10:00" line to the time you prefer, or add an argument and get rid of the loop for processing individual files. If you open the sbg file with a text editor, you will see a "Duration" field with the recommended time. The script makes use of lame, which you may not have on your machine. If not, use ffmpeg, as recommended by jpeps.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sat 08 Oct 2011, 04:21    Post subject:  

I needed "-W" to create a playable wav. Regarding quality, they're all just a few boring mid frequency tones out of phase. The only interesting aspects occur within the listener's brain. Very zen
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1943
Location: wales

PostPosted: Sat 08 Oct 2011, 08:57    Post subject:  

vovchik wrote:
Dear 666philb,

You need a very recent gtkdialog linked as gtkdialog4. Here is a pet that might work for you (if you have a recent puppy): http://distro.ibiblio.org/puppylinux/pet_packages-slacko/gtkdialog4-0.8.0-i486-s.pet. It should also make the symlink.

You also need 01micko's recent yaf-splash replacement (gtkdialog-splash), which needs to be symlinked to yaf-splash. The installer will do this for you, most probably. The file is here: http://distro.ibiblio.org/puppylinux/pet_packages-slacko/gtkdialog-splash-r3.pet.

That's about it.

With kind regards,
vovchik



cheers vovchik... got it working now

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 514
Location: Bs.As. - Argentina.

PostPosted: Sat 08 Oct 2011, 10:04    Post subject:  

Embarassed Sorry for posting without having read the whole sbagen help.
Later I saw the -W parameter and ffmpeg coded the mp3.
Thanks vovchik and jpeps for your quick answer.

Galbi.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 09 Oct 2011, 06:00    Post subject:  

Here's a script to play your favorite either by clicking on it to toggle on/off, or from the terminal with time option in minutes: eg, "delta 10" You can edit the PCM volume and file path. It restores the old PCM setting when you toggle it off.

note: drop a copy or link of sbagen in $PATH (eg, /usr/local/bin/), or add "/usr/local/zensound/bin/sbagen" to script.

edit: my favorite is ts-delta set at very low volume PCM 2

Code:

 #!/bin/sh

## Plays sbg by CLI with timer or toggles from ROX icon.
## Edit file location and desired volume 
## USEAGE: delta [minutes]

## set directory of file and desired PCM volume
SBG="/usr/local/zensound/data/snd/ts-brain-delta.sbg"
VOL="2"

[ "$1" ] && export var="$1"
STATE="$(pidof sbagen)"

## Store  old PCM settings
if  [ -f /tmp/pcm ]; then
     OLD="$(cat /tmp/pcm)"
else
      OLD="$(amixer scontents | sed -n '/PCM/,/Simple/p' | grep -m1 "\[on" |awk '{print $4}')"
      echo "$OLD" >/tmp/pcm
fi

function stop() {
     kill -9  `pidof sbagen` 2>/dev/null
     amixer -q set 'PCM' "$OLD"
}
export -f stop
function start() {
     amixer -q set 'PCM' "$VOL" 
     sbagen -Q  "$SBG" &
}
export -f start
function timer() {
        i="0"
       
        while ((i < ${tm})); do
           sleep 1
           i="$((i + 1 ))"
        done
        stop
}
export -f timer
   tm="$((var*60))"  ## convert minutes into seconds
   echo "time: ${tm} seconds"

if [ $STATE ]; then
     stop
else
     start
     [ "$1" ] &&  timer
fi
delta.png
 Description   
 Filesize   13.66 KB
 Viewed   588 Time(s)

delta.png

Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 09 Oct 2011, 17:14    Post subject:  

Hi vovchik,

In your next version, you might consider adding a sbagen link in /usr/local/bin. Thanks
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 09 Oct 2011, 22:09    Post subject:  

Entraining Tones and Binaural Beats - by Dave Siever

The Binaural Beat Industry

"Since the 1980s, the Monroe Institute has popularized binaural beats under the trade name of “Hemisync.” Another group has used the term “Holosync” and other groups have invented their own terms. These groups have sold hundreds of thousands of tapes and CDs over the years. This has also prompted dozens of other uninformed groups to manufacture binaural beat CDs and MP3s for all kinds of applications (depression, insomnia, stress, anxiety, cognitive improvements, etc). Some producers have even made up entire fake studies. Most of these companies are marketing binaural beats under the false pretence of generating entrainment. Binaural beats cannot generate entrainment because, as two steady tones, they do NOT impact the thalamus. Monaural beats, however, do impact the thalamus, and therefore the cortex, because they are in beat form before they strike the ear drum"

http://www.mindalive.com/articleeleven.htm

The link contains a number of studies that generally are un-supportive.
However, there are a number of significant results using isochronic beats (monaural) that DO involve entrainment (ie, impact the thalamus). Playing binaural sound files through speakers are in fact monaural..since the beats are created outside the brain and thus impact the thalamus.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [32 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0894s ][ Queries: 12 (0.0042s) ][ GZIP on ]