Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: blakeAlbion

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Good heavens! It works.

    Good heavens!
    It works.
  2. Awesome, thank you. I'll give it a try.

    Awesome, thank you. I'll give it a try.
  3. ...What I'm implying is I want it to act like a...

    ...What I'm implying is I want it to act like a sampler that can pull in samples from SD at runtime without hard-coding any samples as constants or as resources that get loaded in on setup().
  4. Teensy-Based Sampler: "dynamic" Memory Allocation?

    I have a Teensy with some extra RAM soldered on. I can play a modest amount of uncompressed WAV samples I load from SD.

    This is a multitimbral sampler and I want to be able to switch samples...
  5. Awesome. THAT's where I saw it. Happy Friday.

    Awesome. THAT's where I saw it. Happy Friday.
  6. Can I host 2 PT8211 boards on a single Teensy 4.0?

    Hello,

    Can I host 2 PT8211 boards on a single Teensy 4.0 using Audio Library for 2 x Stereo outputs?

    I thought I read this somewhere but cannot find it today. Is it possible? If there's...
  7. Replies
    1
    Views
    158

    Protosupplies shows the LC as

    Protosupplies shows the LC as
    <100mA typical @ 48MHz

    I can work with that!
  8. Replies
    1
    Views
    158

    General Question on Teensy Current

    I know the answer will be "it depends", nonetheless what's the nominal current consumption for a Teensy, say a Teensy LC running a simple program and not driving anything as current-consuming as an...
  9. Replies
    15
    Views
    350

    Thanks to all for the input! The resulting...

    Thanks to all for the input!

    The resulting code is as good as anyone's AFAIK. It can't be perfect.
  10. Replies
    15
    Views
    350

    Yes, I have a timer callback doing this void...

    Yes, I have a timer callback doing this

    void timer_handle_interrupts(int timer) {
    MIDI.read();
    if (CLOCK_RUNNING) {
    if (clockFuture > 0 && (micros() - clockFuture) >= CLOCK_LENGTH) {
    ...
  11. Replies
    15
    Views
    350

    The problem with.a slight lag is this is a...

    The problem with.a slight lag is this is a looping sequencer and it will never catch up. Device A plays a short loop, device B plays a short loop; either they line up perfectly or its unusable. So...
  12. Replies
    15
    Views
    350

    For 120BPM a square clock pulse could be around...

    For 120BPM a square clock pulse could be around 10ms at 48Hz. That just doesn't work in my tests. It needs to be narrower. But not too narrow. Sigh.
  13. Replies
    15
    Views
    350

    Based on experimentation and input from forums, a...

    Based on experimentation and input from forums, a few things have helped in small ways, and it adds up to a decent but not perfect solution.
    1) put the MIDI.read() on a Teensy timer and don't be...
  14. Replies
    15
    Views
    350

    I didn't make this clear enough, sorry. I can...

    I didn't make this clear enough, sorry. I can read MIDI clocks and run my CR-5000 if it's a basic drum pattern and the MIDI source is really just another drum machine doing nothing but putting out...
  15. Replies
    15
    Views
    350

    I have tried this a few different ways, but never...

    I have tried this a few different ways, but never with elapsedMicros(). It just does not work at all. The clock drops, and drops, and drops. I think it's because my test clock source generates a...
  16. Replies
    15
    Views
    350

    Wow! Thanks. I'll need to do some thinking and...

    Wow! Thanks. I'll need to do some thinking and tinkering.
    That's what I do!
  17. Replies
    15
    Views
    350

    Hah. Okay. There is no better way to do this.

    Hah. Okay. There is no better way to do this.
  18. The electronics for clock IN and OUT are simple,...

    The electronics for clock IN and OUT are simple, but not consistent.
    Generally you can expect a "TTL" level signal to work, meaning logical HIGH is close to 5V and LOW is close to ground.
    This...
  19. I added a timer. It was easy and FUN. Thankyou!

    I added a timer. It was easy and FUN. Thankyou!
  20. Replies
    15
    Views
    350

    I need this to work consistently if the tempo...

    I need this to work consistently if the tempo varies. I need it be handle stop-continue from my master MIDI sequencer. And as I said above, I can't use USB MIDI for this. I must work with legacy MIDI...
  21. Replies
    15
    Views
    350

    I wrote this in a hurry! What I mean more...

    I wrote this in a hurry!
    What I mean more specifically is, MIDI clock was designed to operate at 24PPQN.
    I need to drive my Roland CR-5000 drum machine at 24PPQN.

    I get a MIDI clock pulse, but...
  22. Replies
    15
    Views
    350

    MIDI clock to TTL clock 24ppq ?

    Hi! How it is done? How do I generate a locked, stable square wave at the same frequency as a stream of pulses coming from MIDI clock? Any references?
    Thanks
  23. (I used a 470F capacitor to quiet down an IC2...

    (I used a 470F capacitor to quiet down an IC2 OLED display.)
  24. Thanks MarkT. I have no problem dropping in the...

    Thanks MarkT. I have no problem dropping in the 100F capacitors. But how do I change the sample frequency? I am sampling in loop(), do I need to use a timer?
  25. Thanks all for the input, all! What I found was...

    Thanks all for the input, all! What I found was the clicking/buzzing was greatly attenuated by adjusting analogRead bit depth and resampling. I had resampling at 32 and setting that to 0 cut noise by...
  26. Thanks for some input! I looked up some...

    Thanks for some input! I looked up some contemporary op amps and read about ground noise, again.
    I'm no good at book learnin' but I finally had to put on my deformed, underdeveloped thinking cap...
  27. Replies
    7
    Views
    1,503

    mitigating audio noise from analogRead()

    Hey, just curious. Were there any steps taken to reduce the noise from analogRead()? I have 4 pots I read on loop(), and I have added a divider to cut the polling time down to a lower speed, but the...
  28. I have had similar noise problems using I2C for...

    I have had similar noise problems using I2C for OLED displays in my audio projects. But for that problem it was simply a matter of adding a hella-big capacitor right to the OLED board. This is not so...
  29. High gain audio amp picks up noise from analogRead ?

    I am using a Teensy 4.0 within an antique transistor-powered drum machine.
    It handles MIDI control and MIDI clock conversion very well. All was great until I wanted to add faders to the analog drum...
  30. I tried the seeeduino library and it does not...

    I tried the seeeduino library and it does not support xiao. But probably not impossible to get it working for someone with experience porting.
  31. Ho hum. I'll just use a Teensy. I like Teensies.

    Ho hum. I'll just use a Teensy. I like Teensies.
  32. Nope. Install, yes. Compile, no.

    Nope. Install, yes. Compile, no.
  33. Yup, I can install the fork as "Seeed Arduino...

    Yup, I can install the fork as "Seeed Arduino Audio".
  34. Looks like seeedstudio's fork is based on...

    Looks like seeedstudio's fork is based on Adafruit's fork and does support samd21 ?
    https://github.com/Seeed-Studio/Seeed_Arduino_Audio
  35. I too have a Xiao and wanted to know if it works...

    I too have a Xiao and wanted to know if it works with the Teensy Audio Library.
    In comparison to the Teensy, the Xiao is the equivalent of the Teensy LC, including a DAC port.
    So maybe it could...
  36. and the seeeduino wio

    and the seeeduino wio
  37. Adafruit forked it to work with the Metro boards....

    Adafruit forked it to work with the Metro boards. I think someone tried to make it work with the Due, and some other M0 boards.
    But AFAIK nobody has made an effort to _maintain_ these ports....
  38. OMG that is narsty. I'm going to assume I could...

    OMG that is narsty.
    I'm going to assume I could toggle a conventional LFO waveform if I wanted to?
  39. Sorry I never wrote back. Many distractions. I'm...

    Sorry I never wrote back. Many distractions. I'm going to revisit this soon, I think.
    I do not have a lot of free time at this point, so I will not try to use the AD5628 for audio, but it would be...
  40. Can I use (2) PT8211 audio boards on my Teensy 4?

    I'm looking for a way to get 4 channels of audio with Teensy Audio Library.
    I'm interested in the TDM solutions but I do not have the means of assembling a TDM pcb.

    Could I use two PT8211 boards...
  41. If I want to use digitalWriteFast(), do I need to...

    If I want to use digitalWriteFast(), do I need to use it with pinModeFast()?

    Thanks,
    Ben
  42. The PMOD interface is just wiring to the dac...

    The PMOD interface is just wiring to the dac chip. I did not make any effort to support the dac as an audio interface for the Teensy Audio Library. But now that I think about it, that would be fun. ...
  43. Replies
    4
    Views
    469

    This is part of a larger project using Teensy 4...

    This is part of a larger project using Teensy 4 and LC to control analog synthesizer circuits. The PAIA drum tone board provides the basic percussion sounds, and I am using the Teensy Audio Library...
  44. Replies
    4
    Views
    469

    LC documentation says, TPM0 - Controls PWM...

    LC documentation says,


    TPM0 - Controls PWM pins 6, 9, 10, 20, 22, 23. Used by AltSoftSerial library and PulsePosition library.
    TPM1 - Controls PWM pins 16, 17.
    TPM2 - Controls PWM pins 3, 4.
    ...
  45. Replies
    4
    Views
    469

    This uses the Audio Library on the DAC port. It...

    This uses the Audio Library on the DAC port.
    It uses a number of PWM pins and digital pins to control a PAIA drum tone board with vactrols added.

    const int numLeds = 6;
    int pwmLeds[numLeds] =...
  46. Replies
    4
    Views
    469

    here's the main INO file #include ...

    here's the main INO file


    #include <Audio.h>
    #include <MIDI.h>
    #include <SD.h>
    #include <SPI.h>
    #include <SerialFlash.h>
    #include <Wire.h>
  47. Replies
    4
    Views
    469

    Teensy LC + Audio Library + PWM?

    Hello All,

    tldr: Are some PWM pins timers mutually exclusive to the Teensy Audio Library on the LC?

    I can share some snippets when I get on my main laptop this afternoon.

    I wanted a...
  48. Replies
    9
    Views
    6,186

    Love this.

    Love this.
  49. Replies
    1,019
    Views
    94,174

    Congratulations, I saw the new Teensy MicroMod...

    Congratulations, I saw the new Teensy MicroMod board on SparkFun's website this morning. Being able to build a prototype using one processor and then swap out processors as an afterthought is kind of...
  50. Replies
    1
    Views
    582

    Uh, I guess my question is my answer. I'll solder...

    Uh, I guess my question is my answer. I'll solder my own grid. Then I will search the forum for demultiplexer solutions.
Results 1 to 50 of 172
Page 1 of 4 1 2 3 4