ARDUINO - Progress report Tonefreqhz Arduino pedal and Pure Data

Started by Elantric, March 28, 2013, 09:51:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Elantric

RogerGLewis update on his projects!



This video is an abridged video log of my bench notes as I progress with this build.

These are the links referred to and other useful links I have been using.

http://www.instructables.com/id/Lo-fi-Arduino-Guitar-Pedal/step7/Variations-and-Notes/

http://www.instructables.com/id/Arduino-Guitar-Pedal/step19/Attach/

http://interface.khm.de/index.php/lab/experiments/arduino-realtime-audio-processing/

for Pduino I used this excellent tutorial

http://guitarextended.wordpress.com/2012/01/06/getting-started-with-pduino/


And for the Array loader Tabread patch I am indebted to  Dr. Rafael Hernandez


For the impulse resopnses,

Thanks to David at Best Plugins





For more information on Convolution and the Fast Fourier Transform I recommend reading this web site.
http://www.katjaas.nl/home/home.html
katja's homepage on sinusoids,
complex numbers and modulation

The convolve~ object in Pd is not of my own invention I am indebted to its authors. As well as the Pd community where lots of other blogs papers videos etc have been referenced. I will write up a fully indexed instructable for the Tonefreqz Pduino pedal when it is completed and fully reference all of the source material. This is a brief update just for my Bench notes.

RogerGLewis

Hi Elantric,

Thanks for that. I joined both sites a while back and have learned and read rather more here than I have ever posted.
I am on a bit of a steep learning curve at the moment but I have spent today just confirming to myself that the 3 main concept pedals will work.

I posted a few updates on Linked in earlier and I am happy that all is as described as follows.

Developing the guitar pedal concept for tonefreqhz guitar auditioning IR files. We have 3 controllers under development. Arduino ( in the video is useable with either wireless or USB connectivity to Pure Data convolve~patch on home computer. Raspberry pi and Beaglebone, pedals are available for standalone multi-effects pedal. The later run independant of home computer. RPi and Beagle are also running Pure Data Extended convolve~ , under the tonefreqhz guitar audition mode using raspberry Pi Debian, Raspbian, GNU/Linux. ( If you want something different just ask.)
Available to order or full instructables currently being written with source codes for download for Home Brew.
For serious Tone collectors everywhere, own every guitar in the shop!

Of course a Tone Core programmable module from line 6 and their developer pedal looks like a very attractive package right now although comparatively expensive its just loading the code, I would really like to see Bodilizer as a pedal, I am in touch with Ingemar and hope he may either himself or by asking the developers the took on the project last year to take it in that direction. ( I would in a heartbeat, and will if Ingemar offers me the opportunity.

Rambling now. Happy Easter and thanks for this wonderful site its an invaluable resource.

Cheers

Roger

Elantric

QuoteOf course a Tone Core programmable module from line 6 and their developer pedal looks like a very attractive package right now although comparatively expensive its just loading the code,

Last year Line6 was blowing these out here in the USA at the Line6 online store - but today the ToneCore DSP Developer pedal is rather tough to locate.

CORRECTION!
http://line6.com/tcddk/
https://www.globalfulfillment.net/gfsnet/line6/10Expand.aspx?ProductCode=99-043-0001
   
So what is this developer stuff all about?

Yeah, we're guitar playing geeks. We just can't leave a thing alone. We stick all kinds of crazy stuff on our guitars to make them louder (remember, there was a time before the first magnetic pickup changed the world), more expressive (once there was no floating trem!) and just more us.

We change guitar strings, pick-ups, cables, bridges, nuts and on and on and on. We buy amps and dial in the settings. If it's a tube amp, we change the tubes. We experiment with cabinets and speakers and even different grill cloths.

But mostly...we buy pedals. And more pedals, and then the next one, and then I have to have that one.

Once we get these pedals home, the more adventurous of us open them up and start modifying them. There are generations of folks with soldering irons who've swapped out transistors, diodes and op-amps just to see what it sounds like. Pedal boards around the world are filled with pedals from folks that started doing it as a hobby (ok, obsession), and found a life-long career.

Well, at Line 6 we've had a tone-jones going for a while now. And we love analogue pedals. We've modeled a bunch of them and put them in our products! However, we really love what is possible in the digital realm. We've made a whole bunch of great sounding pedals, and some of them do things that analogue pedals have a really hard time doing. That's where we love to tweak.

And now, you can too. That's the whole idea behind the ToneCore DSP (Digital Signal Processing) Developer's Kit. We're offering an easy access platform for DSP programmers and pedal nuts who want to work in a software-based approach to sound design. Now, with our hardware platform and this set of developer tools from Freescale, we've made it possible for you to go in and "muck-around" with software based effects and hear the results in a real world setting, without having to go out and manufacture the hardware.

We hope you enjoy the adventure, and we look forward to hearing what you come up with. Who knows? You might develop the next sound of rock and roll!

Frequently Asked Questions

How does this work?
The kit contains a special Line 6 Developer ToneCore Dock, which in addition to containing the Freescale Symphony audio DSP, audio circuitry and ToneCore Module docking slot, can be connected directly to a PC via USB. The ToneCore Programmable Module is customizable and stores DSP code in the FLASH memory of the on-board Freescale microcontroller. DSP code development is performed on the PC and then a programming tool is used to FLASH the MCU with the new DSP code through the Developer ToneCore Dock.

Huh?
You plug our pedal into your computer via USB, use the software we give you to write some fancy code, then shoot it back to the pedal, which now stores it in memory. Now when you plug in your guitar to the pedal, it does to the sound of your guitar whatever you've told it to do!

Can anyone do it?
That depends. If you have any experience writing software you'll probably be just fine. If you don't, and are willing to learn, we've made it possible for you to get started by giving you the example of a simple two-band EQ, and a step by step by guide to assemble the code and download it to the module.

How hard is it to actually write DSP code?
Again, that depends on your experience level and motivation. We recommend that you read up on the basic concepts of DSP, gain some familiarity with Freescale's Symphony DSP assembly language, and explore MusicDSP.org and the JOS Website for audio DSP code examples and more information. You might decide to take a class, or find a buddy who's done some programming. If after doing a little research you find it interesting, give it a shot!

What kind of code would I use?
The TCDDK example code is written in Symphony DSP assembly code.  It is also possible to write in C using Freescale's Symphony Studio tools.  For more information, please go to Freescale's website.

What if I don't want to program my own effect?
No problem. Get one of the eleven ToneCore pedals and modules we've already created.

What's in the box?
The ToneCore Programmable Module, the Developer ToneCore Dock, a USB cable, and directions on how to download the actual software tools. We've decided to make the software tools downloadable so you can be sure of having the latest, updated version of the assembly tools. (And we couldn't get the dang DVD in the box!)

What kinds of things can I do with this kit?
As a point of reference, the processor in the Tone Core Programmable Module is just as powerful as the processor in the POD 2.0. We imagine that it will enable you to do a lot!

Can I use the Programmable Module in any ToneCore Dock?
Absolutely. All of our Docks are completely compatible and you can use them in both Stereo or Mono docks, depending on the code you write. You can even write code to sense whether you are plugged in mono or stereo, and treat it accordingly!

How do I label my knobs?
We provide a metallic overlay with no silkscreen. The down and dirty way would be to just write on it with a Sharpie. Also, we'll make available a to-scale template you can download and print onto anything your heart desires. Some folks have had great success using our template with their own designs printed out on photo paper instead of our overlay. You could get crazy with a label maker or even go nuts with paint. (Leather, anyone?)

How much does it cost?
The complete ToneCore DSP Developer's Kit will be $199.99 and the additional modules will be $34.99 each. They will be available exclusively from our on-line store.

What if I come up with the best thing since sliced bread? Can I sell it?
Absolutely. We only ask that you follow the guidelines outlined in the developer's agreement. All ToneCore Developer Docks and Modules must be purchased as new from Line 6. Your programmed modules can be sold at your discretion.

Will this platform be available on the Mac?
Probably not, sorry. Freescale, the company that makes the processor, writes the development tools and as far as we know, they have no Mac development tools planned. However, it may be possible that these tools may work on an Intel-based Mac using one of the Windows emulating solutions.

Can I re-use a module?
Yes, it behaves like any other re-usable flash drive, and you should expect the same kind of life expectancy.

If I give away a module with my cool effect, can someone copy it off my module?
No. Once you've programmed your effect, no one else can copy it from the module itself, even with the Dev Kit. You don't have to worry!

Can I reprogram an existing Line 6 module?
No, the effects we sell cannot be re-programmed. They are not designed for that purpose.

Can I use my Developer ToneCore Dock like any other Line 6 Dock?
Yes, it behaves just like any other of our docks when not plugged into a computer.

Why are you doing this? Aren't you afraid you are creating competition for your own products?
Just like we hope our PODs and other products have inspired folks to make music, we hope these tools will inspire folks to make the next generation of guitar effects. Of course, we'd love it if folks had a chance to discover our other ToneCore pedals and see the cool sounding pedals we've come up with. But we also love encouraging new talent, and are always looking for the next generation of DSP engineers (as well as the next cool pedal for our own rigs!)

What are the PC system requirements for the ToneCore DSP Developer Kit?

    Windows XP with Service Pack 2 or later (does not support Vista 64)
    x86 processor running at 500 MHz
    128 MB of RAM
    16 MB of disk space

How is the Developer ToneCore Dock powered?
It works in the same way as our other ToneCore pedals. You can use a standard 9 volt battery, or our DC-1G Power Adapter

shawnb

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Elantric

RogerGLewis wrote>

Hi Shawn,

Katja is truly inspired and amazing I run out of superlatives for describing how good she is at  explaining some pretty complex stuff.

Heres a you tube video of Katja's Slice Jockey she has also authored an excellent PD application called expochirp downloadable from her web page for generating impulse responses( actually its a comprehensive solution to that requirement) I am still at the Apple Impulse response utility stage..
I have been corresponding with Katja for a couple of years now and she never fails to shed new light in the area of another lamppost I had not thought to look under.



I had a jam along when I first came across this.



Elantric

http://blog.arduino.cc/2012/07/26/guitar-effects-pedal-with-pure-data-and-arduino/#more-4959

Pierre Massat is sharing his experience in building a guitar multi-effect on his blog. The project is based on a pedal built hooked up to an Arduino Uno and a PC running Pure Data.

In the blog you'll find posts about :

How to build a DIY foot controller
http://guitarextended.wordpress.com/2011/12/14/arduino-based-pedal-pduino/

How to set up a computer to process the sound of a guitar in real-time


How to make simple effects in Pure Data
http://guitarextended.wordpress.com/category/software/pure-data/simple-effects/

How to let the foot controller and Pure Data talk to each other
http://guitarextended.wordpress.com/category/software/pure-data/interfacing-pd/

here is the foot control mechanism built with Lego!


Uploaded on Feb 27, 2012

I've built a guitar multi-effect based on a DIY pedal made with a Arduino board, and a patch in Pure Data (Pd). The pedal controls the Pd patch, and Pd processes the sound in real-time to create effects. Read more on my blog : http://guitarextended.wordpress.com
----------------------------------------­------------
J'ai fabriqué un multi-effets pour guitare qui consiste en une pédale construite à partir d'un module Arduino, et un patch programmé sous Pure Data (Pd). La pédale contrôle le patch dans Pure Data, qui modifie le son en temps réel pour créer les effets. Lire mon blog pour en savoir plus : http://guitarextended.wordpress.com