SynthMaker

Wave Player -> Wave Draw Osc

Archive · 2009 10 old posts

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

Dave ·

Hi,

is there a way to convert .wav-files (one-cycle-waveforms) to the Wave Draw Osc?

I'm looking for a way to reduce the loading time of my synth... so perhaps the solution is to convert the .wav-files into .txt-files readable for the Wave Draw Osc?

Thanks, Dave

AngularMomentum ·

There is a converter in the WIKI. Note that it only renders the first 256 or 512 samples of the wavefile. You might need to mod it to render bigger wavetables.

Dave ·

Do you mean this one?

[old link]

Seems like it's not possible to increase the samples easily by changing the value...

Also there's no way to save the generated wav:(

And what about such "long" waves like in the attachment?

Thanks, Dave

nix ·

Hey man, Turn your waves into float arrays with array min/max and then they can be text I think? I'll make an .osm if you need it:)

Dave ·

nix wrote: I'll make an .osm if you need it:)

Would be nice! You can use my example .wav-file above.

This would also decrease the filesize of a .dll and the loading time of the plugin i think.

nix ·

Here is an oscillator by AM. It loads text and wave and also saves them. If you like hook up the float array out of a wavedraw to the replace float array input. Then double click the led and it will open it hopefully. Any problems let me know!

going over things I see this isn't quite what you wanted. I'll check the wavedraw. Anyway, I think the conversions are in it. Sorry, watch this space

Dave ·

Seems like it's not possible to convert .wav-waveforms into .txt-files for the wave draw osc.

The reason is simple: The wave draw oscs needs always a fixed size like 512 or 1024 samples... but all my .wav-files got different sizes/lengths.

This means the wave draw osc must handle .txt-files with different sample-legths too...

aliasant ·

Dave wrote: Seems like it's not possible to convert .wav-waveforms into .txt-files for the wave draw osc.

The reason is simple: The wave draw oscs needs always a fixed size like 512 or 1024 samples... but all my .wav-files got different sizes/lengths.

This means the wave draw osc must handle .txt-files with different sample-legths too...

You could always open your wavefile in a good audio editor and pitch it so that it has the exact length that you need. eg. 1024 samples.

nix ·

What you can do also is use the float array resample to change the length of your wavs? I'll include it in the next .osm today. Cheers I'll also see about the wavedraw length it can handle

nix ·

Here is more what you are after. It's kinda neat coz you can load a wave and then edit with the draw?

Let me know if any probs. I can imagine maybe long waves will slow a system if they're converted to displayed strings anywhere.

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.