Using wav files as samples



  • Hi,
    As you may have gathered from my previous questions, this is all very new to me!
    Completed the tutorial and now want to move on to try supplying my own sample wav files instead of the Music Box samples as a test. I have an old pedal organ, from which I have recorded a series of individual notes as separate wave files, with names such as Organ_C.wav, Organ_Csharp.wav and so on for a total of 12 individual files over an octave.
    I have created a new test project and copied these wav files into the samples folder and then tried to import them into the HISE sampler in the same manner that the Music Box samples were added in the tutorial. But the results are garbage!
    Is there a particular naming convention I should be using for each file?
    I followed through the Youtube video suggested in another post about rendering samples using Reaper, but the end result of that video seemed to be a series of wav files similar to my own.
    When I import my wav files into my test project they sound very much like the music box samples and not at all like the originally recorded wav files from the pedal organ.....
    Does anyone have any clues which could help me over this hurdle please?
    Thanks.....


  • administrators

    For note names you should either use the direct MIDI numbers (0 .. 127, 48 is C2), or the naming convention C1, C#1, D#1, ... B1, C2 (these are the standard strings for MIDI note names in almost every context).

    Apart from that, you should be able to load your samples just fine. If they sound like the Musicbox Samples, it is most likely that you still somehow load the Musicbox samples - it's not that HISE magically alters any sample to sound like the MusicBox 🙂



  • Thankyou very much! Appreciate you taking the time to answer my dumb questions...
    Have now renamed the files to PedalOrgan_C3_0_127.wav and so on and successfully imported them into the sample map in HISE, so now I know how to do that.....
    The next step is to add some effects etc. as in the tutorial and maybe create a simple user interface whereby I could add some controlled reverb, also as in the tutorial....
    Obviously I only have recorded a single octave at this stage for testing - each wav file has to be cleaned up to remove extraneous noises such as clicks and wheezes from the pedals and bellows but I'm well on the way now....
    Ideally I would like to create a user interface (for my own use only) whereby I could add in the various stops from the organ (its a very ancient one and has stops for such effects as 'Vox Humana', 'Bass Coupler', 'Treble Coupler' etc.....)
    I presume I will need to record each note in turn with these stops applied, which will lead to a pretty large number of samples.... Without delving into specifics (which I'll need to do at a later stage) is it possible to select which set of samples (eg relating to a specific organ stop) are played through the user interface? In other words, use an interface control to select a specific set of wav files?
    Many thanks again for your time and patience....


  • administrators

    This is precisely what sample maps are used for.

    1. Load and map a sample set in a sampler.
    2. Save it as SampleMap (with optional lossless compression)
    3. Switch between different sample maps using scripting calls.

    The procedure is pretty straightforward, but I think I need to make a dedicated tutorial about this - you're not the first one to ask how it works 🙂



  • Thanks again Christoph - thought there would be a way of doing it. I now have 3 sets of samples from selected organ stops, but would appreciate some advice as to how to call each SampleMap from a user interface, but don't get distracted by this - you have better ways to spend your time, I'm sure 🙂


  • administrators

    I've uploaded a tutorial for samplemaps here:

    https://github.com/christophhart/hise_documentation/blob/master/SampleMaps.md

    Let me know if this works for you.



  • With this exact method do you still have to select the sample map in the combo box every time before saving? I was hoping it would just save the one that's loaded. Either way thanks!



  • Thanks Christoph - didn't expect you to produce this tutorial so quickly 🙂
    I'm a bit tied up for the next couple of days stacking firewood for the coming winter, but as soon as I get a chance I'll go through the tutorial and do some experimenting.....
    Thanks again!


Log in to reply
 

2
Online

315
Users

914
Topics

5.9k
Posts

Looks like your connection to Forum was lost, please wait while we try to reconnect.