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
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
Hotel Management System Restaurant Version 5.25
Azizi search engine script PHP 4.1.10
PHP MLM Software 2.0.1
Spider(rader) Chart for Multi Data 1.0
Simple Radar_system_simulation 1.0
The Spherical K-means algorithm 1.0
AJ Matrix v2.6
Personal Web Portal 5.0
Chessgra 1.1
Keno Game 1.I
VChess 6.x-1.x-dev
Killer Guestbook Script 1.1
RLS Algorithm Demo 1.0
Doctor Appointment Booking Script 1.0.1
DeltaRule 1.0
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
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
Invoice Manager by PHPJabbers 3.0
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
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: 123
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: 123



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