electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
Live streaming at radio.electro-music.com

  host / artist show at your time
  Jez Adventures in Sound
Please visit the chat
 Forum index » DIY Hardware and Software » Developers' Corner
Simple DIY dsPIC Project
Post new topic   Reply to topic Moderators: DrJustice
Page 6 of 6 [136 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3, 4, 5, 6
Author Message
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Wed Aug 21, 2013 4:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok... one more... better EQ I think.... anyway, it's the same content, just with some bass boost and treble boost.


10230818_both_4.mp3
 Description:
Ninja Harp and Jovian Floot

Download
 Filename:  10230818_both_4.mp3
 Filesize:  2.03 MB
 Downloaded:  82 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Thu Sep 05, 2013 4:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've written a 4 string Karplus-Strong bass synth that will run on the same board as the Floot synth (floot is an additive flute synth).
So far, the project compiles and seems to fit into the chip.
I used the Ninja Harp (Harpie) synth code as a basis for the code for this synth.
To get the octave down I needed, I simply replaced the 4x oversampling code with 2x oversampling.
That freed up clocks needed to run the MIDI controller and voice assigner.
This synth will run at approximately 56 kHz DAC sample rate (112 kHz internal sample rate)

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Sun Sep 15, 2013 4:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

The Jovian Floot now has 2 pots connected to it. There are also significant firmware improvements.

One pot controls "air". Air is also controlled by velocity. The other pot controls portamento time. If the portament time is turned to maximum speed, portament is essentially "off".

Here is a demo duet of the new Floot. It was done using the instrument overdubbed onto itself and then reverb was added.

Floot Duet #001

Quote:
This started out as a test of my single dsPIC MIDI synthesizer board.

The instrument used is called Floot, or a Floot.

It is a bastardized additive synthesizer in that there are three sound sources, a high quality sine wave, a distorted sinewave and a high quality sine wave an octave above the other. It might be disqualified as an additive synth except that the distorted sine wavetable is still composed of a sum of other sinewaves. There is no filter in the audio path in this synthesizer.

It uses pretty much all of the dsPIC except for a small amount (about 1 MIP) for the MIDI controller.

The three sound sources are mixed according to performance directives given through velocity and mod wheel. The synth also has controls for portamento and "air".

There is some pitch bending in the piece, this was done via pitchwheel, the synth has a plus or minus one semitone pitchwheel range. The synth is also capable of portamento.

As I played around with the instrument, I decided to record it. Then I laid down another track using the same instrument. Afterward I added the gverb reverb effect. Here is what came out. Sorry - yes, it is essentially mono.


Among other things, the Floot mono synth contains:
High Resolution Portamento filter
3 NCO with wavetable outputs
High Quality Noise Source
3 single pole lowpass filters
3 ADSRs
3 NCAs
3 interpolators

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Fri Sep 20, 2013 1:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've just today finished most of the development of another synthesizer that runs on the same board as the Floot (which uses a single dsPIC for both MIDI controller and voice engine). It is a Karplus-Strong bass synth. 4 strings are implemented.

The voice engine is a modified version of the voice engine code in the Ninja Harp (aka Harpie) which is 8 voices and uses 3 dsPICs. The bass synth operates at one octave below the Ninja Harp.

This demonstrates the power of the dsPIC (at least for my coding) to be capable of about 4 "voices". I use "voices" in quotes because it can mean either 4 polyphonic (but rather simple) voices or 4 "oscillators", "sound generators" or whatever you like to call them. Much depends on the complexity of modulation and other factors, but it seems that a single dsPIC is a viable candidate for a decent sounding small architecture synthesizer. Both the Floot and the Bass utilize most of the dsPIC for voicing and a fraction (something around 1 MIPS) for the MIDI controller.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Thu Nov 21, 2013 6:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've been busy. I have a dsPIC33F design that is a 4 voice MIDI Karplus-Strong synth with pitch bend.

Here is a sample of it. Pitch bend is programmed for +/- 2 semitones in the sample. I play some 5th stuff with pitch wheel motion, then move up an octave and do it again. Each set of notes uses 3 of the 4 voices available.


fractional_resampled_KS_demo_001.mp3
 Description:
Karplus-Strong with pitch bend demo

Download
 Filename:  fractional_resampled_KS_demo_001.mp3
 Filesize:  654.37 KB
 Downloaded:  78 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Fri Nov 22, 2013 9:16 am    Post subject: Reply with quote  Mark this post and the followings unread

After counting clock cycles, it appears that there is enough CPU left for an additional 2 strings for a total of 6 strings (in one dsPIC). 6 strings would leave about 10% (4 MIPS of 40) of the CPU for the MIDI controller and voice assigner. This is more than enough processing power. The DAC sample rate is 48.x kHz.
_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Fri Nov 22, 2013 3:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

The conversion to 6 voices was successful. The following sample demonstrates polyphony as well as the pitch wheel. This piece is done on one instrument which is built around a single dsPIC IC. No effects were used to process the audio.


fractional_resampled_KS_demo_002.mp3
 Description:
6 Voice Single dsPIC MIDI Karplus-Strong Synth Demo (with pitch wheel)

Download
 Filename:  fractional_resampled_KS_demo_002.mp3
 Filesize:  1.54 MB
 Downloaded:  74 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
elmegil



Joined: Mar 20, 2012
Posts: 1440
Location: Chicago
Audio files: 14

PostPosted: Fri Nov 22, 2013 5:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

That sounds awesome Scott Smile
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20473
Location: The Netherlands, Enschede
Audio files: 147
G2 patch files: 318

PostPosted: Fri Nov 22, 2013 7:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

It does!
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Fri Nov 22, 2013 7:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Another version of the same tune. This time, I added a little bit of reverb and I was twiddling the KS timbre knobs. I also changed the pitch bend table so that above mid point, it moves pitch up by 3 semitones, but below midpoint, it moves pitch down by 2 semitones. I find this more useful than up 2 and down 2. Anyway, have a listen.


fractional_resampled_KS_demo_003.mp3
 Description:
Fractional Resampled KS Demo with timbre knob twiddling and new pitch wheel table.

Download
 Filename:  fractional_resampled_KS_demo_003.mp3
 Filesize:  1.7 MB
 Downloaded:  77 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Thu Nov 28, 2013 10:04 am    Post subject: Reply with quote  Mark this post and the followings unread

I've added a pitch envelope for a more natural sound. As a guitar player, I've noticed that when strings are plucked or pulled with a lot of force, the string will start resonating at a slightly higher pitch than with light force. I am assuming this is because the string is initially stretched before releasing it.
_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 6 of 6 [136 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3, 4, 5, 6
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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