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 
 Forum index » DIY Hardware and Software » Microcontrollers and Programmable Logic
on board sounds
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Dimitree



Joined: Feb 09, 2011
Posts: 12
Location: Italy

PostPosted: Wed Feb 09, 2011 9:27 am    Post subject: on board sounds Reply with quote  Mark this post and the followings unread

hi everyone
this is my first topic here and I hope I haven't used the wrong section!
I'd like to know how it work a sound module like those used on board of some keyboards (for example M audio KeyStudio 49i). Is that a microcontroller loading recorded samples from a ROM, and playing them with a DAC? is every note recorded, or are them shifted? how about velocity and sustain? it's a compromise of quality-storage (more storege available, more samples, less shift, and so on?)
many thanks everyone
Dimitri
Back to top
View user's profile Send private message
Dan Lavin



Joined: Nov 09, 2006
Posts: 620
Location: Spring Lake, Mi, USA
Audio files: 21

PostPosted: Thu Feb 10, 2011 9:56 am    Post subject: Reply with quote  Mark this post and the followings unread

welcome

Welcome to the E-M Forum!

yes, that's basically how they work. They generally have a limited amount of samples and do some stretching to cover in between notes. Velocity can be covered by different samples or an algorithm to change harmonics. If you google "rompler" you'll probably get a better explanation. This technology is 20 years old now (Emu Proteus and soundblasters)

_________________
Synth DIY since 1977!
Back to top
View user's profile Send private message
Dimitree



Joined: Feb 09, 2011
Posts: 12
Location: Italy

PostPosted: Thu Feb 10, 2011 12:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

many thanks Smile
is the stretching performed with DSP hardware? or there are other simpler technics? is this different than wavetable synthesis?
Back to top
View user's profile Send private message
Dan Lavin



Joined: Nov 09, 2006
Posts: 620
Location: Spring Lake, Mi, USA
Audio files: 21

PostPosted: Thu Feb 10, 2011 2:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Not sure how they stretch, but wavetable synthesis is what it is.
_________________
Synth DIY since 1977!
Back to top
View user's profile Send private message
Dimitree



Joined: Feb 09, 2011
Posts: 12
Location: Italy

PostPosted: Fri Feb 11, 2011 7:11 am    Post subject: Reply with quote  Mark this post and the followings unread

is this something DIY-able (maybe a DSPic with SD card support and good DAC)? I know buying a EMU rack would be cheaper and easier, but the fun would disappear Very Happy
Back to top
View user's profile Send private message
Dan Lavin



Joined: Nov 09, 2006
Posts: 620
Location: Spring Lake, Mi, USA
Audio files: 21

PostPosted: Fri Feb 11, 2011 2:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dimitree:

We already did this back in 2007!:

http://electro-music.com/forum/topic-21634.html

_________________
Synth DIY since 1977!
Back to top
View user's profile Send private message
Dimitree



Joined: Feb 09, 2011
Posts: 12
Location: Italy

PostPosted: Mon Feb 14, 2011 8:24 am    Post subject: Reply with quote  Mark this post and the followings unread

many thanks! looks great, I will study it to understand if it fits my needs!
I was wondering, digital pianos like clavinova work like a pure rompler?
how poliphony is achieved in software? mixing the waves of 2 or more files?
I saw that software samplers like Kontakt or Sampletank use 1 sample for each pair of notes (more or less), so there's a minimum amount of stretching, while, if I understood good wavetable synthesis uses just 1 waveform and stretch it for every note. is it right?
Back to top
View user's profile Send private message
egasimus



Joined: Feb 11, 2011
Posts: 112
Location: Bulgaria

PostPosted: Tue Feb 15, 2011 6:04 am    Post subject: Reply with quote  Mark this post and the followings unread

the very "best" way, if you're going in that direction is to have one or even multiple samples for each note. but that's sampling. wavetable synthesis is a compromise, and the "best" wavetable synthesis is the best compromise you can get between availabe memory, processing power, sample rate, etc. you could use a wavetable synthesizer instead of a VCO - that would let you use non-standard waveforms.

http://elm-chan.org/works/mxb/report.html

check this out, too. built one a year ago, works great.


28612_1330960999274_1388488725_30896829_2458666_n.jpg
 Description:
Custom-built wavetable music box. Behind the mask there's a perfboard with an ATtiny85, a 2032 coin cell, and little else. Note the ingenious amplification solution (metal bell on top of the speaker).
 Filesize:  110.66 KB
 Viewed:  93 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

28612_1330960999274_1388488725_30896829_2458666_n.jpg


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [8 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 » Microcontrollers and Programmable Logic
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