electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Online Music
PHOBoS - Phormium Tingles
Post new topic   Reply to topic
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
PHOBoS



Joined: Jan 14, 2010
Posts: 4813
Location: Moon Base
Audio files: 647

PostPosted: Fri Jan 03, 2020 7:21 pm    Post subject: PHOBoS - Phormium Tingles
Subject description: Improvisational noodle, recorded Jan 3, 2020
Reply with quote  Mark this post and the followings unread

Ohm...


high quality version available at bandcamp.


Phormium Tingles - Cover art.jpg
 Description:
 Filesize:  1.42 MB
 Viewed:  71 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

Phormium Tingles - Cover art.jpg



PHOBoS - Phormium Tingles (Jan 03, 2020).mp3
 Description:
PHOBoS - Phormium Tingles (Jan 03, 2020)

Download
 Filename:  PHOBoS - Phormium Tingles (Jan 03, 2020).mp3
 Filesize:  30 MB
 Downloaded:  174 Time(s)


_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
PHOBoS



Joined: Jan 14, 2010
Posts: 4813
Location: Moon Base
Audio files: 647

PostPosted: Sat Jan 04, 2020 10:47 am    Post subject: Reply with quote  Mark this post and the followings unread

some extra info:
The main pad sounds were created with a Proteus2000 controlled by an arduino through midi.
The code for it isn't very complex (nor is it optimized as it was just an experiment) and here's what it does.

First a semi-random sequence is created with notes from a scale, in this case I used C, D, E, F, G, A, A#.
The sequence is 16 measures long and each measure has a duration of 4. The notes can have a length of
1,2,3 or 4 and this length is also picked at random when creating the sequence (and stored as a seperate
sequence). However, with each measure having a duration of 4 this is not entirely random. For example if
the length of the first note happens to be 3 than there can only be one note added to the measure with a
length of 1. If it is 2 than it could be another note with a length of 2 or 2 notes with a length of 1 so the
total length will always be 4.

After the sequence is created it is played back and looped untill a button is pressed and then a new sequence
is created. For Phormium Tingles it is just the same sequence repeating. When it is played back notes are
shifted up or down 1 octave (or not) at random to have a bit of variation. Also at the start of each measure
a bass note is generated (with a length of 4). These bass notes also play the same sequence, but slower, and
are shifted down 2 octaves. (yay, fractals)

and here's some crappy code:

Code:
// ----------------------------------------------------------------------------------------------------------------------------------
//                    C,  D,  E,  F,  G,  A,  A#, C,  D,  E,  F,  G
  byte notearray[] = {60, 62, 64, 65, 67, 69, 70, 60, 62, 64, 65, 67}
  byte note_sequence[64];
  byte time_sequence[64];
  byte note = 0;
  byte bnote = 0;
  byte seq_length = 0;
  byte notes_left = 4;
  byte measure = 0;

// ----------------------------------------------------------------------------------------------------------------------------------
// create sequence:
    while (measure <= 15) {

// repeat untill a measure is filled (notes_left == 0)
      byte rnd_note = random(0, 12);
      note_sequence[seq_length] = notearray[rnd_note];
      byte rnd_length = random(1, (notes_left+1));
      time_sequence[seq_length] = rnd_length;
      seq_length++;
      notes_left = notes_left - rnd_length;
      if (notes_left == 0) {
        notes_left = 4;
        measure++;
      }
    }

// ----------------------------------------------------------------------------------------------------------------------------------
// play and repeat the sequence untill the reset button is pressed
  while (digitalRead(buttR_pin) == 1) {
    notes_left = 4;
    measure = 0;

    for (byte nootje=0; nootje<seq_length; nootje++) {
      note = (note_sequence[nootje] + 12 - (12 * random(0,3)));
     
      if (notes_left == 4) {
        bnote = (note_sequence[measure] - 24);
        MIDI.sendNoteOn(bnote, 127, 1);
      }
     
      MIDI.sendNoteOn(note, 127, 1);
      delay(5000*time_sequence[nootje]);
      notes_left = notes_left - time_sequence[nootje];

      if (notes_left == 0) {
        MIDI.sendNoteOff(bnote,  0, 1);
        notes_left = 4;
        measure++;
      }
      MIDI.sendNoteOff(note,  0, 1);

      if (digitalRead(buttR_pin) == 0) {
        break;
      }
    }
  }
  delay(1000);
 
  while (digitalRead(buttR_pin) == 0) {
    delay(25);
  }

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ajp



Joined: Nov 20, 2019
Posts: 12
Location: New York

PostPosted: Tue Jan 28, 2020 11:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Definitely tingly; really enjoyed that.

I like this type of gentle aleatoric composition as well. Everything makes perfect musical sense, but you're never sure how it's going to go. An endless, but logical progression....
Back to top
View user's profile Send private message Visit poster's website
PHOBoS



Joined: Jan 14, 2010
Posts: 4813
Location: Moon Base
Audio files: 647

PostPosted: Thu Jan 30, 2020 12:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Very Happy thanks, glad you enjoyed it.

Yeah aleatoric music is interesting, the tricky part to me is having some randomness but still keep it musical. Full on random can be useful but doesn't sound
very musical by itself. Limiting the amount of notes already helps but can still sound somewhat too chaotic, although it works great together with something
that repeats, the brain usually likes some repetition. For this 'experiment' in particular my initial goal was just to have something that creates a sequence at
the press of button. I wanted some variation in note lengths but again total randomness can quickly sound less melodical so I limited that to some degree.
Originally I had it running much faster and it was more obvious, with the long drawn out and layered notes it becomes a bit less noticable.

I had another idea yesterday which I tested and seems to work but I need to mess around with the code a bit more. so stay tuned!



you might also like Winter Voetjes and Golden Rings & Cloudy Shores.

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Online Music
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use