electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Developers' Corner
Ondes framboise - a DIY digital Ondes Martenot emulator
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
clarionut



Joined: Feb 05, 2021
Posts: 6
Location: Cambridge UK

PostPosted: Fri Feb 05, 2021 12:14 pm    Post subject: Ondes framboise - a DIY digital Ondes Martenot emulator
Subject description: An emulator of an Ondes Martenot based on a Raspberry Pi 3A+ running Pure Data
Reply with quote  Mark this post and the followings unread

Those of you who, like me, dream of owning an Ondes but could never justify it in reality may be interested in my Ondes Framboise project. It's a digital emulator of an Ondes based on a Raspberry Pi 3A+ running Pure Data plus some custom hardware and software, which attempts to provide all the features of a genuine Ondes Martenot:

Input by keyboard (including sideways motion for vibrato) or by ribbon, with a total range of 8 octaves (4 octaves plus shift of ±1 or 2 octaves)

Volume control by Touche button or foot pedal

All of the voices (Ondes, Creux, Gambe, Nasillard, Octaviant, petit Gambe & Souffle) + Tutti switch

Transposition buttons

Emulation of all four Diffuseurs (Principal, Résonance, Métallique & Palme) in software, each on its own output channel with built-in amplifiers

Pedal controlled low-pass filter

Legato / claquement mode

Although far from perfect it's a lot better than not having an Ondes at all! I'm in the process of publishing the design at the moment. 3D printed parts and construction details are on Thingiverse ( https://www.thingiverse.com/thing:4742145 ) and the code (Pure Data patch and custom server code) are on GitHub ( https://github.com/clarionut/ondes_framboise ). The current incarnation is a first prototype built solely to test function - it's far from elegant.

There are a couple of demos on YouTube - Rachmaninov 'Vocalise' ( https://www.youtube.com/watch?v=8Qs7qE2W0aA ) and Messaien 'Feuillets Inédits' ( https://www.youtube.com/watch?v=9ope-bVgxdk )

I hope you find it interesting!
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Fri Feb 05, 2021 12:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cool project!

Nice demos too on the tube ... the rachmaninov piece is quite nice .. didn't know it.

Oh, and welcome

Edit: and oh ..I've made the links in the post above clickable by adding some tactical spaces.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.

Last edited by blue hell on Fri Feb 05, 2021 9:10 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
wakyct



Joined: Dec 30, 2020
Posts: 105
Location: USA
Audio files: 12

PostPosted: Fri Feb 05, 2021 8:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

Very interesting, also I had never heard of the Ondes before. What a fascinating instrument!
Back to top
View user's profile Send private message
BobTheDog



Joined: Feb 28, 2005
Posts: 4044
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Sat Feb 06, 2021 12:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Good stuff, joining in for progress updates...
Back to top
View user's profile Send private message
clarionut



Joined: Feb 05, 2021
Posts: 6
Location: Cambridge UK

PostPosted: Sun Feb 07, 2021 2:19 am    Post subject: Reply with quote  Mark this post and the followings unread

A very quick update: I've now posted block diagrams of all of the custom electronics in the constuction notes PDF document on Thingiverse. The audio chain basically just plugs together (with a bit of soldering if you want audio output sockets) so I haven't included that. I just hope someone out there is interested enough to have a go themselves!

My next step will be to replace the raspberry Pi 3A+ with a 3B+. The extra USB ports will allow
1. keyboard input from a MIDI keyboard. This will need some changes to the server code (it won't need to read the keyboard via the MCP23S07 and send note messages to Pure Data any more) and handling of legato/claquement mode in PD. These changes will be pretty trivial.
2. use of a USB stick to hold MIDI files for playback, and the 4-channel WAV files from recording mode. This will need some code to automatically mount the USB stick when it's inserted, and a menu item on the LCD to eject it.

@Blue Hell - thanks for the welcome and fixing the links! I've now worked out how to embed URLs Embarassed
Back to top
View user's profile Send private message
clarionut



Joined: Feb 05, 2021
Posts: 6
Location: Cambridge UK

PostPosted: Wed Feb 10, 2021 8:25 am    Post subject: Update 10th February Reply with quote  Mark this post and the followings unread

I've added a circuit layout for the custom interface board to the construction notes on Thingiverse. I hope the details are right because I haven't built it yet! This version is intended to work with a MIDI keyboard rather than the switch-based keyboard of the prototype. I've just acquired a Korg microkey2-61 5-octave small-key keyboard and this looks very promising; the keybed is only a very little longer than the full size 4-octave keyboard of the first prototype. It's also easy to automount a USB stick (at least on Raspbian Buster), so pretty much everything is ready for prototype 2 running with a Raspberry Pi3B+. It will need some changes to both the Pure Data patch and the server code but these will be pretty trivial.

I just hope someone else will be tempted to have a go!

Last edited by clarionut on Wed Feb 10, 2021 11:53 am; edited 1 time in total
Back to top
View user's profile Send private message
BobTheDog



Joined: Feb 28, 2005
Posts: 4044
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Wed Feb 10, 2021 9:11 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm tempted Smile

It's just the time!

I was thinking of trying to get it going on the Organelle: https://www.critterandguitari.com/organelle
Back to top
View user's profile Send private message
clarionut



Joined: Feb 05, 2021
Posts: 6
Location: Cambridge UK

PostPosted: Wed Feb 10, 2021 11:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Interesting! I think it might be challenging to hook up the Ondes hardware to an Organelle, but I don't really know what's inside one.

My journey went in rather the opposite direction. The Ondes framboise started as an attempt to build an Arduino-based ribbon controller for an analogue synth. While I was struggling (and failing) with the analogue electronics side, I built an Organelle clone based on a Raspberry Pi to see if it could be done. That got me familiar enough with Pure Data and how to interface to the hardware that I realised I could build a complete Ondes rather than a 'simple' controller. I'd probably still be cursing op-amps if I'd stuck to the original plan!
Back to top
View user's profile Send private message
clarionut



Joined: Feb 05, 2021
Posts: 6
Location: Cambridge UK

PostPosted: Tue Feb 16, 2021 7:22 am    Post subject: Reply with quote  Mark this post and the followings unread

I've now uploaded a new version of the server code for the Ondes framboise on GitHub - ondes_server_M.c. This works with a MIDI keyboard rather than the switch-matrix keyboard of the original and handles the MIDI messaging and note priorities, so the Pure Data patch is unchanged from the original. On Raspbian Stretch the MIDI keyboard appears as /dev/snd/midiC1D0 - I've yet to find out if it's in the same place on Buster, so the code may need to be changed for this.

The construction notes (see here) on Thingiverse have now been updated with a more thoroughly tested version of the interface board layout. I hope this is now complete and correct (but no guarantees!).
Back to top
View user's profile Send private message
clarionut



Joined: Feb 05, 2021
Posts: 6
Location: Cambridge UK

PostPosted: Sun Feb 21, 2021 8:16 am    Post subject: Final update for the moment Reply with quote  Mark this post and the followings unread

The new interface board and the server code to work with a MIDI keyboard have both been tested in the Ondes and everything works as expected. I used a Korg microKEY2-61 with everything running on a Raspberry Pi 3B for the extra USB ports - which also allow an externally-mounted USB memory stick to be used to transfer MIDI data in to and WAV files out of the Ondes.

New mounts to attach the keyboard to the linear rails and a new vibrato stop are still needed but these are pretty trivial and whatever I design will not work for anyone using different keyboard. The Thingiverse and GitHub pages are now fully up to date. I don't think there's much more I can add at this point, but I'm very happy to answer any questions if someone does want to have a go building an Ondes framboise for themselves.

Last edited by clarionut on Sun Feb 21, 2021 12:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
wakyct



Joined: Dec 30, 2020
Posts: 105
Location: USA
Audio files: 12

PostPosted: Sun Feb 21, 2021 11:03 am    Post subject: Reply with quote  Mark this post and the followings unread

I was going to post this in Reddit's synthdiy but I saw you already did Smile. Super cool work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Developers' Corner
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use