114 Apr 2, 2012 7:12 pm
Re: 4bit synth opensource project (32 replies, posted in Other Hardware)
Preorder?
New Order.
115 Apr 2, 2012 5:20 pm
Re: 4bit synth opensource project (32 replies, posted in Other Hardware)
oh and I'm gonna add LAZERZ. pewpewpepwpewpew
116 Apr 2, 2012 4:51 pm
Topic: 4bit synth opensource project (32 replies, posted in Other Hardware)
So I've been working on a synth on and off for the last 2 years. It's finally starting to take shape and once I finish sourcing parts and figuring out the audio opamp/output circuit and interface I'll be releasing it.
Thought I'd share my progress so far:
It's a 4bit synth that doesn't use a static sample rate frequency to generate the synthesis sound- therefor it doesn't have the usual artifacts from low sample-rate dsp so that no aliasing is generated, and no anti-aliasing algorithm is needed.
Originally built on the Arduino- I moved it to the ARM-based Leaflabs Maple to take advantage of the faster clock for higher pitches.
It currently has 3 synthesis types:
1. 32 step wave synth with digital filter (kind of like the LSDJ wav synth)
2. 128 step PWM synth
3. 256 step LFSR noise generator (like a gameboy or NES noise- only the pitched noise is in tune)
All modes have a sub oscillator & oscillator sync to give it some extra tonal quality. I really liked the idea of a LFSR noise generator with oscillator sync.
I'm just about done with main synthesis code and am about to start on an interface. Been thinking about using a 4dsystems tiny tiny OLED display module and a single pushbutton/encoder knob, as well as 4bit sample playback and storage using a micro sd reader.
Here is the demo of it I recorded this weekend, be sure to download the original waveform- soundcloud/mp3 conversion added artifacts. http://soundcloud.com/trash80/codename-sqrt-synth-test
\o/
117 Apr 1, 2012 5:34 pm
Re: Arduinoboy mGB mode LED question (6 replies, posted in Nintendo Handhelds)
If the lights flash to incoming midi data than the sparkfun shield's midi circuit is working. Also how did you change the pin numbers for the gameboy data pins in the code? It is all done by sending data directly to the port so I'd imagine you'd have to do quite a bit in a few places ie ... from:
if(send_byte & 0x80) {
PORTC = B00000010;
PORTC = B00000011;
} else {
PORTC = B00000000;
PORTC = B00000001;
}
to this:
if(send_byte & 0x80) {
PORTC = B00001000;
PORTC = B00001100;
} else {
PORTC = B00000000;
PORTC = B00000100;
}
Have you tried having it plugged into usb just for power and still use the MIDI input?
118 Mar 30, 2012 5:25 pm
Re: arduino boy - lsdj master sync problem (5 replies, posted in Nintendo Handhelds)
No. Arduinoboy sends a note # that corresponds to the row # you started on when the clock starts (when you hit start) on MIDI channel 16. I should of had that as a option and not always on, for dumb devices that respond to all MIDI channels. You can comment out that code or remove that code, it's 3 lines in the "Mode_LSDJ_MasterSync" tab when you open up the arduinoboy code in the arduino software. At the bottom of the file you'll see this:
/*
sendMidiClockSlaveFromLSDJ waits for 8 clock bits from LSDJ,
sends the transport start command if sequencer hasnt started yet,
sends the midi clock tick, and sends a note value that corrisponds to
LSDJ's row number on start (LSDJ only sends this once when it starts)
*/
void sendMidiClockSlaveFromLSDJ()
{
if(!countGbClockTicks) { //If we hit 8 bits
if(!sequencerStarted) { //If the sequencer hasnt started
Serial.write((0x90+memory[MEM_LSDJMASTER_MIDI_CH])); //Send the midi channel byte
Serial.write(readGbSerialIn); //Send the row value as a note
Serial.write(0x7F); //Send a velocity 127
Serial.write(0xFA); //send MIDI transport start message
sequencerStart(); //call the global sequencer start function
}
Serial.write(0xF8); //Send the MIDI Clock Tick
countGbClockTicks=0; //Reset the bit counter
readGbSerialIn = 0x00; //Reset our serial read value
updateVisualSync();
}
countGbClockTicks++; //Increment the bit counter
if(countGbClockTicks==8) countGbClockTicks=0;
}
change it to this:
/*
sendMidiClockSlaveFromLSDJ waits for 8 clock bits from LSDJ,
sends the transport start command if sequencer hasnt started yet,
sends the midi clock tick, and sends a note value that corrisponds to
LSDJ's row number on start (LSDJ only sends this once when it starts)
*/
void sendMidiClockSlaveFromLSDJ()
{
if(!countGbClockTicks) { //If we hit 8 bits
if(!sequencerStarted) { //If the sequencer hasnt started
Serial.write(0xFA); //send MIDI transport start message
sequencerStart(); //call the global sequencer start function
}
Serial.write(0xF8); //Send the MIDI Clock Tick
countGbClockTicks=0; //Reset the bit counter
readGbSerialIn = 0x00; //Reset our serial read value
updateVisualSync();
}
countGbClockTicks++; //Increment the bit counter
if(countGbClockTicks==8) countGbClockTicks=0;
}
As far as battery vs usb vs wallwart, that shouldn't matter, as long as the battery or wallwart is supplying enough power.
119 Mar 29, 2012 11:55 pm
Topic: Chipmusic.org System Downtime... (7 replies, posted in Rules & Announcements)
Server maintenance will occur durring these hours:
Start: Friday, March 30, 2012 5:00am EDT
End: Friday, March 30, 2012 7:00am EDT
We are expected to have intermittent MYSQL connection issues durring these hours while they perform a upgrade.
Thanks and have a wonderful life.
120 Mar 26, 2012 5:09 pm
Re: Chip Music App (solved) (51 replies, posted in Bugs and Requests)
Now this app looks interesting! Also a forum interface would be good, since reading stuff up on an iPhone browser, for example, is rather annoying.
one of those things I want to get to, is redoing our css, and adding mobile css support in the process.
121 Mar 26, 2012 4:59 pm
Re: Chip Music App (solved) (51 replies, posted in Bugs and Requests)
Also, if you are restricted to the rss feed's xml data, maybe I should provide a better xml output exclusively for your app. Say with more data such as rating and/or comments and/or api so the user can add to their online bookmarks and such.
122 Mar 26, 2012 4:53 pm
Re: Chip Music App (solved) (51 replies, posted in Bugs and Requests)
If the app is free, I have no problem using our icon and bandwidth.
123 Mar 19, 2012 3:45 am
Re: ArduinoBoy Sheild ("ShieldBoy") (37 replies, posted in Nintendo Handhelds)
Try swapping the lines on the midi out? Think thats a typo on my schematics. Shit is confuse to remember and get right.
124 Mar 12, 2012 7:11 pm
Re: Blip 2012 Wishlist: THE FANFICTION TO END ALL FANFICTIONS (195 replies, posted in General Discussion)
Skrillex
125 Mar 6, 2012 6:39 pm
Re: MIDI-USB adaptor (234 replies, posted in Nintendo Handhelds)
trash80 wrote:I can hear small amounts of fuckup with the pitchbends though, which goes into what I was saying. Ableton sends shit like 45 45 45 45 45 45 45 ... 46 46 46 46 46 46 46 46 .... 47 47 47 47 47 47 47 47 ... [...] as oppose to just those changed values once. hehe.
Does it do this even when you use the pencil? I Mean, if there's a straight line with no changes, does it still send out the same message over and over?
Nope. It's just because you are drawing a floating point line across values of a 7 or 14bit resolution. So rounded down it would take 14.124 14.125 into 14 14. etc.
126 Mar 6, 2012 6:38 pm
Re: MIDI-USB adaptor (234 replies, posted in Nintendo Handhelds)
Clearly not, if you hear the audio I posted of the same project: http://kikencorp.com/stuff/mGB_test_01_Rendered.mp3 (jump to 0:59 for the fun)
HAHAHA, its drunk!
127 Mar 6, 2012 6:34 pm
Re: MIDI-USB adaptor (234 replies, posted in Nintendo Handhelds)
I can hear small amounts of fuckup with the pitchbends though, which goes into what I was saying. Ableton sends shit like 45 45 45 45 45 45 45 ... 46 46 46 46 46 46 46 46 .... 47 47 47 47 47 47 47 47 ... [...] as oppose to just those changed values once. hehe.
128 Mar 6, 2012 6:32 pm
Re: MIDI-USB adaptor (234 replies, posted in Nintendo Handhelds)
I saw the video, this demonstrates arduinoboy works fine, as I expected. Thanks for that.
Oh nice, so the problem isnt with mGB?
Yeah, it takes a bit of editing to make slow pitch bends sound right, I have a max4live effect I use to help filter data. Maybe I should publish it here soon.