Forum Rule: Always post complete source code & details to reproduce any issue!
Page 5 of 6 FirstFirst ... 3 4 5 6 LastLast
Results 101 to 125 of 142

Thread: Teeny Guitar Audio Board

  1. #101
    Member dimitre's Avatar
    Join Date
    Aug 2016
    Location
    São Paulo
    Posts
    57
    Quote Originally Posted by Blackaddr View Post
    The first batch has sold out but another batch has already been ordered! Boards should arrive in about 3 weeks. You can join the waitlist via the Tindie page to be notified when new stock arrives.
    Yeah! I've bought the last one

  2. #102
    Junior Member
    Join Date
    Jun 2017
    Posts
    13
    @Blackaddr is the latest schematic rev available?

  3. #103
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by FredT View Post
    @Blackaddr is the latest schematic rev available?
    The datasheet (User's Guide) on the Tindie page has the schematics at the end.

    Tindie Store

  4. #104
    Can I use my favorite CY15B104 as memory? I got lots of them.
    And where can I connect the potentiometers for controlling parameters?
    Last edited by DragonSF; 11-11-2017 at 04:55 AM.

  5. #105
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by DragonSF View Post
    Can I use my favorite CY15B104 as memory? I got lots of them.
    And where can I connect the potentiometers for controlling parameters?
    The board simply uses the SPI and SPI1 busses to connect to a a 8-SOIC SPI device. I don't see why that memory chip wouldn't work if it works on the other Teensy memory boards, though I've not tested it myself.

    There are some GPIO I/O on unpopulated headers you could use for switches and encoders but it's much more effective if you control your audio effects with MIDI CC's. Properly debouncing and decoding several rotary encoders and switches reliablty (with filtering) does take some significant processor power which leaves less time for your audio effects to do their work.

    It is much better to offload that type of processing to something else (a MIDI foot controller) and just have the Teensy decode the MIDI CC's which is very lightweight.

    I am using THIS MIDI controller to have switches and knobs to control my Teensy audio effects. In the video I posted above, I'm using one of those with an expression pedal to send MIDI codes to the Teensy that are controlling the volume gate on my "Sound-On-Sound" effect.

    You could also use the USB MIDI provided by the Teensy library to control the effects from your computer if you find a software MIDI controller you like. The Teensy should show up as a MIDI device in Windows/OSX when that feature is turned on in the Arduino IDE.
    Last edited by Blackaddr; 11-11-2017 at 12:14 PM.

  6. #106
    I'm using USB MIDI too for my 3.6 synthesizer, but for guitar pedals, I prefer traditionally analog knobs on the pedal. For switches and like, I agree: deboucing is tedious. But for analog input I can't see no timing issue here. So do you think, I could use any free analog input line for that purpose?
    Regarding the memory chip: it works perfectly on all teensy audio boards I used so far.

  7. #107
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by DragonSF View Post
    I'm using USB MIDI too for my 3.6 synthesizer, but for guitar pedals, I prefer traditionally analog knobs on the pedal. For switches and like, I agree: deboucing is tedious. But for analog input I can't see no timing issue here. So do you think, I could use any free analog input line for that purpose?
    Regarding the memory chip: it works perfectly on all teensy audio boards I used so far.
    I presume you can use the A* pins? I've not used the built-in ADC on the Teensy for anything yet. If you look at the schematic, there are a couple pins (A13, A14, A15) that are available on the expansion headers or test points you could solder too. You could try using those.

  8. #108
    Yes, that's what I'm using ATM for my hangdrum project. The range is sufficient and handling them is straight-forward and not time-consuming.

  9. #109
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Next batch has been shipped from the assembly house. Should arrive within a week, and after final assembly and testing they'll be put into Tindie store inventory.
    Tindie Store

  10. #110
    Thanks for the heads up.

  11. #111
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    2nd batch of boards has completed testing and have been added to the inventory at the Tindie Store.

    Also, development on BAGuitar library at Github is continuing. The BAAudioEffectDelayExternal now supports both SPI RAM chips.

  12. #112
    Junior Member
    Join Date
    Mar 2014
    Posts
    19
    Is the Guitar Audio Board compatible with the PJRC Audio Board?

    Planning to use a Teensy 3.6 in project.

    Looking to add a headphone out....

  13. #113
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by jmercer View Post
    Is the Guitar Audio Board compatible with the PJRC Audio Board?

    Planning to use a Teensy 3.6 in project.

    Looking to add a headphone out....
    It is compatible in the sense that it uses the same pins for the codec control (I2C) and the same pins for the audio interface (I2S) as the PJRC audio board. However, you cannot stack the two of them together in order to get a headphone output.

    I often use headphones for my testing/developing effects and patches, in which case I use a very small headphone amp.

    I've been happy with the M-Audio Bass Traveller. It's very small (a little bigger than a matchbook), very inexpensive, and has a built in USB rechargeable battery so now power cable needed. I feed the output of my TGA Pro into it for headphones.

    https://www.amazon.com/M-Audio-Bass-...+headphone+amp

  14. #114
    Junior Member
    Join Date
    Mar 2014
    Posts
    19
    Thanks for your response!

    I have a headphone amp, but I like to add a HP jack into my prototype at some point.

    I see that some of the pins can be shared.

    Is it possible/recommended to run jumpers to the Audio Board and mount it nearby?

  15. #115
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by jmercer View Post
    Thanks for your response!

    I have a headphone amp, but I like to add a HP jack into my prototype at some point.

    I see that some of the pins can be shared.

    Is it possible/recommended to run jumpers to the Audio Board and mount it nearby?
    The Teensy's support a second I2S interface through it's quad audio support, but you if you attempt to piggy back a PJRC audio board, you'd need to flywire the MCLK/BCLK/LRCLK pins for sure since they are not brought out to the TGA Pro user headers. I'm not sure which pins on the T3.6 are used for the second set of I2S data in/out, but you could likely flywire those as well over to the PJRC board. You would also need to get I2C control over to the audio board, which would require even more flywires. I2S + I2C + power + ground is 9 wires in total.

    In a nutshell, maybe you could probably get quad audio working with both the WM8731 on the TGA pro and the SGTL5000 on the PJRC Audio board, but it would be a helluva lot simpler to just buy a headphone amp board that takes analog audio in and use that.

    For example, you could use a single shielded wire to connect the TGA Pro output (solder to the output jack Tip pin on the PCB) to the analog input on this board:
    http://store.digilentinc.com/pmod-amp2-audio-amplifier/

    That board is mono but if you really need the stereo output I'm sure you can find a similar project board. Simply sending the analog audio output to an analog HP amp is much easier than trying to shoehorn a PJRC Audio board on the the TGA Pro. If you wanted to try to get a second I2S interface working, that board does digital as well I think if you want a challenge.
    Last edited by Blackaddr; 12-11-2017 at 09:20 PM.

  16. #116
    One question: can the existing Teensy Audio library (and GUI) still be used, or have the modules to be ported?

  17. #117
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by DragonSF View Post
    One question: can the existing Teensy Audio library (and GUI) still be used, or have the modules to be ported?
    The existing GUI can be used and the exist modules can be used with a few caveats:

    1) The AudioControlWM8731 can be used as-is, but you cannot disable the codec's HPF which introduces noise. The same problem occurs on the codec for the PJRC Audio board but Paul has provided a function to disable the noisy HPF.
    - I have provided BAAudioControlWM8731 in my BAGuitar library to not only disable the noisy HPF, but also allow access to many other features on the WM8731.

    2) AudioEffectExternalDelay cannot be used as-is because the CS pin for SPI is different.
    - I have provided BAAudioEffectExternalDelay in my BAGuitar library to support using MEM0 and MEM1 on my board if you've ordered those options.

    Otherwise, all other Audio effects should and work and so should the GUI tool

    The BAGuitar library also provides some completely custom classes for easier access to the SPI memories as general purpose storage (plain old reading and writing) as well as a BAGpio class for easier use of the header pins and user LED.

    I've also got more stuff planned for the BAGuitar Library in the coming months to provide more examples...
    - a Sound-On-Sound effect
    - new versions of Chorus and Flanger that support using external memory (to save as much on-chip RAM as possible).
    - An "Analog Delay" effect that simulates the decay of analog delay pedals instead of the digitally pristine delay

    Further down the road I'd like to work on...
    - a Phaser effect
    - a Looper

    The whole goal of this platform is to get more guitar players interested in how to program effects by example.

  18. #118
    Junior Member
    Join Date
    Mar 2014
    Posts
    19
    I finally got around to reviewing the WM8731 data sheet.

    I see the device has headphone outs that are unused on your board.

    Are these disabled when using the line outs, or could these be used simultaneously?

  19. #119
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by jmercer View Post
    I finally got around to reviewing the WM8731 data sheet.

    I see the device has headphone outs that are unused on your board.

    Are these disabled when using the line outs, or could these be used simultaneously?
    The codec permits them to be used simultaneously, and you can enable/control them over I2C, however they require external components (a pair of caps and a pair of resistors for L/R outputs). The datasheet specs the caps at 220uF which are quite large, it would not have been easy to fit them on the board, and then a 3.5mm output jack in addition to that. I've also taken as much care as I can to physically isolate the analog audio parts of the PCB from the digital areas, so there is even less space to work with than might appear at first.

  20. #120
    Maybe a dumb question: do you need 9V or 12 external power?

  21. #121
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by DragonSF View Post
    Maybe a dumb question: do you need 9V or 12 external power?
    Not a dumb question at all! The TGA Pro board has been design to generate all the voltages it needs (3.3V digital, 3.3V analog, 12V analog) solely from the voltages that are provided by the Teensy microcontroller board itself.

    The Teensy board gets it's power from the +5V USB and that's all the external power that needs to be supplied.

    If you want to build a stand alone guitar pedal, the Teensy board itself can be modified to be powered by an external +5V rather than USB. Paul has instructions on PJRC.com on how to do this.

  22. #122
    Good! So I need a 9V to 5V converter to get independed power. Another question: is there any picture, which shows, how the mem chip should be orientated? The silk screen shows just a rectangle.

  23. #123
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Quote Originally Posted by DragonSF View Post
    Good! So I need a 9V to 5V converter to get independed power. Another question: is there any picture, which shows, how the mem chip should be orientated? The silk screen shows just a rectangle.
    I'll get a picture up showing the Pin 1 orientation tomorrow.

  24. #124
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    176
    Here's a photo from one of my early protos, both mem chips are oriented the same way. Pin 1 is a circular depression on the chips installed in the photo.
    Click image for larger version. 

Name:	mem_orientation.jpg 
Views:	36 
Size:	149.7 KB 
ID:	12364

  25. #125
    Junior Member
    Join Date
    Oct 2012
    Location
    Boston
    Posts
    15
    Can anyone suggest a standard enclosure? I have some 125B size (1590N1?) which are 4.77" x 2.6" x 1.39" but they seem to be a bit shallow. My teensy 3.6 has a stacked header which makes it even worse. I may try to design and print a simple lid riser this to give more headroom.

    Blackaddr - Thanks so much for making the design and boards available!

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •