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 Tue 21 Oct 2014, 11:43
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 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
666philb


Joined: 07 Feb 2010
Posts: 1771
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=93998
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: 1285
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: 1285
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: 455
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: 801

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: 1285
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: 1771
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=93998
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: 455
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   584 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:   Sort by:   
Page 2 of 3 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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