Author Topic: Open Source Digital FX Pedal  (Read 5517 times)

0 Members and 1 Guest are viewing this topic.

Offline Fantasma25Topic starter

  • Regular Contributor
  • *
  • Posts: 91
  • Country: mx
Open Source Digital FX Pedal
« on: March 26, 2014, 07:53:09 pm »
Hello. I've been working on an open source programmable digital effects pedal for about one or 2 months, but I found out something that really destroyed the concept and I had to scrap it. The DSP inside the pedal is the ADAU1701 from Analog Devices, and I liked it really much because it was programmed by dragging and dropping DSP blocks, and I found it to be very user friendly and educational. The thing is that a couple of days ago, I was on an Analog Devices Forum, and I stumbled on a post about a cheap USBi board (USBi is the name of a board sold by Analog Devices which is used to program their SigmaDSP evaluation boards. It is a USB-I2C interface that works (and is the only one supported) with Sigma Studio and it is like $80 USD). In the post, a guy was asking if he could clone the EEPROM inside their USBi to make a cheaper version of it, and another guy from analog devices said that there was no restriction prohibiting him to do that, BUT he also said
Quote
(...)I want to clearly state that SigmaStudio is absolutely not freeware or open source, and it cannot be distributed. You need to obtain it either by purchasing our evaluation hardware or by requesting a key via our email address, and you may not distribute it to the public. SigmaStudio may only be used by system designers, and may not be distributed to end customers using products containing SigmaDSP. In effect, we want to limit SigmaStudio distribution to people who have purchased evaluation hardware, although we do allow people to request it for evaluation as well.
And, well... that really took my project apart... :'( (it was probably my fault. I should have looked this up first |O)
Anyway... I wanted to share my designs with the community in case anyone wants to build it (I have not tested it yet).
It has an FTDI chip to make the conversion between USB and I2C and it is most likely not compatible with Sigma Studio, but you can probably make a program that can load the files from Sigma Studio to the EEPROM. It also has some breakout pins for the General Propose Ports of the DSP chip, a selectable LPF for the inputs and a fixed LPF for the outputs. I wanted it to be as simple as possible at first.
If anyone wants to point out potential and/or obvious design errors in my design, I will thank you very much, since I don't have much experience. :-BROKE
Here is the link for the files (in KiCAD).
https://github.com/DiegoRosales/El_Rockero.git
 

Offline lewis

  • Frequent Contributor
  • **
  • Posts: 704
  • Country: gb
  • Nullius in verba
Re: Open Source Digital FX Pedal
« Reply #1 on: March 26, 2014, 10:58:17 pm »
Don't be disheartened, Sigma Studio (SS) is basically a graphical compiler to convert your signal path design into DSP-readable code. It also generates some C files and headers relating to all the variable parameters within the signal chain, so for example with an EQ you get a pointer to somewhere in the DSP's register bank where varying that value will affect the EQ. It's the same as dragging the slider in SS in real time with the DSP eval board connected to the USBi module.

To make the project work, you can use an MCU to load the DSP. Create the most complex program you need in SS, generate the source and load into an EEPROM connected to an MCU in your project. Include the .h files generated by SS in your MCU code which tells you where all the variable parameters are. You can then vary the DSP parameters by using the MCU rather than SS. Of course this technique will not allow you to rewire signals like SS will, but it can allow you to bypass signal processing blocks (hence my comment about creating the most complex program possible: you can simplify it in real time in the MCU by bypassing the blocks you don't need.)

Once you have the MCU controlling the DSP, then you can write whatever open source software you like to interface to the MCU over USB/Ethernet/RS232/Carrier-pigeon to change the DSP parameters. In other words, you don't need sigma studio to use the effects unit.

Analog Devices don't make it massively easy to interface the Sigma DSP to an MCU, the support was very sketchy last time I looked a couple of years ago. But SS does generate some pretty comprehensive .h files, you just need to work out what it all relates to!

This all can still be open source, SS is just a compiler, there's nothing stopping you releasing its output. There's also nothing stopping you telling people that the DSP is based around Sigma Studio, they'll find ways to get hold of it if they really want to play about.



I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.
 

Offline Fantasma25Topic starter

  • Regular Contributor
  • *
  • Posts: 91
  • Country: mx
Re: Open Source Digital FX Pedal
« Reply #2 on: March 27, 2014, 04:00:22 am »
That's a really good idea. Maybe I'll start making a little breakout board with only the DSP and an EEPROM and see how it goes. I'll also take a look at the files generated by SS. Thank you so much!!
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Open Source Digital FX Pedal
« Reply #3 on: March 27, 2014, 04:14:18 am »
I've had some joy bringing up an ADAU1761 (also a SigmaDSP CODEC) using I2C and I2S, so might be able to help.

Mike
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline Fantasma25Topic starter

  • Regular Contributor
  • *
  • Posts: 91
  • Country: mx
Re: Open Source Digital FX Pedal
« Reply #4 on: March 27, 2014, 07:18:10 pm »
I've had some joy bringing up an ADAU1761 (also a SigmaDSP CODEC) using I2C and I2S, so might be able to help.

Mike

Thank you! Soon I'll be posting my design of an ADAU1701 Breakout board to check if there are design flaws ;D.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf