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 » ChucK programming language
Getting information from sounds.
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
lorddust



Joined: Sep 01, 2006
Posts: 6
Location: VA

PostPosted: Fri Sep 01, 2006 3:05 pm    Post subject: Getting information from sounds. Reply with quote  Mark this post and the followings unread

Does anyone know how to get numerical data (like current freq/note) from a sound in chuck, namely from a sound File that chuck is playing or the adc?
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sat Sep 02, 2006 10:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi!

I don't think there is a standard Ugen that does this, maybe this could be on the wishlist in the future. Generally detecting pitch is a very hard thing to do. For very simple signals you could detect the time between zero crossings. For more complex sounds it very quickly becomes a much harder problem. Many implementations talk about being "pitch estimisation" instead of "pitch detection". It's a hard problem.

We do have a envelope follower on the list of upcoming goodies so at least you should soon be able to detect the volume of a sound.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 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 » ChucK programming language
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