SynthMaker

What does Wave Table Read want?

Archive · 2006 11 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

inverseroom ·

I posted this in SOUND originally, but perhaps this is where it belongs...what exactly do I need to drag into the Wave Table Read module to get it to accept it? I've chopped a single cycle of a waveform out of a 16/44.1 WAV file...but my searches here seem to indicate it's looking for a 256x256 wavetable. How do I convert my wave to this format?

stefan ·

You should first create the table using the Wave Table component. This however doesn't take an buffer as an input, so you'd have to convert the buffer (that you've loaded with the Wave File component) to an array. This can be done by creating an array with the Float Array component and then propagate over the values from the buffer into the array.

inverseroom ·

Oh my...Stefan, I don't understand that at all. I'm a pretty quick study & I'm sure I can do it, but is there a tutorial up anywhere on this subject? This is literally my first week on the software and I'm just groping around in the dark.

I realize you have better things to do than advise newbies on simple operations...so I appreciate your help here...

Interestingly enough, BTW, in desperation last night, I just opened up the Audacity file with the waveform in it and hand-drew a version of it in wave draw. And damned if it didn't sound pretty similar...it could be interesting to allow wave draw to accept a .bmp or .tif or something eventually...

angstrom ·

I just uploaded a file to the wiki

[old link]

no time to explain but it should do what you want.

stefan ·

\o/

inverseroom ·

thanks, angstrom, this is great! I'll give it a try this evening. I was thinking of asking Stefan for a screenshot, but this is even better...I'll peek inside and see how it's done. 🙂

TheAudiophileDutchman ·

Hi there guys, 🙂

Excellent thread! To take things one step further, I would like to know how to implement 'perfect' wavetable extraction from samples within SM. Or, to put it like this, what functionality/inputs-outputs would be needed (if any) to make this programmable by SM users?

A workflow description could look like this:

1. Determine the fundamental frequency of the sample (e.g. using one of Sambean's SM algorithms) at the position where the wavetable is to be extracted and cut-out exactly one cycle (period).

2. Periodically extend this one-cycle in such a way that phaselocking of adjacent wavetables is guaranteed.

3. Extract the one-cycle wavetable from the periodically extended wave snippet by resampling.

Reference: 😇 http://www.musicdsp.org/files/Wavetable-101.pdf

TheAudiophileDutchman ·

Hi inverseroom, 🙂

I tried Angstrom's method: loading a MONO 16bit sample into the wavetable, coming from the 'female mellotron choir'-library (which I used earlier to demonstrate the use of a wave array). For me this worked fine, except for not exactly yielding a one-cycle wavetable of course (given the currently fixed number of 256 points). 😉

TAD

inverseroom ·

TheAudiophileDutchman wrote: Hi inverseroom, 🙂

I tried Angstrom's method: loading a MONO 16bit sample into the wavetable, coming from the 'female mellotron choir'-library (which I used earlier to demonstrate the use of a wave array). For me this worked fine, except for not exactly yielding a one-cycle wavetable of course (given the currently fixed number of 256 points). 😉

TAD

I'll mess around some more, then, and see if I can get results. Did you first cut your sample down to one cycle?

If you have a moment, post a screenshot! I may be missing some fundamental link in the equation that is obvious to all you experienced users...

angstrom ·

I didn't bother cutting my waves down, as the OSM will only take the first 256 chunk anyway (as I remember).

it's not ideal for multisamples btw - more for amusing waveforms for synths.

I seem to remember some kind of multisample thing by the audiophiledutchman somewhere - the EA forum?

inverseroom ·

Yeah, I'm not so interested in using them as multisamples...I've got Kontakt for that. I just want waveforms that are in the general spirit of the ones the sampled synth or organ in question makes. To that end, I could just use wave draw I suppose...but this solution seems so elegant...if in fact I can get it to work. 😉

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.