Bulk Generation of KBS Sessions or Audio with SpectaStrobe
I have a Python script that generates 22 sessions for each frequency 8, 7, 6, 5, and 4 Hz for a total of 110 sessions. Its set up to either create 22 separate text files per frequency or combine all 22 sessions into one text file per frequency. Since creating just 5 sessions manually in the KBS editor takes about 30 minutes, I'm wondering if there's a way to bulk-create these sessions either using the KBS editor itself or some other software that can generate MP3 or WAV files with the spectrastrobe embedded?
Example of session parameters:
Budzynski 8 Hz Session 1
Total Time: 4851s (80.8 min)
Color: R93% G86% B100%
L&R Pitch: 155Hz
Waveform Settings for all segments:
SndWF: Sine
SndModWF: Sine
LgtModWF: Sine
L AMDpth: 50%
S AMDpth: 60%
Beat Line:
14.52 13.53 12.49 11.49 10.41 9.46 8.41 7.58 8.14 7.24 8.49 8.64 7.23 8.21 8.55 8.36 8.42 8.30 8.19 7.99
8.14 8.05 7.90 8.07 7.98 7.74 8.07 8.15 7.97 7.82 8.14 8.31 8.18 8.03 8.12 8.03 7.83 7.65 8.04
Segment Durations:
122 128 125 127 127 118 118 132 118 130 121 128 132 121 123 133 127 120 118 125
121 128 129 127 116 128 121 120 133 131 123 115 134 132 115 117 123 131 114
Time at 8.0 Hz: 2345s (39 min) (48.3%)
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Have you already made these sessions?
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
I've been working on this project for about a month and a half now. It started when I was talking with an AI about progressive muscle relaxation (PMR), box breathing, and the Kasina system. I discovered that my problems with reaching deep trance states were due to habituation—a key factor—and I hadn’t been entraining to the Alpha frequency over the long term.
As I explored different facets of AVS mechanisms through ongoing discussions, I gradually began developing protocols. I first started with 5 sessions per frequency 1 session to use over a full week. Later, based on AI input suggesting 10 sessions might be more effective, I decided to go even further and create 22. Back then, each session had fewer segments, so I could generate around 5 sessions in 15 minutes.
A few weeks ago, I decided to follow Budzynski’s protocol as closely as possible. Joe told me that one of the original sessions the AI gave me already aligned with Budzynski’s model. So I restructured my sessions and started creating new ones based on that format. At this point, I estimate I’m about 50% done with the updated content.
The problem now is that each time I realize there’s room for improvement, I need to recreate all 110 sessions. It takes a lot of time to do this manually, which is why I’d like to find a way to generate these sessions in batch to speed up the process.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
I'm not sure why, but a bunch of question mark icons appeared in the beat and time segments when I copied the output into this site's text window while writing the comment.
I?ve edited my original post to clear up any confusion those question marks made it seem like I wasn?t confident about the sessions, when in reality I?ve been steadily creating manually and entraining to them.
That said, if there?s a way to generate these kinds of sessions in batches, it would definitely make it easier to adjust the overall protocol parameters when needed.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
This forum is pretty old. It replaces non-ascii characters with "?". Even your reply has some, whenever you use a single apostrophe it looks like... My guess is that your keyboard is putting out "matching" quotes (angled) or something non-ascii.
Don't sweat it, I often go back and fix it manually.
There might be a way to convert your session info to the proper KBS format, I'd have to look into it. Can your python script create a CSV table?
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Quote:
Originally Posted by
Andy
There might be a way to convert your session info to the proper KBS format, I'd have to look into it. Can your python script create a CSV table?
Yes, now it can create TXT as well as CSV.
See attached zip with TXT and CSV in case they are needed.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Quote:
Originally Posted by
Andy
This forum is pretty old. It replaces non-ascii characters with "?". Even your reply has some, whenever you use a single apostrophe it looks like... My guess is that your keyboard is putting out "matching" quotes (angled) or something non-ascii.
Don't sweat it, I often go back and fix it manually.
There might be a way to convert your session info to the proper KBS format, I'd have to look into it. Can your python script create a CSV table?
Somehow I can't not see the attached zip file, in case it's not present. here is a download link.
https://pixeldrain.com/u/DBGNK7DW
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Earlier today, I developed new session protocols based on the Theta-Gamma sequence in preparation for completing the 6 Hz entrainment cycle in about 2.5 months. I don’t know if the CSV file creation will be done through the KBS editor, but it seems Python generated sessions with 250 segments. Do you know the maximum number of segments the KBS editor can handle?
https://pixeldrain.com/u/Q8xYFnXB
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
If a bulk import is going to be possible, you'll need modify your program to output the following:
1. Only write Ascii text. You have Unicode in there that's going to mess up any importer. (see image in link)
2. Make one CSV per session
3. Make the CSV so it has columns that match the columns in the Editor, with one row per Segment
https://www.dropbox.com/scl/fi/ub901...=0zmpacvd&dl=0
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
"If a bulk import is going to be possible, you'll need modify your program to output the following"
I think I have pulled it off. I was curious and tried to run in with KBS but I was unsuccessful.
https://pixeldrain.com/u/SWLkMvf9 .
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Sorry, to be clear, it's a new function I would have to add to the KBS editor. It's not able to import at the moment.
Looks much closer - can you make the CSV file Comma-separated rather than Tab-Separated?
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Quote:
Originally Posted by
Andy
can you make the CSV file Comma-separated rather than Tab-Separated?
Your script already writes comma-separated CSV files because it uses Python’s csv.writer with delimiter=','.
If you were seeing tab-separated files before, it was probably from the previous version where you manually joined columns with "\t".join(row).
I do not really see any difference between this new version and the one that I sent previously, although spaces like:L_ AMDpth are now L AMDpth.
Don't know if it's good now. You said the function needs to be added to KBS editor, in what time window will that be, would be done in let's say two months? Also, I suspect that the KBS editor was updated because I no longer get the glitches that we spoke about before. Glitches that cause random value alterations.
https://pixeldrain.com/u/MvXJMMg2
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
This looks good, I should be able to work with this. I don't have a timeline, but I expect it's something I'll be able to get to in the next few weeks. I'll need you to test it, so I'll upload a beta here once I have something.
Not sure what the latest version is that you're using, LMK - it should show the version # at the bottom right. The latest I believe is 3.2.0.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
I still need to create five more Theta 6 Hz sessions to complete the 6th series, so I’ll work on those later today. This marks the final day of the 8th series, meaning I can finally start the 7th series tomorrow. Based on the current pace, I expect to finish the 6th series in about 2.5 months. Otherwise, I will manually create the 5th series in a few weeks. I’m currently on V3.1.2, and while I might update it later, the glitch I mentioned earlier doesn’t appear in this version—just thought I’d let you know.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Cool. What "glitch" are you referring to?
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
I’ve just sent you an email in our ongoing thread, the same one where we discussed this bug back in 2021.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
I have three potential improvement suggestions, though I?m not sure how much additional effort they would require.
KBS editor:
I?m not sure if this is already planned, but it would be incredibly helpful if the KBS editor could be modified to batch-convert CSV files into KBS files, rather than having to load and export each file manually. Even being able to convert files one by one manually would save a lot of time compared to the current process. However, automating this in bulk would be far more efficient. If this feature existed, I could generate 70 unique sessions per frequency, allowing me to do two daily sessions for five weeks without repeating the same sessions during that period. I started with 22 files, doing them 3x per day. The files were shorter back then, but I learned that the brain/being needs time to reset & integrate the sessions. So I switched to 2 times per day, 16 sessions per frequency.
Kasina Software:
1. Play Mode Indicator
Currently, my training involves a video showing progressive muscle relaxation for over 20 minutes, immediately followed by box breathing. I started with 6-6-6-6 timing and transitioned to 9-9-13-13, lasting about 20 minutes. Followed by AVS 84+min. I created a blank file with a duration of 43:53 and organized separate folders for each session. Each folder contains the blank file first, followed by the actual AVS file. When I start the video, I press the Kasina?s right button to begin playing the first file. However, there?s no way to see on the Kasina screen which play mode is active. Sometimes I?m unsure if I pressed the middle or right button, causing the wrong play mode to start. (which throws a wrench in the practice, because the next session would not start)
It would be very helpful if the Kasina screen displayed the current play mode. That said, with the potential CSV to KBS conversion, I could create a blank space of 43:53 before the L&S part of the session.
2. Scrolling Through KBS Sessions
I?ve noticed it?s not possible to scroll forward or backward through a KBS session. In some situations, being able to navigate within the session would be very useful.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Sent you an e-mail. Have a peek when you get a chance.
Re: Bulk Generation of KBS Sessions or Audio with SpectaStrobe
Quote:
Originally Posted by
Andy
Sent you an e-mail. Have a peek when you get a chance.
Alright, thank you. I will check it out a.s.a.p