From the original SynthMaker forum (2004–2014), with its members’ names and dates.
jonessy ·
Hello all,
Downloaded the SM trial, and I'm trying to do some basic DSP stuff, such as a first order FIR filter using low level coding.
But I'm not there yet.
To begin with, I'm simply trying to playback a wave file with no luck. This will allow me to test the algorithms in-situ, rather than exporting the schematics to VST or whatever.
Can anyone kindly provide a working and tested SM schematic that allows loading a file (f.e. song in wav format) and simply plays it back through the sound direct-out?
Best wishes,
SM newbie.
oddson ·
Smart-ass answer:
Plays only a fragment of a wave file and not at all what you really want but it does work as a sample file preview.
I'll post a serious answer shortly if no one beats me to it.
oddson ·
Less smart-ass answer:
The sample player in the toolbox has all the basic elements you'll need to understand but it may be a bit too much to start with.
Try this:
The wave loader is from the Wave Player (and likely found in others too) the code is a simple ramp that should re-trigger when a new wave is loaded.
It will play at the selected sample rate of your audio card without interpolating based on sample rate of the wave file.
After retriggering the code will output an constantly increasing index that the Wave Read uses to keep track of what sample it's reading and then it goes directly to the output.
The stock wave player then adds a number of features to this including accounting for playback sample rates that are different from the recorded file and transposing based on the note played.
Start with this, then start looking through the wave player and keep asking questions when you get stuck... but the Help form is more appropriate place for them.
jonessy ·
Thank you so much!
Works fine. I'll explore the schematics, but I think this is pretty much what I was looking for.
I just need this to see if I can demonstrate simple DSP stuff using the code module, like first & second order FIRs and IIRs.
So basically I just needed to playback something through the code block...
Cheers,
Jon.
oddson ·
I just needed to playback something through the code block...
Well then the first example is adequate. In fact I think that's why OutSim made it in the first place (it's been R&D status forever).
(EDIT - I guess I never read your first post very carefully as that is indeed what you said there. 😊 )
Wrote something here? To have a post removed or your name hidden, write to [email protected].