Wednesday, December 10, 2014

Arduino Danger Shield Synth DIY, chip driver



/*
This example code is in the public domain.
Freaky Steve Danger shield chip driver noise synth
*/
int val = 0;
int val12 = 1;
int sensorValue = 30;  // variable to store the value coming from the sensor
int sensorValue1 = 30;  // variable to store the value coming from the sensor
int sensorValue2 = 30;  // variable to store the value coming from the slider
int sensorValue3 = 30;  // variable to store the value coming from the photo resist
static char out = 255;
static int t = 255;
static int i = 0;
int count = 0;
ISR(TIMER1_OVF_vect){
//The timer overflows at 62.5 KHz.
//Algorithmic symphonies calls for 8khz
// Throw a counter in there to slow things down.
// It is also fun to play with the counter :-)
//http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html
if(count < sensorValue1){
count++;
return;
}else{
count = 0;
}
/** The best so far */
out = (char)(((sensorValue1>>6|t|t>>(t>>3))*10+((t>>11)&7))|(t)*(t>>14)|(t)*(t>>9))
^(sensorValue*(t/16) |(t%13) | (sensorValue1%15))
^(sensorValue2*(t/8));
OCR1A = out;
t++;
}
// Configures TIMER1 to fast PWM non inverted mode.
// Prescaler set to 1, which means that timer overflows
// every 16MHz/256 = 62.5KHz
void initPWM(void)
{
pinMode(9, OUTPUT);
// 8-bit Fast PWM – non inverted PWM
TCCR1A= _BV(COM1A1) | _BV(WGM10);
// Start timer without prescaler
TCCR1B = _BV(CS10) | _BV(WGM12);
// Enable overflow interrupt for OCR1A
TIMSK1 = _BV(TOIE1);
}
void setup() {
initPWM();
int val = 0;
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
//  ******** switch pins
pinMode(12, INPUT);
pinMode(11, INPUT);
pinMode(10, INPUT);
//  ******** switch pins
pinMode(8, OUTPUT);
pinMode(7, OUTPUT);
pinMode(6, OUTPUT);
pinMode(5, OUTPUT);
pinMode(3, OUTPUT);
pinMode(0, OUTPUT);
pinMode(2, OUTPUT);
pinMode(1, OUTPUT);
digitalWrite(1,HIGH);
digitalWrite(2,HIGH);
digitalWrite(3,HIGH);
//  ***  serial in
digitalWrite(4,HIGH);
//  *** serial in
digitalWrite(5,HIGH);
digitalWrite(6,HIGH);
//  *** latch d7
digitalWrite(7,HIGH);
//  *** clock d8
digitalWrite(8,HIGH);
//  ******** switch pins
digitalRead(10);
digitalRead(11);
digitalRead(12);
//  ******** switch pins
digitalWrite(13,HIGH);
}
void loop() {
initPWM();
delay(10);
val = analogRead(4);
// read the value from the sensor:
sensorValue = map(analogRead(0),0,1023,0,1023);
sensorValue1 = map(analogRead(1),0,1023,1,1023);
sensorValue2 = map(analogRead(2),0,1023,1,1023);
sensorValue3 = map(analogRead(3),0,1023,1,1023);
do{
digitalWrite(3, HIGH);   // set the LED on
delay(sensorValue1);              // wait for a second
digitalWrite(3, LOW);    // set the LED off
delay(sensorValue2);              // wait for a second
digitalWrite(1, HIGH);   // set the LED on
delay(sensorValue3);              // wait for a second
digitalWrite(1, LOW);    // set the LED off
delay(sensorValue2);              // wait for a second
sensorValue = map(analogRead(0),0,1023,1,1023);
sensorValue1 = map(analogRead(1),0,1023,1,1023);
sensorValue2 = map(analogRead(2),0,1023,1,1023);
val = digitalRead(12);
do{
tone(3, sensorValue,sensorValue2);
// set the LED off
delay(sensorValue2);              // wait for a second
sensorValue = map(analogRead(0),0,1023,1,1023);
sensorValue1 = map(analogRead(1),0,1023,1,1023);
sensorValue2 = map(analogRead(2),0,1023,1,1023);
} while (sensorValue1>1000);
//
} while (sensorValue>1000);
//
digitalWrite(3, HIGH);   // set the LED on
delay(100);              // wait for a second
digitalWrite(3, LOW);    // set the LED off
delay(100);              // wait for a second
}

Thursday, November 20, 2014

Proletariat

proletariat

[proh-li-tair-ee-uh t]

noun
1.
the class of wage earners, especially those who earn their living by manual labor or who are dependent for support on daily or casual employment; the working class.
2.
(in Marxist theory) the class of workers, especially industrial wage earners, who do not possess capital or property and must sell their labor to survive.
3.
the lowest or poorest class of people, possessing no property, especially in ancient Rome.

Monday, January 6, 2014

Ϣi†ch Ӊ⊙uşe CÅLL 4 ▲ℜ♰ ART SHOW (Call for Art)


Art based on the music genre “Witch House”  Seeking painting, print, film, music,  sculpture & installation pieces.   @ The Blue Orange Art Gallery 5464 Gravois, St. Louis MO 
email submissions with the subject “witch house” to blueorangegallery@gmail.com
please use one email message and keep replying to that same email if you have to add more files, or have questions.
this keeps all of your info easily in one place for us to work with
there will be a $20 fee and no commissions on any sales that happen opening night,  if your work is not picked up the day after the event we will keep your art but will take a 30% commission
make sure you have your info on each piece in this format so we can just cut and paste the info for tags
“Name of Piece”
By (Artist name)
dimensions, media
price
for example:
“Witch House Piece”
I. M. Witch
24″ X 24″, oil on canvas
$666
we have on site printing capabilities , we can even set something up to be printed the night of the show„, it makes a nice feature to the show
we can provide high quality Giclee’ prints
5464 Gravois is the address of the new gallery

Wednesday, February 22, 2012

1-800-569-1599

Screen Printing: T-shirts, Golf Shirts, Sweatshirts, Jackets, Hats, Mouspads, Can Cooler, & More

Ad Specialtiey: Embroidery, Balloons, Buttons, Pencils & Pens, Totebags, Plastic Cups, Fans, & More

Signs & Banners, Vinyl Signs, Bumper Stickers, Vinyl Banners, Magnetics, Site Signs & More

email:

screenburstart@sbcglobal.net

Screenburst Graphics

Custom Silk Screening in Historic Soulard

1308 Ann Avenue St. Louis, MO 63104

Phone 314-771-3799 Fax 314-771-3722

1-800-569-1599
Custom Union printed, American Made T-shirts & promotional items for your Business, Group, Campaign, Fundraising Event, Not for Profit, Non-Profit, or local

Monday, May 16, 2011

Creative Revolution Manifesto

We are the end all be all, gonna set you free all, knowing
revealers of the new will
and you will all sit still
for the rise of the proletariat
Poet laureate
Judas Iscariot
God's of the chariot,
wait, strike that, reverse it, rehearse it, chapter and verse it,
this is a revolution of body mind and spirit,
shout till they hear it
Truth , Love, and Art
and affairs of the heart
Original Creative Thought, is the most valuable resource on the planet
I am hereby giving up my egocentric individualism for the good of the whole of those know

STL Proletariat music on soundcloud

Latest tracks by Freaky Steve

performing live may 25th 2011 at "The Crack Fox" St. Louis MO