Search results

  1. C

    change I2S BCK ratio ?

    Oh man, ordered my PCM1802 a few weeks ago and it should arrive in the next couple days. You've probably saved me days of trouble shooting with this. thanks Paul.
  2. C

    Scale Volume (0-1) to Logarithmic Volume (0-1)

    You could use this fscale code. You can even adjust the curve with it.
  3. C

    Using the Teensy audio board as an effects loop bug

    This should probably be move to the 'Suggestions and Bug reports' section. I wasn't sure at first. So I tested this on teensy 3.2 and teensy 3.6 and they also have this issue. Here is an even more simplified example. #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h>...
  4. C

    Using the Teensy audio board as an effects loop bug

    I've been working on a project using the Teensy 4.0 and its audio board as an effects loops. I've recently run into a problem and spent the last week ruling out possible issues and boiled it down to what seems to be a bug in the audio library? Here's an example of how the effects loop would...
  5. C

    Teensy 4.1 noise when adjusting audio delay effects delay length.

    I did try setting up a timer and and only adjusting the delay time up to even every 10 ms. I also tried slowing the clock speed of the Teensy 4.1 and it seemed more noticeable. I think its just fundamentally not possible. I believe, It would actually have to move where its reading and writing...
  6. C

    Teensy 4.1 noise when adjusting audio delay effects delay length.

    In case anyone has similar questions in the future I found this thread.
  7. C

    Teensy 4.1 noise when adjusting audio delay effects delay length.

    I've been messing around with the Teensy 4.1 and the audio library and noticed when I play audio through a delay block and adjust the delay length it makes a crackling sound. Is this normal? Does this happen on the Teensy 3.6 as well? Here's the simplified code: #include <Audio.h> #include...
  8. C

    Teensy 4.1 and ShiftPWM library

    Hey Paul thanks for the clarification. I got it working, ended up being a soldering issue. But now I'm having another problem that might be software related. Basically I cant turn on led 24 without turning on led 23. ShiftPWM.SetRGB(8, 150, 150, 150); //turnes on 4 leds (23,24,25,26)...
  9. C

    Teensy 4.1 and ShiftPWM library

    Does shiftPWM work with the teensy 4.1? I found this thread but I'm not sure if its indicating that it works or not. Also will it work with a 3mm 'common anode' RGB led like this schematic? I'm using 6 74hc595BQ Here's the code I'm trying... // You can choose the latch pin yourself. const...
  10. C

    Limits of delay effect in audio library

    I'm also curious about adding ram for longer delay with the audio library and a teensy 4.1. Can I use both the extra ram on the 4.1 and the audio board at the same time? thanks!
  11. C

    Teensyduino 1.49 Beta #1

    Thanks for clarifying that for me pete.
  12. C

    Teensyduino 1.49 Beta #1

    So does the t4 allow longer then 2.4 sec delay?
  13. C

    MIDI.read causing incorrect Encoder readings.

    I wasnt having any issues with my project until I added the MIDI.read but ill keep that in mind for future projects. Thanks I did switch over to use another pin. But it looks like you were right. Commenting out line 667 of the midi.hpp "thruFilter(inChannel);" did indeed fix the encoder acting...
  14. C

    MIDI.read causing incorrect Encoder readings.

    My midi input is wired like so: https://imgur.com/ZbV6wzy There is nothing wired for MIDI output. Why would reading the Midi input send any serial to the midi ouput?
  15. C

    MIDI.read causing incorrect Encoder readings.

    Hi all, I have a teensy 3.6 and was working on an audio project until I ran into a problem. When ever I start to send a midiclock signal into the teensy my program thinks I'm turning an encoder. This is only a problem when I use pin 1 and 2 for the encoder. Using Pin 3 and 4 for Encoder.read...
  16. C

    Questions about 'navigation bar' with other IDE besides arduino.

    Thanks for the insight...the main things that got annoying with Arduino is the too much scrolling and it not remembering what portions of code i have minimized, and keeping them minimized when I load the code the next day. but anyways.. Ive asked another forum and a guy responded saying that it...
  17. C

    Questions about 'navigation bar' with other IDE besides arduino.

    I recently got PlatformIO cause the Arduino IDE was getting tedious to use. I got it all set up and working except(its able to load unto the teensy 3.6 with all the librarys working)…I mainly was looking forward to auto-complete and the view on the right hand side of the screen that shows a much...
  18. C

    EEPROMex not saving past byte 151

    Dangit... thanks Paul. You're right I was clobbering that float. Can't believe I kept missing something so simple. Thanks I was just using this library cause it has a couple things that in my mind made that library seem easier to use like limiting the max writes. Could you carilfy that a bit...
  19. C

    EEPROMex not saving past byte 151

    Hi all, I'm currently working on a project that will save a lot of variables. I'm using a teensy 3.6. It took me awhile to find where the issue was coming from, but it looks like when saving it wont save after byte 151. I made a simple version of the code that can reproduce the error. #include...
  20. C

    Waveform.begin no longer resets the wave?

    Couldn't for the life of me find a way to restart the waveforms phase. But I stumbled upon 'pull request' that I think will be exactly what I need. https://github.com/PaulStoffregen/Audio/pull/275 I just modified my audio library and it works. Something like this...
  21. C

    Waveform.begin no longer resets the wave?

    It's looks like this code doesn't seem to do anything. AudioNoInterrupts(); waveform1.phase(0); waveform2.phase(0); AudioInterrupts(); Here's where i have it in my full sketch... doenst seem to do anything even when its just running in the void loop. #include <Bounce.h> #include...
  22. C

    Waveform.begin no longer resets the wave?

    Awesome.... thanks paul! What about with a waveformmod? would something like this work? AudioNoInterrupts(); waveformMod.phaseModulation(0); AudioNoInterrupts(); the way the info is worded kinda makes it seem like waveformMod.phaseModulation only sets the total amount a signal from 1 to -1...
  23. C

    Waveform.begin no longer resets the wave?

    Hey All, I'm working on a project that has multiple wave forms and I'd like to be able to push a button to reset all of the waveforms to start at once. I remember in June waveform.begin would restart the wave form. I remember because back in June I had the opposite problem :D...
  24. C

    Trouble incrementing an array... attempting to make tapped patterns.

    Okay so I'm still having issues with this but I think I've narrowed it down.. but still have no idea why its acting so strange. The variable that should be incrementing from 0-39 gets stuck switching between 2 and 3 depending on which variable i use for the if statement. Whichever one I use for...
  25. C

    Trouble incrementing an array... attempting to make tapped patterns.

    Thanks for the clarification. I kinda assumed at first that it should be 0-39 but was confused by the readings. i fixed the code and added a troubleshootINT just to see if I was messing up the currentPATTERNarraySLOT somewhere. Here's the updated code: #include <Bounce.h> const int tapTEMPOPin...
  26. C

    Trouble incrementing an array... attempting to make tapped patterns.

    Hi all, My goal with this sketch is to have two buttons. Holding one button while tapping on the other creates an array full of millisecond intervals. I can't for the life of me figure out why the array 'slot' starts on 2 instead of 1 and seems to switch between 2 and 3 instead of incrementing...
  27. C

    LiquidMenu library not working with teensy

    Thanks for the help manituo. That seems to have done it! I have some code working now, properly updating the screen with some buttons. and thanks Paul as always for your awesome audio library and all the work that goes into keeping the teensy up to date and compatible.
  28. C

    LiquidMenu library not working with teensy

    Hi all I'm working on a project that will have a menu using an LCD screen with the LiquidCrystal.h library. I want to use a library called LiquidMenu.h because it looks easier to wrap my brain around then the other menu libraries I looked at. When I try to upload an example code to my teensy 3.6...
  29. C

    Teensy 3.6 ADC use breaks Analogread

    I'm trying to read the value of A3 and A12 at the same time. I want to use the audio library to read an input from an analog instrument and then a potentiometer to also be read to change values in the code. The pot works normally giving values from 0-1023 until I add the adc1 module. When I add...
  30. C

    Teensy 3.6 with multiple PT8211?

    I'd like to make a project using the Teensy 3.6 and 3 PT8211 for a total of 8 DAC. Is this possible? I'm assuming I'll have to modify a library so it knows which pins to use. Can I choose any pins or do they have to be analog touch sense pins like the teensy 3.2 shows? Any help/insight is...
  31. C

    Teensy Audio Library Synth Waveform change waveshape?

    I did get it, the way you suggested... and then I noticed the new 1.42 Beta...with the waveformMOD module. damn... I was sending the audio out a DAC and then back into an analogRead pin to get modulation. Got a few new audio modules to play with now. Thanks again.
  32. C

    Teensy Audio Library Synth Waveform change waveshape?

    Hey all, I am currently trying to set up an 11 detent potentiometer to cycle through the waveform shapes. Is it possible to do without restarting the waveform? I wanted to set up some if statements to determine the wave shape, but if i use waveform.begin it just resets the wave form every time...
  33. C

    Trouble sending midi notes.

    PROBLEM SOLVED: Turns out it was this line of code: pinMode(1, OUTPUT); //midi output pin Hey guys... again... I'm currently working on a project that will be a numbered keypad that sends out midi program changes. It will work like this:Hold a button down, then type in the program change...
  34. C

    Teensy 3.2 Integers reading zero outside of void function.

    Thanks a bunch Pete, This did the trick. I only need to declare something an integers once. I was using int to refer to it didn't realize I was re-declaring it.
  35. C

    Teensy 3.2 Integers reading zero outside of void function.

    Hi Guys, I'm currently working on a project that will be a numbered keypad that sends out midi program changes. It will work like this:Hold a button down, then type in the program change number, then let go of held button, then each time button is short pressed send out the program change...
  36. C

    Teensy 3.2 and 74HC595 Problems

    Thank you very much! Yes indeed in the shifty example code the comment says.. // Set the clock, data, and latch pins you are using When it should say... // Set the data, clock, and latch pins you are using I switched those and now it seems to be working more like it should. Thanks again that...
  37. C

    Teensy 3.2 and 74HC595 Problems

    Here's a link to the library. https://github.com/johnnyb/Shifty I just found it searching '595' in the arduino libraries. I'm trying to eventually do something like this but with 32 led bar graph. /* LED bar graph Turns on a series of LEDs based on the value of an analog sensor. This is...
  38. C

    Teensy 3.2 and 74HC595 Problems

    Playing around with this code i can send a number through the serial port and get leds to light so i know the shift registers are working. const int latchPin = 8; const int clockPin = 13; const int dataPin = 11; void setup() { pinMode(latchPin, OUTPUT); pinMode(dataPin, OUTPUT)...
  39. C

    Teensy 3.2 and 74HC595 Problems

    Hi all, its my first time ever using 74hc595s with the teensy, and I'm going to be working on a bar graph type project. So I have four 595s hooked up to the teensy and wanted to try the library 'Shifty' to make things a bit easier for me. But I cant get any leds to turn on or off. Ive tried a...
  40. C

    Teensy tracked sine wave gliassando.

    Hey all, Really been enjoying learning 'programming' with the teensy 3.2 + audio board, and I cant wait for some type of real time audio pitch shifting (which I've read is at least on a todo list for the audio library). I managed to scrounge some code together from examples that tracks the...
Back
Top