Welcome to the MIDI Sprout forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - sam

Pages: 1 2 [3] 4 5 ... 13
Development / Re: Help programming 328-PU series
« on: February 28, 2018, 11:30:23 AM »
The Sprout does not have the bootloader pre-installed, you can program the chip on the Sprout using an ICSP programmer (or an arduino-as-isp).

Some of the Sprout kits have an arduino bootloader, but that's cause i manually flashed them.


Questions / Re: Setup and Usage of MIDI Sprout
« on: February 25, 2018, 04:28:24 PM »
Hi Carol.  Sounds like the USB MIDI cable isn't setup correctly What type of USB MIDI cable are you using?  In MIDI Monitor any USB midi device should show up in the Sources --> MIDI Sources listing.  The Sprout has a MIDI Out which should connect to your computer MIDI In port. 

Questions / Re: 555
« on: February 16, 2018, 01:30:20 PM »
In order to accomplish your goal, i believe you will need to edit the code and identify the specific conductivity and change states which you consider to be a 'yes' or 'no'.  The 555 timer itself will not give you the simple yes/no data you are looking for.   I don't believe that you will be able to 'hear' the plant changes just from the output of the 555, perhaps you could change the 100k resistor to a potentiometer, that will give a different sensitivity level. 


Questions / Re: Anyone willing to share MIDI files?
« on: February 12, 2018, 08:18:49 PM »
Hello iamian, sure i'd be happy to share some raw data.  Please find linked here some MIDI from a session on the sckuylkill river banks here in Philadelphia.

Questions / Re: MidiSprout with Mininova Midi issue?
« on: February 12, 2018, 08:11:34 PM »
Hey Adrian!  The MIDI Sprout sends MIDI note data on Channel 1 and MIDI CC 80 , you might be getting the error due to the MIDI CC hitting the novation. 

I can admit that i've sent more than one bad byte over MIDI during the arch of this project, and it aint' hard to mess up a low voltage 33,250 baud signal... but I doubt your sprout is sending bad data.  Most likely it is sending 'too much' data, the sprout is 5 note polyphonic and has the wiggly CV so that is probably pissing off the mono novation.

Questions / Re: Old Synthe ?
« on: February 12, 2018, 08:07:48 PM »
The Sprout should work with ANY general MIDI compatible device.  Your Clavinova or Plaggero should both work just fine.  After looking at the instructions for both digital pianos, it is actually a big pain in the ass to get the MIDI input to respond to the correct channels (its all setup for drum machine input on the Clav and takes many keystrokes to change). 

Please make sure the MIDI cable is going into your Keyboard MIDI INPUT port, if there is a lightshow on the MIDI Sprout then you should have MIDI data pouring out to your keyboard.

No they are not too old, but it looks like they are hard to configure for MIDI input.

Questions / Re: 555
« on: February 12, 2018, 08:03:54 PM »
If you want to use the raw data from the 555 timer (set as astable multivibrator) you will want to put a small inline current protection resistor (<1k) from pin 3 output and then drive either an opamp or a transistor amplifier in order to drive a speaker.  I have used this method and the result with plants is a buzzing sound.  This method works great with humans squeezing apples, as variations in skin pressure make audio tones!  The plant data might not be knowable/understandable directly through the speaker for a human listener, although there will be a distinct tone with some warbles.  It is a great experiment, and I very much hope you try out the circuit with a 'raw' output!

I use high speed pulse width measurements (using an AVR microcontroller) and detect changes in the length of those pulses. That way I am able to extract data from a stream of high frequency pulse data and produce MIDI notes based on width fluctuations, and those notes are humanly recognizable.

There is a large misconception with how this device measures 'frequency' and 'vibration' and 'plant music'.  The frequency is represented by the sample rate (how often the computer checks the pulse), the frequency used to measure changes is in the 1kHz - 100kHz range.  The notes are triggered when there are multiple changes, those changes happen at the microsecond level and occur in bursts hundreds of times per second, they are not perceivable to human senses.

Please, build the circuit.  Attach it to plants.  Let me know how it goes!


Questions / Re: USB midi not responding
« on: February 12, 2018, 07:51:26 PM »
I use the EMU 1x1 USB MIDI device, which has been rock solid for me (perhaps with a usb extension cable for strain relief)

Unless you mean actually going to Best Buy, who offers the UM1 MIDI interface, i don't have it but i'm sure it works.

Questions / Re: Sensor size
« on: February 12, 2018, 07:47:46 PM »
Hello Rathwulf, you can always purchase a sprout or biodata kit from me at https://squareup.com/store/electricityforprogress , or perhaps the dudes are still selling their units with the iOS cables.  But i think you will need to buy online, unsure if there is anywhere besides myself and Commend in NYC who has any stock.

If you are attaching to thin leaves, i would recommend either cutting down the electrode pads or you could purchase these clamps (w/ 3.5mm plug and which need routine cleaning). The gel electrode pads used are sticky but minimally damage the plant, i've had trodes on one of my snake plants for a year, it grows under them.

Questions / Re: MidiSprout controlling 8channel Switch Relay
« on: January 24, 2018, 09:27:27 PM »
Well, after reviewing your code it all looks fine to me.  But i think that you may have cut out too much of the functioning code while removing the LED parts.  Whenever you modify an existing codebase or circuit, i very much recommend sticking with as much of the original design as possible, that way debugging can be very easy.

That is why i gave suggested pin numbers in my last post, you can avoid conflicting pins and still have the debugging/visual feedback from the LEDs. 

I think you will need to change the serial baud rate and add some debug statements to see where your code is not working.  Your relay statements look like they are all in the correct places, but there might be something that is going wrong now that there is no light show and also no MIDI data output.  The LED array is used for a few functions (like the Control Voltage output mod on controlLED) and that is likely the bug why you are not seeing the desired outcomes.  Perhaps comment out checkControl() from the main loop and setControl() in analyzeSample

Or... I'd suggest that if you added the LEDs and changed to the digital control pins i suggested, that way you get both points of feedback during your debugging and setup.  you can always turn off the led light show by setting noteLEDs = 0 (could use a toggling button or a switch polled in the main loop)

One more important thing to note here ... it seems ridiculously dangerous to attach mains voltage relays to a plant ;)  or worse yet to a human.  You will need to be extremely careful with your circuit! The magnetic relays are optically isolated on your board, and that is very good (i think you know what you are doing).  But i just didn't want to underemphasize to others who might see this project, it is very danger to deal with mains voltages!

Questions / Re: MidiSprout controlling 8channel Switch Relay
« on: January 20, 2018, 09:19:15 PM »
Send me a link to your code and I'd be happy to help.  This should be a fairly easy modification with the right digital pins.

Questions / Re: USB midi not responding
« on: January 16, 2018, 09:18:04 PM »
Alinta, what type of midi-usb cable do you have?  the cheap intefaces do not work with the Sprout (nor many MIDI devices).  I have written a couple posts about this topic on the forum, the cheapest ones just don't have the parts inside of them. Even an old casio or other keyboard should be able to give you instant results .

MIDI is the hardest part for most users of this device, as the user is expected to create and amplify sounds.  It does take a bit of work and money to get a computer based MIDI music synthesis system setup.  There are a vast number of MIDI to USB interfaces , but depending on where you are located yes $100 is a high pricen for that emu unit.  An electronic musician might spend a large amount on a high quality and versatile MIDI interface.

Questions / Re: MidiSprout controlling 8channel Switch Relay
« on: January 10, 2018, 12:14:12 PM »
Hello Julio, yes that is a great idea to control a set of relays with the sprout.  How much programming experience do you have, and is this your first electronics project?  Your modifications are very doable, but it will take a bit of solder and code!

1.) what type of relay board are you using?  Many relay boards for arduino have 8 individual digital input pins, some use SPI/I2C, and others can use Serial to trigger the relays.   I think we have 8 digital pins available on the sprout, so even the most basic or diy relay setup should be able to be 'wired' to the sprout.

2.) You can easily modify the code to turn a relay on when a note is triggered and off when an note is updated. 
   a. First you should increase the note polyphony from 5 to 8 (to match your relays). 
   b. Second, In setNote() add  some code to turn on the relay digitalWrite(relayPin[ i ],HIGH);  where relayPin[] is an array containing the pin number for each of the relay inputs and "i" is the currently available 'note' of the 8 available from polyphony
   c. Third, in checkNote() add some code to turn off the relay when the note is expired digitalWrite(relayPin[ i ],LOW);

This method will have the relays mirror the notes and durations as they turn on and off.

Good luck!  please post some more info of your build!


Questions / Re: USB midi not responding
« on: December 26, 2017, 09:55:59 AM »
Most MIDI adapters will work, it is the lower end units which do not adhere to optical isolated MIDI standard which do not work.  This topic has been covered in detail in a few other posts on the forum, I use an EMU MIDI to USB cable


Questions / Re: Midi Monitor not responding
« on: December 20, 2017, 10:34:57 PM »
Hello Stacy.  We have lots of videos and posts on the forum which should be able to give you an idea of what it takes to use the MIDI Sprout.  I recommend you go through all the posts (there aren't too many), look at the youtube page, and see what I have said to other users.

In summary, if you have never used MIDI before or do not have any synthesizer experience then that's going to be the hardest part for you.  The sprout itself is easy - attach the trodes, plug it, in turn the knob.  But then you need to know what to do with the 5 note polyphonic MIDI data and have the equipment to generate sounds

Pages: 1 2 [3] 4 5 ... 13