Rubberband Updated (3.0)

Hey, I have updated the Rubberband tool in tools page. Also updated the rubberband binaries to the latest version from the upstream. Could someone please test this and let me know of the results in this thread!

http://www.renoise.com/tools/rubberband-timestretch-pitch-shift

2 Likes

Tested with several different types of samples and everything seems to be working fine here. Thanks for working on this tool Suva!

Nice! Thanks!)

Hurrah!

just tried - works fine !! thanks a lot Suva !!! for me it is one of the most important tools - great job

Thanks!

Is the version in SVN the same as the tools page?

  1. Load a short sample
  2. Select all, right click -> navigate to time stretch -> Click stretch
  
*** main.lua:97: variable 'real_stretch_factor' is not declared  
*** stack traceback:  
*** [C]: in function '_error'  
*** [string "local mt = getmetatable(_G)..."]:29: in function   
*** main.lua:97: in function 'process_stretch'  
*** main.lua:277: in function 'show_stretch_dialog'  
*** main.lua:26: in function <25><br>
<br>```

</25>

[quote=“Conner_Bw, post:7, topic:32341”]
Is the version in SVN the same as the tools page?

  1. Load a short sample
  2. Select all, right click -> navigate to time stretch -> Click stretch
  
*** main.lua:97: variable 'real_stretch_factor' is not declared  
*** stack traceback:  
*** [C]: in function '_error'  
*** [string "local mt = getmetatable(_G)..."]:29: in function   
*** main.lua:97: in function 'process_stretch'  
*** main.lua:277: in function 'show_stretch_dialog'  
*** main.lua:26: in function <25><br>
<br>```

<br>[/quote]<br>
<br>
Fixed the issue, thank you!</25>

aaah great :D:D:D

hi.

i used rubberband in the renoise 2.6 version and everything worked perfect.
know im using 2.7 and installed the rubberband for 2.7 and know always
when i try to stretch or change tempo, there comes:

“There is something wrong with installation or your system. Try reinstalling
the script or see Renoise error logs for more information.
This error may also be triggered when you are trying to make too heavy
stretch which overloads the system, if you can try again with more
reasonable input parameters.”

i tried reinstalling but didnt work. it seems that im the only one
with that problem. im a mac user.

is there an answer for that proplem?

Try:

  1. Exit Renoise
  2. Navigate to HD → /Users/YOURNAME/Library/Preferences/Renoise/V2.7.0/Scripts/Tools/
  3. Drag com.renoise.Rubberband.xrnx into the trash
  4. Download the latest version from: http://tools.renoise.com/tools/rubberband-timestretchpitch-shift
  5. Start Renoise
  6. Drag and drop new version into Renoise

Sort of like a “format and reinstall”, just to be sure.

i ve tried it out.
its still the same message coming up.

see Renoise error logs for more information.

  • Renoise → Help → Show The Log File
  • Double Click Renoise.log
  • Scroll to the bottom, paste the last few hundred lines so we can see what is going on.

here is the renoise.log:

Click to view contents

============================================================
Version : Renoise V2.7.0 (May 10 2011)
Date : 2011-05-14
Time : 22:19:23
OS : Mac OS X 10.5.8 (i386)

CPU: Found 1 enabled unit(s) with 2 core(s) / 2 logical processor(s) per unit. 2 cores are enabled in total.

Application: Showing the splash window…
Application: Initializing the API…

QuickTime: Initializing…
QuickTime: Successfully initialized…
QuickTime: Running QuickTime Version: 7698000

Graphport: Initializing Freeimage…

GraphPort: Initializing the Font Engine…

CoreAudio: Enumerating devices…
CoreAudio: ======== device enumeration: 1 of 5 ========
CoreAudio:
CoreAudio: — Device Input information —
CoreAudio: Driver name: EDIROL: EDIROL FA-66 (0054)
CoreAudio: SampleRate: 48000.000000
CoreAudio: mFormatID: ‘mcpl’
CoreAudio: Flags: 0x 9
CoreAudio: Bytes per packet: 4
CoreAudio: Frames per packet: 1
CoreAudio: Bytes per frame: 4
CoreAudio: Channels per frame: 1
CoreAudio: Bits per channel: 32
CoreAudio: Device audio buffers:
CoreAudio: Number of buffers: 6
CoreAudio: – Buffer 0 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 1 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 2 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 3 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 4 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 5 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: Total number of input channels: 6
CoreAudio:
CoreAudio: — Device Output information —
CoreAudio: Driver name: EDIROL: EDIROL FA-66 (0054)
CoreAudio: SampleRate: 48000.000000
CoreAudio: mFormatID: ‘mcpl’
CoreAudio: Flags: 0x 9
CoreAudio: Bytes per packet: 4
CoreAudio: Frames per packet: 1
CoreAudio: Bytes per frame: 4
CoreAudio: Channels per frame: 1
CoreAudio: Bits per channel: 32
CoreAudio: Device audio buffers:
CoreAudio: Number of buffers: 6
CoreAudio: – Buffer 0 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 1 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 2 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 3 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 4 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: – Buffer 5 –
CoreAudio: Number of channels: 1
CoreAudio: Size in bytes: 2048
CoreAudio: Total number of output channels: 6
CoreAudio: ======== device enumeration: 2 of 5 ========
CoreAudio:
CoreAudio: — Device Input information —
CoreAudio: Driver name: Apple Inc.: Built-in Microphone
CoreAudio: SampleRate: 48000.000000
CoreAudio: mFormatID: ‘mcpl’
CoreAudio: Flags: 0x 9
CoreAudio: Bytes per packet: 8
CoreAudio: Frames per packet: 1
CoreAudio: Bytes per frame: 8
CoreAudio: Channels per frame: 2
CoreAudio: Bits per channel: 32
CoreAudio: Device audio buffers:
CoreAudio: Number of buffers: 1
CoreAudio: – Buffer 0 –
CoreAudio: Number of channels: 2
CoreAudio: Size in bytes: 4096
CoreAudio: Total number of input channels: 2
CoreAudio:
CoreAudio: — Device Output information —
CoreAudio: Driver name: Apple Inc.: Built-in Microphone
CoreAudio: GetStreamFormat FAILED
CoreAudio: ======== device enumeration: 3 of 5 ========
CoreAudio:
CoreAudio: — Device Input information —
CoreAudio: Driver name: Apple Inc.: Built-in Input
CoreAudio: SampleRate: 44100.000000
CoreAudio: mFormatID: ‘mcpl’
CoreAudio: Flags: 0x 9
CoreAudio: Bytes per packet: 8
CoreAudio: Frames per packet: 1
CoreAudio: Bytes per frame: 8
CoreAudio: Channels per frame: 2
CoreAudio: Bits per channel: 32
CoreAudio: Device audio buffers:
CoreAudio: Number of buffers: 1
CoreAudio: – Buffer 0 –
CoreAudio: Number of channels: 2
CoreAudio: Size in bytes: 4096
CoreAudio: Total number of input channels: 2
CoreAudio:
CoreAudio: — Device Output information —
CoreAudio: Driver name: Apple Inc.: Built-in Input
CoreAudio: GetStreamFormat FAILED
CoreAudio: ======== device enumeration: 4 of 5 ========
CoreAudio:
CoreAudio: — Device Input information —
CoreAudio: Driver name: Apple Inc.: Built-in Output
CoreAudio: GetStreamFormat FAILED
CoreAudio:
CoreAudio: — Device Output information —
CoreAudio: Driver name: Apple Inc.: Built-in Output
CoreAudio: SampleRate: 48000.000000
CoreAudio: mFormatID: ‘mcpl’
CoreAudio: Flags: 0x 9
CoreAudio: Bytes per packet: 8
CoreAudio: Frames per packet: 1
CoreAudio: Bytes per frame: 8
CoreAudio: Channels per frame: 2
CoreAudio: Bits per channel: 32
CoreAudio: Device audio buffers:
CoreAudio: Number of buffers: 1
CoreAudio: – Buffer 0 –
CoreAudio: Number of channels: 2
CoreAudio: Size in bytes: 4096
CoreAudio: Total number of output channels: 2
CoreAudio: ======== device enumeration: 5 of 5 ========
CoreAudio:
CoreAudio: — Device Input information —
CoreAudio: Driver name: Apple Inc.: Built-in Input (Aggregated)
CoreAudio: SampleRate: 44100.000000
CoreAudio: mFormatID: ‘mcpl’
CoreAudio: Flags: 0x 9
CoreAudio: Bytes per packet: 8
CoreAudio: Frames per packet: 1
CoreAudio: Bytes per frame: 8
CoreAudio: Channels per frame: 2
CoreAudio: Bits per channel: 32
CoreAudio: Device audio buffers:
CoreAudio: Number of buffers: 1
CoreAudio: – Buffer 0 –
CoreAudio: Number of channels: 2
CoreAudio: Size in bytes: 4096
CoreAudio: Total number of input channels: 2
CoreAudio:
CoreAudio: — Device Output information —
CoreAudio: Driver name: Apple Inc.: Built-in Input (Aggregated)
CoreAudio: GetStreamFormat FAILED

CoreMIDI: Creating client ‘Renoise’…
CoreMIDI: Creating an input port…
CoreMIDI: Creating an output port…
CoreMIDI: Creating a virtual input port…
CoreMIDI: Enumerating devices…
CoreMIDI: Adding input device ‘EDIROL FA-66 (0054) (Plug 1)’
CoreMIDI: Adding output device ‘EDIROL FA-66 (0054) (Plug 1)’

ReWire Slave: ReWire shared library is already installed…
ReWire Slave: ReWire slave engine is already installed and up to date…
ReWire Slave: ReWire Panel was initialized…
ReWire Slave: ReWire Slave mode failed to init (no master is running)…

ReWire Master: Successfully opened

DspDevices: Registering native DSP effects…
DspDevices: Registering native plugin DSP effects…

Application: Creating the main application…
Application: Start running…
Application: Loading the preferences…

ScriptingTools: Initializing Scripting Tool: ‘/Users/leon/Library/Preferences/Renoise/V2.7.0/Scripts/Tools/com.renoise.Rubberband.xrnx/’…

Application: Init…

VSTPlugs: Searching for new VST plugins in ‘/Library/Audio/Plug-Ins/VST/’…

VstPlugs: Trying to instantiate ‘/Library/Audio/Plug-Ins/VST/WaveShell-VST 7.0.vst/Contents/MacOS/WaveShell-VST’…
VstPlugs: Plugin is a Mach-O executable…
VstPlugs: Analyzing VST plugin ‘Waves: hell-VST 7.0’, Unique ID:1802721110, Version:2400
VstPlugs: Instantiate OK
VstPlugs: CreateInstance succeeded
VstPlugs: Releasing /Library/Audio/Plug-Ins/VST/WaveShell-VST 7.0.vst/Contents/MacOS/WaveShell-VST…
VstPlugs: /Library/Audio/Plug-Ins/VST/WaveShell-VST 7.0.vst/Contents/MacOS/WaveShell-VST was released

CoreAudio: Using SampleRate 48000 (requested: 48000)…
CoreAudio: Output device buffer size: 480
CoreAudio: Intput device buffer size: 480
CoreAudio: Outtput device extra latency frames: 96
CoreAudio: Intput device extra latency frames: 10
CoreAudio: Using Latency 10.000000 - MaxBufferFrameSize: 480 (requested latency 10.000000)…
CoreAudio: Opening Capture Device 1 ‘Apple Inc.: Built-in Microphone’ (1 Stereo Channels)…
CoreAudio: Opening Playback Device 0 ‘EDIROL: EDIROL FA-66 (0054)’ (3 Stereo Channels)…
CoreAudio: Enumerating Input Channel Names…
CoreAudio: Input ChannelName 0 failed (not supported)
CoreAudio: Enumerating Output Channel Names…
CoreAudio: Output ChannelName 0 failed (not supported)
CoreAudio: Output ChannelName 1 failed (not supported)
CoreAudio: Output ChannelName 2 failed (not supported)
CoreAudio: Allocating Input Buffers…
CoreAudio: Allocating Output Buffers…
CoreAudio: Output IOProc was successfully installed…
CoreAudio: Input IOProc was successfully installed…
CoreAudio: Allocating Input Bufferlists…
CoreAudio: Start Input Device ‘Apple Inc.: Built-in Microphone’…
CoreAudio: Input Device is up and running…
CoreAudio: Starting Device EDIROL: EDIROL FA-66 (0054)…
CoreAudio: Output Device is up and running…
CoreAudio: Up and running

CoreMIDI: Trying to open the input device ‘EDIROL FA-66 (0054) (Plug 1)’
CoreMIDI: Successfully opened device ‘EDIROL FA-66 (0054) (Plug 1)’

Application: Creating a new document…

MIDI: Loading MIDI actions from file ‘/Renoise Registration/Renoise 2.7.0.app/Contents/Resources/Scripts/GlobalMidiActions.lua’…

Osc: Loading OSC actions from file ‘/Renoise Registration/Renoise 2.7.0.app/Contents/Resources/Scripts/GlobalOscActions.lua’…

Player: Constructing…
Player: Creating the slave threads…
Player: Start running…

GUI: Creating the Document GUI…
GUI: Successfully constructed

Application: A new document was created.

GraphPort: Initializing in FullscreenMode

Graphport: Running fullscreen at ‘0,0,1440,900’…

GraphPort: Successfully initialized

Application: Init OK
Application: Enter MainLoop…

here is the rubberband crashreport:

Process: rubberband [464]
Path: /Users/leon/Library/Preferences/Renoise/V2.7.0/Scripts/Tools/com.renoise.Rubberband.xrnx/bin/osx/rubberband
Identifier: rubberband
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: Renoise [462]

Date/Time: 2011-05-14 22:19:45.959 +0200
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: XXXXXXXXX

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
unknown required load command 0x80000022

The rubberband binary in this version appears to be compiled with special 64 bit Snow Leopard flags (10.6.X) and you are running (10.5.X). More info for the tec heads.

Are you OK at messing around in a text editor? If so open com.renoise.Rubberband/main.lua, go to line 69 and change

  
 exe = '"' .. renoise.tool().bundle_path .. 'bin/osx/rubberband"'  
  

To:

  
 exe = '/usr/bin/arch -i386 "' .. renoise.tool().bundle_path .. 'bin/osx/rubberband"'  
  

If this works, then Rubberband will need to be modified to check the OS version. Can be done with /usr/bin/sw_vers -productVersion

i ve changed it but it still not works…

Well, short answer is replace with old version of rubberband that works with OSX 10.5

Medium answer:

  1. In 1st window: /Users/YOURNAME/Library/Preferences/Renoise/V2.6.0/Scripts/Tools/com.renoise.Rubberband.xrnx/bin/osx/
  2. In 2nd window: /Users/YOURNAME/Library/Preferences/Renoise/V2.7.0/Scripts/Tools/com.renoise.Rubberband.xrnx/bin/osx/
  3. Copy old rubberband into new location

Long answer:
There are several solutions. Upgrade to Snow Leopard. Contact http://breakfastquay.com and complain about 10.5 compatibility. Variations of the /usr/bin/arch -i386 trick… I leave it to you to creatively solve this one.

ok.
thank you for spending time to this.
maybe it will work when i update to snow leopard someday…

This tool is so damn usefull. It should be implemented in next Renoise release :slight_smile:

This problem still remains. Can anyone suggest a solution for this? Report to upstream maybe?