Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3979902
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:13:37+00:00 2026-05-20T05:13:37+00:00

What I think I need to do is create some code that lets me

  • 0

What I think I need to do is create some code that lets me read in a bunch of raw sound files (ie a complete sound font for say a guitar), processes these files (to construct chords), and outputs the result as another set of files.

My question: can anyone point me to some code that does something close to this task, that would save me from having to do everything from scratch?

EDIT: answer below have suggested I use garage band which I have had a look at. it looks like a great tool. I can construct my 24 chords on garage band. but then I need to save it as MIDI, and write my own code to process this midi file, adjusting the volumes of individual notes, save it, then feed it back through garage band recording the sound. Can anyone point me to some code that would get me started processing midi thus?

Sam

PS if it is of any interest, this is what I am working on:

http://imagebin.org/125562

The difficulty I face is how to voice the chords… if I just do {C4 E4 G4} for the C major chord, and {G4 B5 D5} for G, etc, it is going to sound horrible

A pianist simply doesn’t move from C to G like that. There is an art to voicing, so that each note attempts to move a minimal distance to its new resolution.

And I can’t see any formula for depicting this in a way that is key agnostic.

So I am attempting instead to play all Cs Es and Gs, to create a sound texture for ‘C major’

If I put all of the respective amplitudes under a bell curve, each major or minor chord should have its energy centred around the same point, so the effect would be that the texture changes without giving any overt / crude impression of moving up / down

Does this make some sense now? The task becomes: how to construct 24 textures?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:13:37+00:00Added an answer on May 20, 2026 at 5:13 am

    You could probably peruse Stephan Bernsee’s example code that comes with his free Dirac LE time stretching library. It has two classes, EAFRead and EAFWrite that read/convert/write audio files. You can get it from http://dirac.dspdimension.com. Check out the mobile/iOS folder that comes with the library. You can simply replace the call to his library with anything you want (like sample rate conversion to transpose sound, check out http://www.musicdsp.com for hints/code that does this).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a script that automatically setup a ssh tunnel. I think
Lets say I have the following MySQL structure: CREATE TABLE `domains` ( `id` INT(10)
I need to think about performance limitations of 100 mbps ethernet (including scenarios with
I think in this case there is no need to declare a public constructor
I need to provide email sending and receiving capabilities within my java web-application. Think
I don't think this is possible, but if is then I need it :)
I'm just starting out with the whole ajax thing and I need some help.
I think the file that is produced is an .asm file, any idea how
I have a view that takes a Ruby Date, performs some formatting on it
I want to create a custom page that has tournament brackets instead of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.