Zensound

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#16 Post by 666philb »

hi vovchik

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

666phib
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
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#17 Post by vovchik »

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/pe ... 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/pe ... ash-r3.pet.

That's about it.

With kind regards,
vovchik

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#18 Post by jpeps »

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 :) )

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#19 Post by vovchik »

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

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#20 Post by jpeps »

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" :) )

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#21 Post by Galbi »

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: Select all

#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.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#22 Post by jpeps »

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: Select all

#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

DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#23 Post by DPUP5520 »

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.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#24 Post by vovchik »

Dear galbi,

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

Code: Select all

#!/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

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#25 Post by jpeps »

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

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

#26 Post by 666philb »

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/pe ... 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/pe ... ash-r3.pet.

That's about it.

With kind regards,
vovchik

cheers vovchik... got it working now
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
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#27 Post by Galbi »

:oops: 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.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#28 Post by jpeps »

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: Select all

 #!/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
Attachments
delta.png
(13.66 KiB) Downloaded 808 times

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#29 Post by jpeps »

Hi vovchik,

In your next version, you might consider adding a sbagen link in /usr/local/bin. Thanks

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#30 Post by jpeps »

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.

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

#31 Post by Lobster »

Have fun and, perhaps, find enlightenment...
I need all the help I can get . . . :)
I ran the Einstein sequence and now am going for meditation/Epsilon in Slacko rc++
Good job. Works well.

I find (personally) one of the best is the
Schumann resonance

Interestingly (slightly off topic) UFO abductees tend to be
susceptible to power cables (sets off visions)

. . . as for enlightenment. I find chanting or music
can elevate or otherwise change mood very efficiently :)

What I really need is a sequence that entrains
ones brain to another dimension or time line . . . :wink:
http://tmxxine.tumblr.com/

Many thanks Vovchik 8)

Puppy Linux
Free your Mind . . . or lose it completely . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#32 Post by Puppyt »

Cheers Vovchik - this works straight off the bat with pemasus' dPup Exprimo 5.X.15. Nice surprise! I have been using Lobster's Puppy sbagen on this setup for ages (worked fab), but after a recent glitch in my pupsave I opted to find what else has been happening in the binaural beats field. Just found this - dunno how I never saw it earlier. Big Thanks :-)
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...

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

#33 Post by Puppyt »

vovchik wrote: I am working on version 0.2c, which will allow for user-supplied sequences... vovchik
Hallo vovchick! I am about to re-enter an intensive study period and thought I might revisit the possibility of using binaural beats to assist my grey matter. I found your pet in Puppus Dogfellow's repository http://www.murga-linux.com/puppy/viewto ... 760#730760, and found to my delight that it worked OOTB in TahrPup64 with the 32-bit compatibility pet added. Cheers!

Then I did a quick squiz at the latest evidence-based research on the use of binaural beats - these recent peer-reviewed papers appear positive, and I'm especially interested in some learning effects described therein:
1. Hommel, B., Sellaro, R., Fischer, R., Borg, S., & Colzato, L. S. (2016). High-Frequency Binaural Beats Increase Cognitive Flexibility: Evidence from Dual-Task Crosstalk. Frontiers in Psychology, 7. https://doi.org/10.3389/fpsyg.2016.01287
2. McConnell, P. A., Froeliger, B., Garland, E. L., Ives, J. C., & Sforzo, G. A. (2014). Auditory driving of the autonomic nervous system: Listening to theta-frequency binaural beats post-exercise increases parasympathetic activation and sympathetic withdrawal. Frontiers in Psychology, 5. https://doi.org/10.3389/fpsyg.2014.01248
3. Reedijk, S. A., Bolders, A., Colzato, L. S., & Hommel, B. (2015). Eliminating the Attentional Blink through Binaural Beats: A Case for Tailored Cognitive Enhancement. Frontiers in Psychiatry, 6. https://doi.org/10.3389/fpsyt.2015.00082
4. Reedijk, S. A., Bolders, A., & Hommel, B. (2013). The impact of binaural beats on creativity. Frontiers in Human Neuroscience, 7. https://doi.org/10.3389/fnhum.2013.00786
5. Ross, B., Miyazaki, T., Thompson, J., Jamali, S., & Fujioka, T. (2014). Human cortical responses to slow and fast binaural beats reveal multiple mechanisms of binaural hearing. Journal of Neurophysiology, 112(8 ), 1871–1884. https://doi.org/10.1152/jn.00224.2014
6. Young, C.-W., Tsai, C.-Y., Zheng, S.-R., Wang, L.-P., Chen, H.-W., & Ay, C. (2014). Investigate the effect of eeg for relaxation using binaural beats. Yilan, Taiwan: 7th ISMAB. Retrieved from http://www.brainisohertz.it/p/nuovi
7. Zampi, D. D. (2016). Efficacy of Theta Binaural Beats for the Treatment of Chronic Pain. Alternative Therapies in Health and Medicine, 22(1), 32–38.

...so back I went to the SBaGen database (http://sbagendb.gusari.org/) to check out any theta- focused .sbg file submissions for playback and inclusion in my learning environment. I found that while I can download the sbg files offered and open them as text to see the working innards, I am unable to get Zensound to "see" the new files and I have to 'gut' (comment out) examples of your splendid collection to paste in the new code. Writing to ask whether you have inklings to include the feature I quoted from the ancient history of this thread,
With Best Wishes
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...

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#34 Post by backi »

Hi Puppyt !

Thanks for your interesting tips and references . :D

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

#35 Post by 666philb »

with the help of OscarTalks there's now a 64bit version of zensound.
https://distro.ibiblio.org/puppylinux/p ... x86_64.pet
it should work in most 64bit pups or extract and manual install for dogs
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

Post Reply