I would look at using elapsedmillis (or elapsedmicros if that's not accurate enough) to measure the interval between clock bytes coming down the pipe. Then wait that number / 2 (also using...
Type: Posts; User: drjohn
I would look at using elapsedmillis (or elapsedmicros if that's not accurate enough) to measure the interval between clock bytes coming down the pipe. Then wait that number / 2 (also using...
In my experience (small Buchla-type PCB keyboards) the circuit is the most important bit. I ended up with a large groundplane on the bottom layer below the keys to stabilize/shield a bit. I do...
There is a classic trip-up where audio reads and analog reads happening simultaneously require careful pin choices to end up on different ADCs. This is addressed in the link above, and also:...
Sometimes you just want it done with many nice features that you could never code yourself. That sorted out, now you can actually work on which files you want to play, the UI, etc.
If this is...
Do look into EEPROM Put(); https://www.arduino.cc/en/Tutorial/LibraryExamples/EEPROMPut It only writes when the value would be changed, which helps with EEPROM endurance. Also note that...
OK, I missed the switches and LEDs PDF in your first post, so this is just a drawbar reading solution. If you use a large Teensy, you can omit an external chip and just cycle through pulling one of...
3.5, 3.6, and 4.1 all have enough pins to directly read out 8 rows / 20 columns AND 2X Serial ins to do MIDI merging from the two keyboards if you desire. 3.6 and 4.1 can USB host.
A decade...
Did the AudioPlaySdRawResampled library fit the bill? I'm about to start on a similar polyphonic journey.
Reviewing the last "useful things not in the standard audio library" bit from my saved...
Culling through what I can remember, for it is a common topic: for monophonic sample playing FrankB mentioned you could precisely change the overall Teensy speed. I don’t remember seeing any code for...
Temps Utile, clocky cousin of the Ornament and Crime Temps-Utile
Doepfer has some DIY boards that are similar to the LIVID boards, if you want to skip ahead a bit. Like this one.
An op-amp could add gain, buffer, and protect the Teensy.
Well, there is this from 1010 music: https://1010music.com/product/euroshield1
Also the Ornament and Crime Module is crazy popular, among other Teensy based modules. Things have progressed since...
The Polaron has a pretty similar framework (3.6, uses native DACs). Nothing wrong with its kicks. You might check out the gain staging in your product vs. the Polaron:...
Great project! Is this obligatory 3.6 or could I squeak by with a 3.5, perhaps with overclocking?
The slide pot IS the divider: at the middle there'd be 5K above and below the wiper.
Having the pull-up on would add a third resistor and make it less than linear. that might be desirable in...
Having tried to make pinball machine flippers with many speeds and torques of servo and failing, I feel a solenoid is likely the right path for percussion. They offer impressive speed and power, and...
Good points, Oddson. Additionally...Although I didn't try too many cards, speed is dependent on type of card...in the words of Paul, from https://forum.pjrc.com/threads/25557-polyphonic-audio-sampler
This may be pedantic, but...I'd use the SD card slot on the 2.5 rather than the one on the audio shield because it has a wider/faster interface to the SD card, decreasing latency and increasing...
Since you have a Teensy 3.6, it can act as host. You might need a cable: https://www.pjrc.com/store/cable_usb_host_t36.html and the pins.
This example code may help: ...
Since you hit AudioMemoryUsageMax = 4 on the second screenshot, I'd up the allocation, since there's ample memory:
// Always allocate memory for the audio shield!
AudioMemory(8);
Since you...
http://www.hobbytronics.co.uk/usb-host-mini is another; mentioning it as a cheaper, smaller, and more plug-and-play option than the above shield.
By my recollection the Teensy 3.2 could play 3-4 samples from an SD card simultaneously before getting crackly about three years ago (caveats include very dependent on type of card, not using the...
David-
I'd be interested to know more about it. Are the general MIDI instruments from a chip like the VS1053 or SAM2195? Do you have any details on the synthesis engine? I'm all in favor of...
Sparx: Not sure if it's a quite a Vox, but the "Transistor Orgel" part of the PropString build at the same site sounds pretty funky.
http://bolltone.de/Projekte/PropString/PropStringUS.html
...
Explodey- I'm not an Ableton guy at all, but if you are having trouble with your note off messages you should be aware that there are two kinds: The official note off message and the sneaky "same...
The stand alone audio board and the prop shield are great, but...I'd love it if there was a board that had support infrastructure for all manner of audio projects, whether they be CV based, stomp...
Video of Audio Library and board course, with materials: https://forum.pjrc.com/threads/31591-Audio-Library-Tutorial
Very slick, pretty comprehensive, and demystified a lot of things for me. Thanks!
For those wanting more examples of granular synthesis in a finished (and IMHO rad) product:
http://www.bastl-instruments.com/instruments/microgranny/
Oh look, there is well commented code! Not...
Can't wait to play with this! Eight seconds or so of sound to repeat/modulate is going to be great.
I can infer what the six identical chips are. Is there a parts list somewhere indicating what...
OK, having gotten that out of the way...these are the steps I would take.
For the USB in...you are going to need a little hardware to handle that MIDI in, for example: ...
Hi. If you are trying to make a 5 pin ("DIN") synth talk to the iPad, I honestly don't know why you are not at least trying one of these, even with the varied successes reported with iOS in the...
There is general concern about loops of wire having induced currents from the ever changing magnetic field. It's also a pretty heavy RF environment. You can't help the loops that are on the PCB, but...
It sounds like a fun project, but...It's still a little unclear what you want to do.
Are trying to make a recording of a whole drumming performance for playback? (combine them into one wav file)...
Well, if you don't want to DIY or wait for Mayhew to get them in stock, you can pick up these Cadillac models for $30 or so: ALPS Fader motorized RSAON11M9 touch sensitive 10K linear slide...
You are right, that page does not mention clock. It can be a little confusing with THREE official arduino MIDI library versions, all kinds of hacked versions out there, and USB thrown in the mix.
...
OK you are in the right place, BUT have to clarify a bit your exact layout and what you want it to do if you want specific help. Also at least give us a little source code (see message IN RED...
The "it depends" answer: it depends on what effects you want to use and how many tracks you will be treating. Mono/stereo/bitrate play some role, too. SD card quality is an annoying confounder.
...
If you are going to go through all the effort to start audio events with precision timing, you would be revered if you added hooks for sending MIDI events as well. It's not a lot of data: you have...
A heartfelt thanks for the corrections, Nantonos! The residual skeletons from the "everything" version are now mostly exorcised. I have revised the code in the initial message to an actual working...
Never found them. I would throw arbitrary files names in there, but my head infers short with the S suffix'd one and medium length with the M.
One change was needed to get it to make a peep:
if (SD.begin(10)) {
waves[6]->play("A3.wav"); // there was no waves [7]
waves[5]->play("C3.wav"); // single sounds can be...
There are the two files referenced in the sd_speed_test.ino example that I can't seem to find...but maybe I'm not looking hard enough?:
File f1 = SD.open("01_16S.WAV");
File f2 =...
I'm building a sample player, mostly for classic Mellotron samples ( http://en.wikipedia.org/wiki/Mellotron ). USB (and eventually serial) MIDI note on and note off messages play (and stop playing)...
If you can modify the code using the regular softwareserial library to work (as detailed here: https://www.atlas-scientific.com/_files/code/Arduino-sample-code-EZ-COM.pdf ) I am not sure what else...
http://forum.pjrc.com/threads/24537-Footsy-Teensy-2-based-MIDI-foot-pedal-controller
says he mostly used Cunningham's code from Github
wha-bam: https://github.com/unsymbol/teensy-midi
Disclaimer: I am only familiar with the site in relation to sound generation, but noted some discussion of Arduino servo library shortcomings and some higher level PPM and timer discussions. Being...
I'm not versed in OctoWS2811-fu, but since (as stated at the bidoulle link) the pattern repeats every 12 pi seconds, it seems that computing 12 pi seconds worth of frames out on your computer of...
Instead of reinventing the keyboard, interposing a teensy between a keyboard and the computer as a PS2 Dvorak to USB keyboard translator might be easier, particularly if you get a keyboard with...