Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Aqua Data Studio 19.5
ConyEdit for Windows 1.1.1
GetOrgChart 2.5.3.0
Database Workbench Pro 5.6.0
.Net VCL for Delphi 1.0.0.0
Top Code
MCU 8051 IDE 1.4.7
C/C++ GRAPHICAL LIBRARY NE 1.0
Faculty Evaluation System 1.1
HTML Color Parser 0.1
PHP Product Order Form 1.0
PHP MLM Software 2.0.1
Restaurant Table Booking System 2.0
Cuckoo Search (CS) Algorithm 1.0
jClientUpload 1.0
Online Food Ordeing System 1.0
Simulation of MUSIC (DOA ESTIMATION) - GUI 1.0
Azizi search engine script PHP 4.1.10
MLM Binary Plan Script – i-Netsolution 1.0.2
Cuckoo Optimization Algorithm 1.0
Ant Colony Optimization (ACO) 1.0
Top Rated
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
Simple White Noise Generator Using Standard Python In Linu x.
File ID: 64129






Simple White Noise Generator Using Standard Python In Linu x.
Download Simple White Noise Generator Using Standard Python In Linu x.http://code.activestate.com/recipes/578101-colours-inside-text-mode-python/Report Error Link
License: Freeware
Downloads: 122
Submit Rating:
Simple White Noise Generator Using Standard Python In Linu x. Description
Description: Simple White Noise Generator Using Standard Python In Linux - noise.py

This code is a stand alone program to generate a signal, at the earphone sockets, of white noise.

It needs /dev/dsp to work; if you haven't got it then install oss-compat from your distro's repository.
(NOTE:- /dev/audio could also be used but I decided to use /dev/dsp to show that this was within easy
reach of standard Python too.)

Ensure the audio system is NOT in use for this to work and all the levels are set up for your normal requirements.
In my case root level WAS NOT required but that does not mean that root level IS NOT required - so be aware.

All that is required to make this a piece of audio test equipment is a cable plugged into to the earphone
socket. The output level is fully controllable inside the code and the noise is generated in about 10 second
bursts

Assuming it is copied into the module(s) drawer just type:-

>>> import noise[RETURN/ENTER]

And away you go...

This is Public Domain and you may do with it as you like.

Read the program for more information.
(There will be more to come in the future... :)

Enjoy finding simple solutions to often very difficult problems... ;o)

73...

Bazza, G0LCU...

Team AMIGA...

License: Freeware

Related: Audio, Demo, Generator, Linux, Noise, Program, Signal, Sound, Source

O/S:Windows

Downloads: 122



More Similar Code

Simple 1KHz Audio Function Generator Using Standard Python In Linux - afg.py

This code is a stand alone program to generate a signal, at the earphone sockets, of 1KHz.
It is a basic audio signal generator and can be used as a starter test signal source for amateur electronics
enthusiasts testgear suite(s).

It needs /dev/audio to work; if you haven't got it then install oss-compat from your distro's...



A very simple random integer generator using rand().
[just for educational purpose ;) !!]



A Linux DEMO to show how to display a waveform using standard text mode Python.
The audio device /dev/dsp is used and must be available. Levels are set using the
standard audio mixers.

Just feed a signal of say 300Hz to 3KHz,...



AudioScope.py

I think this might be a first for both Python.

Initially uploaded to LXF, now also here under the MIT licence.

I am building a kids level seismometer and wanted to use standard Python inside Linux.



I needed a simple standard Python analogue and digital display along with an overload beep when used as a
basic voltmeter.

Analogue readout, for quick glance.
Digital readout, for better accuracy.
Beep, to warn me of...



Simple Java Framework Generator is a project where database reads the one structure (tables, columns, foreign key, primary key) and mounts objects in Java using Hibernate with Annotation, Struts (Validation, Internationalization), Jsp with Jstl...



The white noise is a combination of all frecuencies.
The program generate white noise using randn and create a group of filters for the musical notes.
The melody is introduced in a matrix



Arduino-Linux2x.py

This is a simple Python example of accessing a(n) Arduino Diecimila Board using Standard Python 2.x.x.

This code requires NO PySerial to work, just standard Linux(/Unix?) commands and a Standard Python...



Creating and Using Custom Attributes in C# is a web based tutorial in which the author gives you the method for definining your own attributes in C#. Attributes are declared for the methods and properties of the class. The author gives you the...



Using Forms Authentication in ASP.NET is a web based tutorial which concentrates on .NET form authentication which validates the web form of the visitors with the help of .NET form authentication providers. Users can gain knowledge about basics of...

User Review for Simple White Noise Generator Using Standard Python In Linu
- required fields
     

Please enter text on the image