NP2Rnd - Random Session Generator for Neuro-Programmer 2


This program generates random sessions in XML format, which can be imported into Neuro-Programmer 2. The generated sessions use isochronic beats, and are audiostrobe-enabled. It is a Win32 console mode application, and should run on Windows 95/98/Me/2000/XP/Vista.


Copyright (c) 2007 Sam C. Lin ALL RIGHTS RESERVED

Use at your own risk.

Released under the GNU GPL version 2.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See the file COPYING for details of this license.

This program is beggarware. You may use it absolutely free. If you find it useful, you may make a small donation. Any donations you give are greatly appreciated, but absolutely not required.

Please send all bug reports and source code enhancements to


1) Download NP2Rnd executable files zip archive.
2) Unzip the files into a directory, and run the program from a MS-DOS Prompt.


Usage: NP2Rnd [options]
where options can be any mix of the following:
    --beatfreq:beatfreqmin:beatfreqmax (default: --beatfreq:9:41)
    --carrier:carriermin:carriermult -> carrier = carriermin + beatfreq * carriermult     (default: --carrier:40:2)
    --minutes:sessionlength (default: --minutes:30)
    --seglen:secondsmin:secondsmax (default: --seglen:1:5)

The output file is always called rnd.nps, and can be renamed prior to importing into NP2.

Import the file into NP2 via File->Import Session (.NPS File)...


-> use defaults. Generates a session that lasts 30 minutes. Each segment is of random length between 1-5 seconds. The beat frequency of each segment is randomly chosen between 9-41Hz, and the carrier frequency is 40 + 2*(beat frequency) Hz. This is equivalent to:
NP2Rnd --beatfreq:9:41 --carrier:40:2 --seglen:1:5 --minutes:30

NP2Rnd --beatfreq:9:22 --carrier:180:0 --seglen:10:15 --minutes:5
-> Total session length is 5 minutes. The beat frequency of each segment is randomly chosen between 9-22Hz, and the carrier frequency is fixed at 180Hz. The segments are of random length from 10-15 seconds.

If you want to change the name of the session that's displayed in NP2, open rnd.nps in a text editor, and change the text that's between the and tags.

Discuss this program and get help here: Transparentcorp Forum


20070206 - fixed bug, beatfreq parameter was being ignored. output was hardcoded to 9-40Hz
NP2Rnd V1.1 executable files
NP2Rnd V1.1 source code

NP2Rnd V1.0 executable files
NP2Rnd V1.0 source code

Copyright (c) 2007 Sam C. Lin