Search results

  1. O

    Can't get 8th WAV File to play

    Neurofun, Thanks, it works!
  2. O

    Can't get 8th WAV File to play

    Could someone please help me figure out why I can't get my eighth Wave file to play in this code? The first seven play perfectly (from SD). When I add the eighth (pinMode(buttonPin8, INPUT_PULLUP);) I lose all the audio from all pins. The pins are detected as being activated because they print...
  3. O

    Loosing my com port connection with Teensy 4.0

    Excellent analysis Defragster, thank you. I will continue to work on PROGMEM as a solution.
  4. O

    Loosing my com port connection with Teensy 4.0

    Defragster, Thanks again for stepping in to help. I am working to reprogram with PROGMEM. It compiles without errors, but I don't have any sound, so my programming needs more work. I think you are asking for me to post the "alloc lines for :: #include "AudioSampleC_drum.h" I assume you want...
  5. O

    Loosing my com port connection with Teensy 4.0

    I am puzzled why uploading the code below onto my Teensy 4.0 makes it lose its connection (com port) with my computer. It is a modified SamplePlayer from the PJRC Audio Library. I am trying to make a simple drum project with 30 triggers (without MIDI), but unable to get past 7 triggers with a...
  6. O

    Bad wiring posted somewhere for Teesny 4.0 to Audio Shield

    Bicycleguy, This is may be important to me, since I can't get things working. One question, if Teensy 4 pin 14 should be pin 13, does Teensy pin 14 go to anything in the audio shield? Thanks in advance.
  7. O

    Audio shield headphone out connected to amplified line-in

    Thanks. This is good to know. I'm not quite there with my project, but eventually I need output to a powered speaker so I will use the output pins on the audio shield. Thanks again
  8. O

    Audio shield headphone out connected to amplified line-in

    Just to be clear, I should not connect my headphone 1/8-inch output jack on my audio board to an amplifier input, but use the line out pins, right?
  9. O

    T4 Connections to Audio Board

    I have a Teensy 4 connected to a Teensy Rev C audio shield. I've made the revised connections identified on the PJRC website to account for changed pins on the T4. I am able to run SamplePlayer successfully, but unable to get the T4 to communicate with a flash memory chip soldered onto the audio...
  10. O

    Errors "not within region DTCM"

    Manitou, First of all, thanks for the help. I'm sort of excited that things might work out for me if I connect more wires between my T4 and the audio shield. Maybe my flash memory chip and SD card in the audio shield will actually communicate with my T4 if I connect more wires. I do not have...
  11. O

    Errors "not within region DTCM"

    Thanks for your help Manitou, So maybe I am lacking some connections? I only soldered the Winbond flash chip to the audio shield and only connected the wires in the diagram I found somewhere on the PJRC site or in the forum. However, I have nothing connected to pin 6 on the T4 and I have...
  12. O

    Errors "not within region DTCM"

    Manitou, No worries....Yeah, I have nothing connected to MEMCS. Is this something I need to connect to get something working that isn't?
  13. O

    Errors "not within region DTCM"

    Manitou, Thanks for your advice with SerialFlash. I'm not sure what pins you are referring to, in the T4 or the audio shield, but I'm not using some of the pins you mention. I am using the connection diagram provided by PJRC to connect the T4 to the audio shield (photo below). I am not using the...
  14. O

    Drum pad

    C0d3man, I would like to test your piano program and visited the site you referenced (https://codeberg.org/dcoredump/MicroMDAEPiano), but am unclear what files need to be in the folder of the program and/or which programs need to be on an SD card. Or am I too mixed up to understand how the...
  15. O

    Errors "not within region DTCM"

    Defragster, There is a discussion where a user (Sandro) said that he solved his memory issue (using SamplePlayer) by soldering a W25Q128FV chip onto his audio board to have sufficient flash memory for more sounds. If, as you say, my samples are filling 300+KB or RAM then this should be a...
  16. O

    Errors "not within region DTCM"

    degragster, Thanks for the input. I will do some research on how to use the PROGMEM command in my code. I'm not sure if I need one for each note (sample) or where it should go in the code. I also need to see how it might change other lines that need to be changed. I used the Teensy Audio...
  17. O

    Errors "not within region DTCM"

    I am using Windows 8.1, a Teensy 4.0 and a Teensy Audio Shield. I am running a modified SamplePlayer code which worked well with 8 separate sounds (notes) connected to three mixers (code below). I am trying to build an electric steel drum and have a way to go since I want to have 29 separate...
  18. O

    Computer USB Does not recognize T4

    Thank you Paul, that worked. The T4 is working again. :-)
  19. O

    Computer USB Does not recognize T4

    Yes, I was running the SamplePlayer sketch successfully on the T4 before I began getting the error.
  20. O

    Computer USB Does not recognize T4

    I am running Windows 8.1. My T3.5 board works perfectly and I've never had a situation where the computer does not recognize the T3.5. I am running SamplePlayer sketch with an audio shield. It runs fine on my T3.5. I hooked up my new T4 and it worked for an hour or so and now I continually get...
  21. O

    Audio Shiled and MCP23017

    I have a musical instrument project with a Teensy 3.5 and an audio shield. I need more inputs and am connecting a I2C chip (MCP23017). From my research both the audio shield and I2C chip use pins 18 (SCA) and 19 (SCL) on the Teensy. Is it OK for both of the devices (audio shield and I2C chip) to...
  22. O

    Drum pad

    It would be nice if we could order audio shields with or without extra flash memory. Yeah soldering that chip is tricky. I guess I'll keep trying.
  23. O

    Drum pad

    JotaEfe13, I ran SerialFlash and the monitor gave me the following readout. So this means I did not solder it correctly, right? 14:06:49.135 -> Raw SerialFlash Hardware Test 14:06:49.135 -> 14:06:49.135 -> Read Chip Identification: 14:06:49.135 -> JEDEC ID: FF FF FF 14:06:49.135 ->...
  24. O

    Drum pad

    Sandro, I'm not sure I understand. I purchased and soldered on a new flash memory chip onto the audio board. My sketch (program) still shows that 77% is used and I've only connected nine (9) sensors. I want to connect 30 separate sensors and have 30 separate voices (sounds). 1) Is there...
  25. O

    Teensy 4.0 Release

    That was it! Thanks
  26. O

    Teensy 4.0 Release

    Thanks Pete, but on that page I only see documentation and links for installing 1.46 which I'm already running. I do have a port option of Teensy 4-Beta2, does that selection make it work if I don't have the option of picking the T4 board?
  27. O

    Teensy 4.0 Release

    I'm excited, got my T4 today. But I'm also not seeing the Teensy 4.0 board (only up to 3.6). Do I need to download something to update my Arduino program?
  28. O

    Teensy 4.0 I2S Support

    I'm excited to get my new T4, but how do I tell which rev my audio shield is?
  29. O

    Drum pad

    Thanks for the reply Sandro, gosh I wasn't sure you were still around since 2016. I'm really struggling trying to add all the sounds I need and have run out of memory. I've been trying to put the sounds on an SD card, but being very inexperienced I can't figure out how to do that either. I...
  30. O

    Storage and Format Questions for Audio Sound Files

    Wcalvert, Just to be clear. I put all my cpp files on the SD card and then when this code runs it copies all the cpp files to my internal flash to run, or I need to use raw or wav files?
  31. O

    Storage and Format Questions for Audio Sound Files

    Thanks wcalvert. I'll try to make this work.
  32. O

    Storage and Format Questions for Audio Sound Files

    Wcalvert, thanks for the reply. I think I understand your answer. I'll definitely get the Teensy 4 when it is released, since playing compiled cpp files out of internal flash memory is the easiest way for me to run my existing program and I've spent a lot of time figuring out how to get the code...
  33. O

    Storage and Format Questions for Audio Sound Files

    My project is to make a stand-alone drum machine with 30 sensors, each triggering a separate sound. I have a Teensy 3.5 and a Teensy audio shield. I have successfully executed a number of tutorials and examples. I can get music to play from the SD card on the audio shield (from the audio...
  34. O

    Drum pad

    Hey Sandro, I've got the same problem. Could you explain (and maybe show a photo) how you hooked the W25Q128FV chip to the teensy? I have a teensy 3.5 with the same audio board as you. I am trying to make a miniature steel drum with 30 sensors.
  35. O

    Lame Newbe Question to change digital switch to analog sensor

    ETMoody3, Thanks for the advice and input (no punn intended). I understand what you are saying. There are actually a few other features I would like my program to do, like be able to read the audio files that I will load onto the SD card. The problem is that I spend a heck of a lot of time...
  36. O

    Lame Newbe Question to change digital switch to analog sensor

    Or do piezo triggers/sensors only work with MIDI out? Which is not what I want. I am looking for a small, compact drum machine that does not need a computer or MIDI module. I cannot find an example on the web. I just want my teensy and audio shield to play the sound files that I have in the...
  37. O

    Lame Newbe Question to change digital switch to analog sensor

    I'm sorry this question is so lame, but could someone help me with changing the code of this drum program from playing sounds triggered from a button/switch on digital pins 1, 2 and 3 to a piezo on analog pins A14, A15 and A16? Here is the code. It works fine but I want to change it to analog...
  38. O

    Musical Instrument Shield Question

    Pete/and or anybody else. So the program code in message #7 now runs my kick drum! Wow, fantastic. I am stoked! But it only makes does the kick drum once when I start the program. How do I change the code so it triggers the sound when I activate a switch (ideally a peizo)? I don't care...
  39. O

    Musical Instrument Shield Question

    No Pete wait, I forgot to put the sound files in the same folder as the new program code you wrote. It compiled without any errors. I might be good to go here. THANKS for you help. You made my Sunday a happy day!
  40. O

    Musical Instrument Shield Question

    Pete, You are a great help. Thanks for the fixes on the code. I'm down to just one (or maybe two) error(s) now. It looks like problem is associated with the location of the sound files and the code's reference to SD. I did not put an SD in the Teensy 3.5, but eventually want to have the sound...
  41. O

    Musical Instrument Shield Question

    el_suprimo, I fixed the first error (the wrong type of quotes). Now I am getting these errors for the exact same code I have in my original post (except the fixed quotations). the red line with the erros is over the voidsetup () { right after my note //six more lines from magazine...
  42. O

    Musical Instrument Shield Question

    el_supremo, Thanks, you are correct.
  43. O

    Musical Instrument Shield Question

    MichaelMeissner (and others) Thanks for your input. So now I am just trying to get a simple (really simple!) drum machine to play just using my Teensy 3.5 on a windows machine. There are so many simple drums, but I just can't make them play with my audio shield. I have followed the...
  44. O

    Musical Instrument Shield Question

    BACKGROUND I am new to the forum and inexperienced. I have a project where I am trying to make a musical instrument and want to send sensor data to a non-powered speaker. There will be 30 separate sensors (piezos). I have a Teensy 3.5, pjrc audio shield and pjrc prop shield. My understanding...
  45. O

    Bad Board?

    Thank you also to KurtE and defragster. I am getting everything to work now that I've switched to COM4. I've also got my piezo sensor work. So I am now going to add an audio shield and begin to make my steel drum instrument. You guys were so helpful. I am having some significant trouble...
  46. O

    Bad Board?

    Paul, Thanks so much for helping! It was the COM port. I needed to pick COM4 and now it is working. I guess my board is not bad.
  47. O

    Bad Board?

    Paul and KurtE, sorry to be such a dolt, but a newbe I am. I've fixed the quotation text as suggested by Paul. That error is now gone, but another one popped up. The error is after the second void setup() highlighting the {. It says "a function-definition is not allowed here before '{' token...
  48. O

    Bad Board?

    wow I've got the help of Paul! I'm happy now. Here is post (msg #3). KurtE, Thanks so much for the quick reply. I use a Windows computer and the software seems to run perfectly. The sketch compiles without errors. It is really simple code, not as complex as yours. I've attached a photo of...
  49. O

    Bad Board?

    KurtE, I really appreciate your help. I added the code you suggested, but I get an error on your line Serial.println(“program started “); It gets highliged in red and the error says stray '/342' in program So maybe your code will fix why tutorial won't work, but I am unable to run your...
Back
Top